/* ============================================================
   Rust Server Admin Panel – Complete Stylesheet
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary:    #0f1117;
    --bg-secondary:  #161822;
    --bg-card:       #1a1d2e;
    --bg-hover:      #222640;
    --bg-input:      #1e2235;
    --border-color:  #2a2e45;
    --border-light:  #333755;
    --text-primary:  #e4e6f0;
    --text-secondary:#8b8fa8;
    --text-muted:    #5c6080;
    --accent-blue:   #5b7ff5;
    --accent-green:  #34d399;
    --accent-orange: #f59e0b;
    --accent-red:    #ef4444;
    --accent-purple: #a78bfa;
    --accent-cyan:   #22d3ee;
    --discord-blue:  #5865F2;
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --radius:        10px;
    --radius-sm:     6px;
    --shadow:        0 4px 24px rgba(0,0,0,0.25);
    --shadow-sm:     0 2px 8px rgba(0,0,0,0.2);
    --transition:    all 0.2s ease;
}

html { font-size: 14px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: #7b9aff; }

img { max-width: 100%; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Layout ───────────────────────────────────────────────── */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-item.active {
    color: var(--accent-blue);
    background: rgba(91, 127, 245, 0.08);
    border-left-color: var(--accent-blue);
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-avatar-default {
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.admin-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.sidebar-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ── Main Content ─────────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: var(--topbar-height);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    flex: 1;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-badge {
    background: var(--bg-hover);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-area {
    flex: 1;
    padding: 28px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header h2 i {
    color: var(--accent-blue);
}

.card-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-body {
    padding: 20px;
}

.card-body.p-0 { padding: 0; }

.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }

/* ── Stats Grid ───────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-icon.bg-blue   { background: rgba(91,127,245,0.15); color: var(--accent-blue); }
.stat-icon.bg-green  { background: rgba(52,211,153,0.15); color: var(--accent-green); }
.stat-icon.bg-orange { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.stat-icon.bg-red    { background: rgba(239,68,68,0.15);  color: var(--accent-red); }

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ── Quick Actions ────────────────────────────────────────── */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.quick-action-btn:hover {
    background: var(--bg-hover);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 1.5rem;
}

/* ── Tables ───────────────────────────────────────────────── */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.8rem; }
.text-nowrap { white-space: nowrap; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.badge-action   { background: rgba(91,127,245,0.15); color: var(--accent-blue); }
.badge-success  { background: rgba(52,211,153,0.15); color: var(--accent-green); }
.badge-warning  { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.badge-danger   { background: rgba(239,68,68,0.15);  color: var(--accent-red); }
.badge-info     { background: rgba(34,211,238,0.15); color: var(--accent-cyan); }
.badge-secondary{ background: rgba(92,96,128,0.2);   color: var(--text-muted); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary   { background: var(--accent-blue);   color: #fff; }
.btn-primary:hover   { background: #4a6ee4; color: #fff; }
.btn-success   { background: var(--accent-green);  color: #0f1117; }
.btn-success:hover   { background: #2bc48a; color: #0f1117; }
.btn-warning   { background: var(--accent-orange); color: #0f1117; }
.btn-warning:hover   { background: #e08e0a; color: #0f1117; }
.btn-danger    { background: var(--accent-red);    color: #fff; }
.btn-danger:hover    { background: #dc3535; color: #fff; }
.btn-info      { background: var(--accent-cyan);   color: #0f1117; }
.btn-info:hover      { background: #1bc0d4; color: #0f1117; }
.btn-dark      { background: var(--bg-hover);      color: var(--text-secondary); }
.btn-dark:hover      { background: var(--border-light); color: var(--text-primary); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-discord {
    background: var(--discord-blue);
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius);
    width: 100%;
    justify-content: center;
}
.btn-discord:hover {
    background: #4752c4;
    color: #fff;
}
.btn-discord svg {
    flex-shrink: 0;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(91,127,245,0.15);
}

.form-control-sm {
    padding: 6px 10px;
    font-size: 0.8rem;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8fa8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
}

.input-group .btn {
    flex-shrink: 0;
}

.search-form .input-group {
    max-width: 600px;
}

.filter-form {
    display: flex;
    gap: 8px;
}

.form-settings {
    max-width: 400px;
}

/* ── Server Cards ─────────────────────────────────────────── */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.server-card:hover {
    border-color: var(--border-light);
}

.server-card-header {
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.server-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.server-node {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.server-node i { margin-right: 4px; }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-online   { background: rgba(52,211,153,0.15); color: var(--accent-green); }
.status-offline  { background: rgba(92,96,128,0.2);   color: var(--text-muted); }
.status-starting { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.status-stopping { background: rgba(239,68,68,0.15);  color: var(--accent-red); }

.server-metrics {
    padding: 16px 20px;
}

.metric {
    margin-bottom: 12px;
}

.metric:last-child { margin-bottom: 0; }

.metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-fill.bg-blue   { background: var(--accent-blue); }
.progress-fill.bg-green  { background: var(--accent-green); }
.progress-fill.bg-orange { background: var(--accent-orange); }

.server-actions {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.1);
}

/* ── Player Management ────────────────────────────────────── */
.player-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.detail-item {
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.action-panel {
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.action-panel h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Ban Lists ────────────────────────────────────────────── */
.ban-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.ban-list-card {
    cursor: pointer;
    transition: var(--transition);
}

.ban-list-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.ban-list-card .card-body {
    text-align: center;
    padding: 28px 20px;
}

.ban-list-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(91,127,245,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.ban-list-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ban-list-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* ── Wipe Placeholder ─────────────────────────────────────── */
.wipe-placeholder {
    text-align: center;
    padding: 40px 20px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(92,96,128,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
}

.wipe-placeholder h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.placeholder-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-feature {
    padding: 16px;
    background: var(--bg-input);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.placeholder-feature i {
    font-size: 1.3rem;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.modal-lg { max-width: 900px; }

.modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover { color: var(--text-primary); }

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination-wrap {
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.pagination {
    display: flex;
    gap: 4px;
}

.page-link {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.page-link.active {
    background: var(--accent-blue);
    color: #fff;
}

/* ── Empty / Loading States ───────────────────────────────── */
.empty-state, .loading-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state i, .loading-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.loading-state i {
    color: var(--accent-blue);
}

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--accent-red);
}

.alert-success {
    background: rgba(52,211,153,0.12);
    border: 1px solid rgba(52,211,153,0.3);
    color: var(--accent-green);
}

/* ── Toast ────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    max-width: 360px;
}

.toast-success {
    background: var(--accent-green);
    color: #0f1117;
}

.toast-error {
    background: var(--accent-red);
    color: #fff;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateX(40px); }
}

/* ── Login Page ───────────────────────────────────────────── */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0a0c14 0%, #111425 50%, #0d1020 100%);
}

.login-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .content-area {
        padding: 16px;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
    }

    .server-actions {
        flex-direction: column;
    }

    .server-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
