/* ===================================
   CONECTA BUENO - PAINEL ADMIN
   Design Profissional - Serra da Mantiqueira
   =================================== */

body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    overflow-x: hidden;
}

/* ===================================
   LOADING OVERLAY
   =================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d5a3d 0%, #1a3a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(45, 90, 61, 0.3);
    border-top-color: #2d5a3d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    margin-top: 20px;
    font-size: calc(16px * var(--a11y-text-scale, 1));
    opacity: 0.9;
}

/* ===================================
   LAYOUT PRINCIPAL
   =================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* ===================================
   SIDEBAR
   =================================== */

.admin-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e0e4e9;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.admin-sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #e0e4e9;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo h1 {
    margin: 0;
    font-size: calc(18px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.brand-logo span {
    display: block;
    font-size: calc(12px * var(--a11y-text-scale, 1));
    color: #888;
    font-weight: 500;
}

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

.nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #555;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 6px;
    text-align: left;
}

.nav-item svg {
    color: #888;
    transition: color 0.2s ease;
}

.nav-item:hover {
    background: #f5f7fa;
    color: #2d5a3d;
}

.nav-item:hover svg {
    color: #2d5a3d;
}

.nav-item.active {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    color: white;
}

.nav-item.active svg {
    color: white;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #e0e4e9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-back-map,
.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-back-map {
    background: #f5f7fa;
    color: #555;
}

.btn-back-map:hover {
    background: #e8ecf1;
    color: #2d5a3d;
}

.btn-logout {
    background: #fee;
    color: #d32f2f;
}

.btn-logout:hover {
    background: #fdd;
}


/* ===================================
   MAIN CONTENT
   =================================== */

.admin-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.admin-sidebar.hidden ~ .admin-main {
    margin-left: 0;
}

/* ===================================
   HEADER
   =================================== */

.admin-header {
    background: white;
    border-bottom: 1px solid #e0e4e9;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #555;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-menu-toggle:hover {
    background: #f5f7fa;
    color: #2d5a3d;
}

.admin-header h2 {
    margin: 0;
    font-size: calc(24px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f5f7fa;
    border-radius: 10px;
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    position: relative;
    overflow: hidden;
}

.user-avatar-small img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-info-small strong {
    display: block;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #1a1a1a;
    font-weight: 600;
}

.user-info-small span {
    display: block;
    font-size: calc(12px * var(--a11y-text-scale, 1));
    color: #888;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.section-content {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.section-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.section-header h3 {
    margin: 0 0 4px 0;
    font-size: calc(20px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.section-header p {
    margin: 0;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #888;
}

/* ===================================
   STATS GRID (DASHBOARD)
   =================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.green {
    background: #d0e8da;
    color: #2d5a3d;
}

.stat-icon.blue {
    background: #dce9ff;
    color: #1976d2;
}

.stat-icon.orange {
    background: #ffe8d6;
    color: #f57c00;
}

.stat-icon.purple {
    background: #f3e8ff;
    color: #7b1fa2;
}

.stat-info h3 {
    margin: 0 0 4px 0;
    font-size: calc(28px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.stat-info p {
    margin: 0;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #888;
}

/* ===================================
   WELCOME CARD
   =================================== */

.dashboard-cards {
    display: grid;
    gap: 20px;
}

.welcome-card {
    background: linear-gradient(135deg, #2d5a3d 0%, #1a3a2e 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
}

.welcome-card h3 {
    margin: 0 0 12px 0;
    font-size: calc(24px * var(--a11y-text-scale, 1));
    font-weight: 700;
}

.welcome-card p {
    margin: 0 0 24px 0;
    font-size: calc(16px * var(--a11y-text-scale, 1));
    opacity: 0.9;
}

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ===================================
   BUTTONS
   =================================== */

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #2d5a3d;
    color: white;
}

.btn-primary:hover {
    background: #245032;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: #d32f2f;
    color: white;
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-sm {
    padding: 6px 12px;
    font-size: calc(13px * var(--a11y-text-scale, 1));
}

/* ===================================
   TABLE
   =================================== */

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.data-table thead {
    background: #f5f7fa;
}

.data-table th {
    padding: 16px;
    text-align: left;
    font-size: calc(13px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px;
    border-top: 1px solid #e0e4e9;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #333;
}

.data-table tbody tr:hover {
    background: #f9fafb;
}

.loading-row,
.empty-row {
    text-align: center;
    color: #888;
    padding: 40px;
}

.loading-row td,
.empty-row td {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: calc(12px * var(--a11y-text-scale, 1));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d0e8da;
    color: #2d5a3d;
}

.badge-danger {
    background: #ffebee;
    color: #d32f2f;
}

.badge-warning {
    background: #fff3e0;
    color: #f57c00;
}

.btn-icon-table {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-icon-table:hover {
    background: #f5f7fa;
    color: #2d5a3d;
}

.btn-icon-table.danger:hover {
    color: #d32f2f;
}

/* ===================================
   SETTINGS GRID
   =================================== */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.setting-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.setting-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e4e9;
    display: flex;
    align-items: center;
    gap: 16px;
}

.setting-header svg {
    color: #2d5a3d;
}

.setting-header h4 {
    margin: 0 0 4px 0;
    font-size: calc(16px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.setting-header p {
    margin: 0;
    font-size: calc(13px * var(--a11y-text-scale, 1));
    color: #888;
}

.setting-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e4e9;
    border-radius: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #333;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2d5a3d;
    background: #fafbfc;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Toggle Switch */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background: #d0d0d0;
    border-radius: 12px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.toggle-label input[type="checkbox"]:checked ~ .toggle-switch {
    background: #2d5a3d;
}

.toggle-label input[type="checkbox"]:checked ~ .toggle-switch::after {
    transform: translateX(24px);
}


/* ===================================
   CATEGORIES GRID
   =================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    position: relative;
}

.category-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(32px * var(--a11y-text-scale, 1));
}

.category-card h4 {
    margin: 0 0 8px 0;
    font-size: calc(16px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.category-card p {
    margin: 0;
    font-size: calc(13px * var(--a11y-text-scale, 1));
    color: #888;
}

.category-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* ===================================
   LOGS
   =================================== */

.logs-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logs-filters {
    padding: 16px;
    border-bottom: 1px solid #e0e4e9;
    display: flex;
    gap: 12px;
}

.logs-list {
    max-height: 600px;
    overflow-y: auto;
}

.log-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e4e9;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.log-item:last-child {
    border-bottom: none;
}

.log-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(18px * var(--a11y-text-scale, 1));
    flex-shrink: 0;
}

.log-icon.create {
    background: #d0e8da;
}

.log-icon.update {
    background: #dce9ff;
}

.log-icon.delete {
    background: #ffebee;
}

.log-icon.login {
    background: #f3e8ff;
}

.log-content {
    flex: 1;
}

.log-content strong {
    display: block;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.log-content p {
    margin: 0;
    font-size: calc(13px * var(--a11y-text-scale, 1));
    color: #888;
}

.log-time {
    font-size: calc(12px * var(--a11y-text-scale, 1));
    color: #aaa;
    flex-shrink: 0;
}

.loading-state,
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* ===================================
   MODALS
   =================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

.modal-dialog.modal-sm {
    max-width: 400px;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e4e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: calc(20px * var(--a11y-text-scale, 1));
    font-weight: 700;
    color: #1a1a1a;
}

.btn-close {
    background: none;
    border: none;
    font-size: calc(28px * var(--a11y-text-scale, 1));
    color: #888;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: #f5f7fa;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.map-picker {
    margin-top: 16px;
}

.map-picker label {
    display: block;
    margin-bottom: 12px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    font-weight: 600;
    color: #333;
}

.coordinates-display {
    display: flex;
    gap: 20px;
    padding: 12px 16px;
    background: #f5f7fa;
    border: 2px solid #2d5a3d;
    border-radius: 8px;
    margin-bottom: 12px;
}

.coord-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
}

.coord-item strong {
    color: #2d5a3d;
    font-weight: 700;
}

.coord-item span {
    font-family: 'Courier New', monospace;
    color: #1a1a1a;
    font-weight: 600;
}

.help-text {
    margin-top: 8px;
    font-size: calc(13px * var(--a11y-text-scale, 1));
    color: #888;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #333;
    cursor: pointer;
}

/* Explicação curta abaixo de um checkbox, alinhada com o texto dele. */
.checkbox-hint {
    display: block;
    margin: 6px 0 0 26px;
    font-size: calc(12.5px * var(--a11y-text-scale, 1));
    line-height: 1.5;
    color: #6b7280;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

/* ===================================
   TOAST
   =================================== */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid #4caf50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.info {
    border-left: 4px solid #2196f3;
}

.toast-icon {
    font-size: calc(20px * var(--a11y-text-scale, 1));
}

.toast-message {
    flex: 1;
    font-size: calc(14px * var(--a11y-text-scale, 1));
    color: #333;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .btn-menu-toggle {
        display: flex;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-content {
        padding: 20px;
    }
    
    .admin-header {
        padding: 16px 20px;
    }
    
    .admin-header h2 {
        font-size: calc(20px * var(--a11y-text-scale, 1));
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .user-badge {
        padding: 6px 12px;
    }
    
    .user-info-small {
        display: none;
    }
    
    .toast {
        min-width: auto;
        width: calc(100vw - 48px);
    }
}


/* Botão Voltar para Home */
.nav-item-home {
    background: linear-gradient(135deg, #2d5a3d 0%, #1a3a2e 100%) !important;
    color: white !important;
    font-weight: 600;
    border: none !important;
    text-decoration: none;
    cursor: pointer;
}

.nav-item-home svg {
    color: white !important;
}

.nav-item-home:hover {
    background: linear-gradient(135deg, #245032 0%, #0f1f18 100%) !important;
    transform: translateX(2px);
}

.nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    margin: 12px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-item-home {
        font-size: calc(13px * var(--a11y-text-scale, 1));
        padding: 10px 14px;
    }

    .nav-item-home svg {
        width: 18px;
        height: 18px;
    }
}

/* ================================================================
   ACESSIBILIDADE — ajustes específicos do painel administrativo
   ================================================================ */
.a11y-high-contrast { background: #fff; }
/* Cartões escuros/coloridos com texto claro (sidebar admin, cards de
   destaque...) viram invisíveis se só o fundo ou só o texto for forçado.
   Zera os dois em cascata para todo mundo dentro dos contêineres
   principais — não uma lista fixa de seletores, que sempre fica
   incompleta. */
.a11y-high-contrast .admin-sidebar,
.a11y-high-contrast .stat-card,
.a11y-high-contrast .welcome-card,
.a11y-high-contrast .setting-card,
.a11y-high-contrast .category-card {
    background: #fff !important;
    background-image: none !important;
    color: #111827 !important;
    border-color: #000 !important;
}
.a11y-high-contrast .admin-sidebar *,
.a11y-high-contrast .stat-card *,
.a11y-high-contrast .welcome-card *,
.a11y-high-contrast .setting-card *,
.a11y-high-contrast .category-card * {
    color: inherit !important;
    background: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
}
.a11y-high-contrast .nav-item.active { outline: 2px solid #000 !important; }

.a11y-focus .stat-card,
.a11y-focus .welcome-card,
.a11y-focus .setting-card,
.a11y-focus .category-card {
    box-shadow: none;
}
