:root {
    --background: rgba(30, 31, 34, 0.95);
    --accent: #7289DA;
    --hover: #5865F2;
    --text-color: #FFFFFF;
    --card-bg: rgba(44, 47, 51, 0.85);
    --border-radius: 8px;
    --scrollbar-bg: #202225;
    --scrollbar-thumb: #5865F2;
    --scrollbar-thumb-hover: #7289DA;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

.dashboard-container {
    text-align: center;
}

/* User Info */
#user-info {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Scrollable Guild List */
#guild-scroll {
    width: 1000px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--card-bg);
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar */
#guild-scroll::-webkit-scrollbar {
    width: 8px;
}

#guild-scroll::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: 10px;
}

#guild-scroll::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
}

#guild-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Remove default list styles */
#guild-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none; /* Removes default bullet points */
    justify-content: center;
}

/* Separator for different server sections */
.guild-separator {
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

/* Guild item styling */
.guild-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 16px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

/* Server button styles */
.guild-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--text-color);
    padding: 10px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    width: 100%;
    justify-content: flex-start;
}

.guild-button:hover {
    background: var(--hover);
}

/* Disabled button styling */
.disabled-button {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

/* Guild Icon */
.guild-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Logout Button */
#logout-button {
    display: block;
    margin-top: 15px;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background 0.3s;
}

#logout-button:hover {
    background: var(--hover);
}
