/* Server Dashboard Styles - Unified Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scrollbar-width: none !important;
}

body::-webkit-scrollbar {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 800px;
    margin: 15px auto;
    padding: 12px;
    background-color: #A0826D;
    flex: 1;
    width: 100%;
    border: 2px solid black;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* Breadcrumb */
.blk-breadcrumb {
    font-size: 16px;
    color: #333333;
    margin: -12px -12px 12px -12px;
    padding: 12px 20px;
    background-color: #8B4513;
    border-bottom: 2px solid black;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}

.blk-breadcrumb-current {
    color: #ffeb3b;
    font-weight: 700;
}

/* Dashboard Section */
#server-dashboard {
    margin: 0;
}

.dashboard-header {
    background-color: #fbfbfa;
    border: 2px solid black;
    padding: 12px 15px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    margin-bottom: 12px;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 20px;
    color: #1a1a1a;
    margin: 0;
    font-weight: 800;
}

.subtitle {
    text-align: center;
    color: #666;
    margin: 0;
    font-size: 14px;
}

.dashboard-content {
    background-color: #f3ede1;
    border: 2px solid black;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}

.stat-card {
    background-color: white;
    border: 2px solid black;
    padding: 15px;
    text-align: center;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    word-break: break-word;
}

/* Info Panel */
.info-panel {
    background-color: white;
    border: 2px solid black;
    padding: 15px;
    margin: 0;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.info-panel h3 {
    color: #8B4513;
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.info-value {
    color: #666;
    text-align: right;
    word-break: break-all;
}

/* Players Section */
.players-section {
    background-color: white;
    border: 2px solid black;
    padding: 15px;
    margin: 0;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.players-section h3 {
    color: #000000;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 8px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
}

/* Whitelist Section */
.whitelist-section {
    background-color: white;
    border: 2px solid black;
    padding: 15px;
    margin: 0;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.whitelist-section h3 {
    color: #8B4513;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 8px;
}

.whitelist-btn {
    background-color: #2ac97a;
    color: white;
    border: 2px solid #000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.1s;
    text-transform: uppercase;
}

.whitelist-btn:hover {
    background-color: #1da35f;
}

.whitelist-btn:active {
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    transform: translateY(2px);
}

.player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f5f5f5;
    border: 2px solid #000000;
    padding: 10px;
}

.player-card img {
    width: 64px;
    height: 64px;
    border: 2px solid #8B4513;
    background-color: #fff;
    image-rendering: pixelated;
    margin-bottom: 8px;
}

.player-card p {
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        margin: 10px;
    }

    .dashboard-header h1 {
        font-size: 1.8rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .info-value {
        text-align: left;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }

    .player-card img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 8px;
    }

    .player-card {
        padding: 8px;
    }

    .player-card img {
        width: 48px;
        height: 48px;
    }

    .player-card p {
        font-size: 0.75rem;
    }
}


