body {
    background: linear-gradient(to bottom right, #2b2b2b, #0a0a0a);
    color: white;
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 80%;
    max-width: 800px;
}

h1 {
    text-align: center;
    color: #3498db;
}

.user-card {
    width: calc(100% - 20px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    margin: 10px;
    text-align: center;
    border: 2px solid #00bcd4; 
    box-sizing: border-box; 
}

.user-card:hover {
    transform: scale(1.05);
}

.user-avatar {
    text-align: center;
}

.user-avatar img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
}

.user-status {
    white-space: normal;
    word-wrap: break-word;
}

.role-section {
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    animation: rainbowBorder 5s infinite linear; 
}

@keyframes rainbowBorder {
    0% {
        border: 2px solid #ff0000; 
    }
    16.666% {
        border: 2px solid #ff7f00; 
    }
    33.333% {
        border: 2px solid #ffff00; 
    }
    50% {
        border: 2px solid #00ff00; 
    }
    66.666% {
        border: 2px solid #0000ff;
    }
    83.333% {
        border: 2px solid #4b0082;
    }
    100% {
        border: 2px solid #9400d3;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-message {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

