/* ============================================
   Vietnam Metro Maintenance System — Styles
   ============================================ */

:root {
    --primary: #0d3b66;
    --primary-light: #1d5a8f;
    --primary-dark: #071e36;
    --accent: #e63946;
    --accent-light: #f25c68;
    --success: #2a9d8f;
    --danger: #e63946;
    --warning: #f1c40f;
    --info: #457b9d;
    --gray-50: #f8f9fa;
    --gray-100: #ecf0f1;
    --gray-200: #dee2e6;
    --gray-300: #bdc3c7;
    --gray-400: #95a5a6;
    --gray-500: #7f8c8d;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --sidebar-width: 240px;
    --sidebar-collapsed: 60px;
    --top-bar-height: 56px;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
}

/* LOGIN */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.login-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.login-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray-100);
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-logos .logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-brand { margin-bottom: 24px; }

.login-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.login-hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray-400);
}

.login-form { text-align: left; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}
.form-group label i { width: 18px; color: var(--gray-400); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(29, 90, 143, 0.15);
}

.error-message {
    background: #fdf0ef;
    color: var(--danger);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 12px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { background: var(--gray-100); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; padding: 12px; font-size: 15px; }

/* SIDEBAR */
.app-screen { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--primary-dark);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: width 0.3s;
}
.sidebar.collapsed { width: var(--sidebar-collapsed); }
.sidebar.collapsed .sidebar-header h2,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .user-info span,
.sidebar.collapsed .sidebar-footer .btn span,
.sidebar.collapsed .sidebar-footer .btn { display: none; }

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo-icon { font-size: 24px; color: var(--accent-light); }
.sidebar-header h2 { font-size: 18px; font-weight: 600; white-space: nowrap; }

.nav-menu { list-style: none; flex: 1; padding: 8px 0; overflow-y: auto; }
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
    font-size: 14px;
    white-space: nowrap;
}
.nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-item.active {
    background: rgba(255,255,255,0.12);
    color: white;
    border-left: 3px solid var(--accent);
}
.nav-item i { width: 20px; text-align: center; font-size: 16px; }

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
}
.user-info i { font-size: 18px; }

/* MAIN CONTENT */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s;
}
.sidebar.collapsed ~ .main-content { margin-left: var(--sidebar-collapsed); }

.top-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--top-bar-height);
    padding: 0 24px;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray-600);
    cursor: pointer;
    padding: 4px;
}

.top-bar h1 { font-size: 18px; font-weight: 600; flex: 1; }
.top-bar-actions { display: flex; gap: 8px; }
.page-content { padding: 24px; }

/* CARDS & STAT BOXES */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.blue { background: var(--info); }
.stat-icon.orange { background: #e67e22; }
.stat-icon.green { background: var(--success); }
.stat-icon.red { background: var(--danger); }
.stat-icon.purple { background: #8e44ad; }
.stat-icon.teal { background: #16a085; }

.stat-info h3 { font-size: 24px; font-weight: 700; color: var(--gray-800); }
.stat-info p { font-size: 12px; color: var(--gray-500); }

.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* TABLES */
.table-responsive { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--gray-50);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
}

table td {
    padding: 10px 12px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

table tr:hover { background: var(--gray-50); cursor: pointer; }
table .actions { display: flex; gap: 4px; }

.asset-tag {
    font-family: 'Consolas', monospace;
    font-size: 11px;
    color: var(--gray-700);
    background: var(--gray-50);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--gray-200);
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-new { background: #e8f4fd; color: #2471a3; }
.badge-assigned { background: #fef5e7; color: #ca6f1e; }
.badge-inprogress { background: #eafaf1; color: #1e8449; }
.badge-onhold { background: #fdf2e9; color: #a04000; }
.badge-completed { background: #d5f5e3; color: #196f3d; }
.badge-closed { background: var(--gray-100); color: var(--gray-600); }
.badge-cancelled { background: #fdedec; color: #922b21; }

.badge-emergency { background: #fdedec; color: #c0392b; }
.badge-urgent { background: #fef5e7; color: #e67e22; }
.badge-normal { background: #e8f4fd; color: #2980b9; }
.badge-low { background: var(--gray-100); color: var(--gray-600); }

.badge-operational { background: #d5f5e3; color: #196f3d; }
.badge-outofservice { background: #fdedec; color: #c0392b; }
.badge-undermaintenance { background: #fef5e7; color: #ca6f1e; }
.badge-degraded { background: #fef5e7; color: #ca6f1e; }
.badge-notyetinservice { background: #e8f4fd; color: #2471a3; }

.badge-confirmed { background: #d5f5e3; color: #196f3d; }
.badge-likely { background: #fff8e1; color: #b7791f; }
.badge-withinepc { background: #fef5e7; color: #ca6f1e; }
.badge-unknown { background: #fdedec; color: #922b21; }

.badge-original { background: #e8f4fd; color: #2471a3; }
.badge-upgraded { background: #d5f5e3; color: #196f3d; }
.badge-replaced { background: var(--gray-100); color: var(--gray-600); }
.badge-decommissioned { background: #fdedec; color: #922b21; }
.badge-planned { background: #f4ecf7; color: #7d3c98; }

.badge-active { background: #d5f5e3; color: #196f3d; }
.badge-expired { background: #fdedec; color: #c0392b; }
.badge-expiring { background: #fef5e7; color: #ca6f1e; }

.badge-overdue { background: #fdedec; color: #c0392b; }
.badge-duesoon { background: #fef5e7; color: #ca6f1e; }
.badge-ontrack { background: #d5f5e3; color: #196f3d; }

.badge-line {
    background: var(--primary);
    color: white;
    font-family: 'Consolas', monospace;
}

/* LINE / CITY LOGO IN DETAIL VIEWS */
.line-logo-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border-left: 5px solid var(--primary);
}

.line-logo-banner img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

.line-logo-banner .banner-text h2 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.line-logo-banner .banner-text p {
    font-size: 13px;
    color: var(--gray-500);
}

.line-logo-modal {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.line-logo-modal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

/* DETAIL PAGES */
.detail-header {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.detail-header h2 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 8px;
}

.detail-meta span { display: inline-flex; align-items: center; gap: 4px; }
.detail-meta i { color: var(--gray-400); }

.kv-list { list-style: none; }
.kv-list li {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13.5px;
}
.kv-list li:last-child { border-bottom: none; }
.kv-list .kv-label { width: 180px; color: var(--gray-500); font-weight: 500; flex-shrink: 0; }
.kv-list .kv-value { flex: 1; color: var(--gray-800); }

.supplier-note {
    background: #fef5e7;
    border-left: 3px solid #ca6f1e;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #7c4700;
    border-radius: 4px;
    margin-top: 6px;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 92%;
    max-width: 720px;
    max-height: 88vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-header h3 { font-size: 16px; }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
}

.modal-body { padding: 20px; }
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
}

/* TOAST */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius);
    color: white;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    min-width: 250px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: #e67e22; }
.toast.info { background: var(--info); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* FILTER BAR */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-bar select,
.filter-bar input {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: inherit;
}

.filter-bar label {
    font-size: 12px;
    color: var(--gray-500);
    margin-right: 4px;
}

/* FORM GRID */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row .form-group.full-width { grid-column: 1 / -1; }

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.empty-state i { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: inline-flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover { color: var(--primary); }
.lang-btn.active { background: var(--primary); color: white; }

.login-lang-switcher {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* LINE CARDS ON DASHBOARD */
.line-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.line-card {
    background: white;
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: transform 0.2s;
}

.line-card:hover { transform: translateY(-2px); }
.line-card.status-operational { border-left-color: var(--success); }
.line-card.status-partiallyopen { border-left-color: #e67e22; }
.line-card.status-underconstruction { border-left-color: var(--info); }
.line-card.status-planned { border-left-color: #7d3c98; }

.line-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.line-card h4 { font-size: 15px; color: var(--primary); }
.line-card p { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.line-card-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    font-size: 12px;
    color: var(--gray-600);
}
.line-card-stats div strong {
    display: block;
    font-size: 16px;
    color: var(--gray-800);
}

/* CONFIDENCE LEGEND on dashboard */
.confidence-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.confidence-pill {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== NEW MODULE STYLES ==================== */

/* Nav separator and badge */
.nav-separator {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 8px 16px;
    pointer-events: none;
}
.nav-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    padding: 0 5px;
    margin-left: auto;
}

/* Operational status pills on dashboard */
.opstatus-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.opstatus-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.opstatus-pill strong { font-size: 18px; }

/* Alert cards */
.alert-list { display: flex; flex-direction: column; gap: 10px; }

.alert-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: #fff;
    border-left: 4px solid var(--gray-300);
}
.alert-card.alert-critical  { border-left-color: var(--accent); background: #fff5f5; }
.alert-card.alert-warning   { border-left-color: var(--warning); background: #fffdf0; }
.alert-card.alert-info      { border-left-color: var(--info); }

.alert-header { margin-bottom: 6px; }
.alert-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.alert-meta {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.alert-message {
    font-size: 13px;
    color: var(--gray-700);
    margin: 6px 0;
    line-height: 1.5;
}
.alert-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

/* Camera grid */
.camera-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.camera-tile {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    background: #fff;
    transition: border-color 0.2s;
}
.camera-tile.camera-ok       { border-color: #2a9d8f; }
.camera-tile.camera-warning  { border-color: var(--warning); }
.camera-tile.camera-critical { border-color: var(--accent); background: #fff5f5; }

.camera-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--gray-400);
}
.camera-tile.camera-ok .camera-icon      { color: #2a9d8f; }
.camera-tile.camera-warning .camera-icon { color: var(--warning); }
.camera-tile.camera-critical .camera-icon{ color: var(--accent); }

.camera-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 8px;
}
.camera-status { font-size: 12px; }

/* Parts inventory */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 14px;
}
.detail-grid dt { color: var(--gray-500); font-weight: 500; }
.detail-grid dd { color: var(--gray-800); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Settings page */
.settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.settings-row:last-child { border-bottom: none; }
.settings-label strong { display: block; font-size: 14px; margin-bottom: 2px; }
.settings-label small  { color: var(--gray-500); font-size: 12px; }
.settings-control { display: flex; align-items: center; gap: 8px; }

/* Toggle switch */
.toggle-label {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}
.toggle-label input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0;
    background: var(--gray-300);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.toggle-label input:checked + .toggle-slider { background: #2a9d8f; }
.toggle-label input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Utility */
.text-muted { color: var(--gray-500); font-size: 13px; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); width: var(--sidebar-width); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .kv-list .kv-label { width: 120px; }
    .login-logos { gap: 20px; }
    .login-logos .logo-img { width: 90px; height: 90px; }
    .line-logo-banner img { width: 60px; height: 60px; }
}
