/* CAISSE CONNECT - Main Stylesheet */

:root {
    --primary: #146360;
    --primary-dark: #0e4a48;
    --primary-light: #1a7d79;
    --secondary: #2c3e50;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --sidebar-width: 260px;
    --header-height: 60px;
    --border-radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

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

.sidebar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
}

.sidebar-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-logo-sub {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
}

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

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px;
    margin-bottom: 8px;
}

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

.nav-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.nav-item.active {
    background: rgba(20, 99, 96, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
}

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

.nav-badge {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--gray-200);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 11px;
    color: var(--gray-500);
}

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

.content-header {
    background: var(--white);
    padding: 20px 30px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-900);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.content-body {
    padding: 30px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

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

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.stat-icon.primary {
    background: rgba(20, 99, 96, 0.1);
    color: var(--primary);
}

.stat-icon.success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.stat-icon.warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.stat-icon.danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

.stat-icon.info {
    background: rgba(52, 152, 219, 0.1);
    color: var(--info);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 99, 96, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23868e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

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

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

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
}

.table td {
    font-size: 14px;
    color: var(--gray-700);
}

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

.overview-total-row,
.overview-total-row td {
    background: #146360 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    font-family: monospace;
    text-align: right;
}
.overview-total-row td:first-child {
    text-align: left;
    padding: 10px 12px;
    letter-spacing: .5px;
}

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

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

.badge-info {
    background: rgba(52, 152, 219, 0.1);
    color: var(--info);
}

.badge-primary {
    background: rgba(20, 99, 96, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* Status Indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-dot.working { background: var(--success); }
.status-dot.maintenance { background: var(--warning); }
.status-dot.emergency { background: var(--danger); }
.status-dot.talk { background: var(--info); }
.status-dot.training { background: #9b59b6; }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #b57d00;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

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

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.login-subtitle {
    color: var(--gray-500);
    font-size: 14px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
}

.tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

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

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.quick-action:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.quick-action i {
    font-size: 28px;
    color: var(--primary);
}

.quick-action span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
}

.timeline-item.completed::before {
    background: var(--success);
}

.timeline-item.pending::before {
    background: var(--gray-400);
}

.timeline-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.timeline-content {
    font-size: 14px;
    color: var(--gray-700);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .content-body {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

.w-100 { width: 100%; }

/* Training Cards Grid */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.training-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.training-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    color: inherit;
    transform: translateY(-2px);
}

.training-card-img {
    height: 160px;
    overflow: hidden;
    background: var(--gray-100);
}

.training-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.training-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 48px;
}

.training-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-card-title {
    font-size: 15px;
    display: block;
    margin: 4px 0;
    color: var(--gray-800);
}

.training-card-desc {
    font-size: 13px;
    margin: 6px 0;
    flex: 1;
}

/* Zoom Banner */
.zoom-banner {
    background: linear-gradient(135deg, #2d8cff 0%, #0b5cd5 100%);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    color: white;
}

.zoom-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.zoom-banner-content > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.zoom-banner-content i.fa-video {
    font-size: 24px;
}

.zoom-banner-content strong {
    font-size: 16px;
}

.zoom-banner-content span {
    opacity: 0.9;
    font-size: 14px;
}

/* Outreach Stats Bar */
.outreach-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.outreach-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.outreach-stat-item strong {
    font-size: 14px;
    color: var(--gray-800);
}

/* Tab Content */
.tab-content {
    margin-top: 0;
}

/* Certificate badge link */
a.badge {
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

a.badge:hover {
    opacity: 0.8;
}

/* ── Notification Bell ── */
.notif-bell-wrap {
    position: relative;
}
.notif-bell-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--gray-600);
    cursor: pointer;
    position: relative;
    padding: 4px 6px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    line-height: 1;
}
.notif-bell-btn:hover {
    color: var(--primary);
    background: var(--gray-100);
}
.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 3px;
}
.notif-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    border: 1px solid var(--gray-200);
}
.notif-dropdown.active {
    display: block !important;
}
.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
}
.notif-dropdown-header a {
    font-size: 12px;
    color: var(--primary);
}
.notif-dropdown-body {
    max-height: 280px;
    overflow-y: auto;
}
.notif-dropdown-footer {
    padding: 6px 12px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    font-size: 12px;
}
.notif-dropdown-footer a {
    color: var(--primary);
    font-weight: 500;
}
.notif-item {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-50);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}
.notif-item:hover {
    background: var(--gray-50);
}
.notif-item.unread {
    background: rgba(20, 99, 96, 0.04);
    border-left: 3px solid var(--primary);
}
.notif-item-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 11px;
}
.notif-item.unread .notif-item-icon {
    background: rgba(20, 99, 96, 0.12);
}
.notif-item-content {
    flex: 1;
    min-width: 0;
}
.notif-item-title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 1px;
}
.notif-item-time {
    font-size: 11px;
    color: var(--gray-500);
}
.notif-empty {
    padding: 20px 12px;
    text-align: center;
    color: var(--gray-500);
    font-size: 12px;
}

/* ── Refresh Banner ── */
.refresh-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-800);
    animation: slideDown 0.3s ease;
}
.refresh-banner a {
    color: var(--primary);
    font-weight: 600;
    margin-left: 4px;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive training grid */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: 1fr;
    }

    .zoom-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .notif-dropdown {
        width: 300px;
        right: -40px;
    }
}

/* ================================================================
   SERVICES SHOP — Catalog
   ================================================================ */

.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.shop-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 210px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.shop-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.shop-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px;
    color: #fff;
}

.shop-category-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

.shop-category-overlay p {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.shop-cat-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s;
    width: fit-content;
    cursor: pointer;
}

.shop-cat-browse-btn:hover {
    background: rgba(255,255,255,0.32);
    color: #fff;
}

/* Items Grid */
.shop-items-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.shop-items-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    flex: 1;
}

.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.shop-item-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
}

.shop-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.shop-item-img {
    height: 130px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-item-img-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    backdrop-filter: blur(4px);
}

.shop-item-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    margin-bottom: 5px;
    line-height: 1.3;
}

.shop-item-desc {
    font-size: 12px;
    color: var(--gray-500);
    flex: 1;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.shop-item-duration {
    font-size: 11px;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ================================================================
   DELIVERY TRACKER
   ================================================================ */

.delivery-tracker {
    overflow-x: auto;
    padding: 4px 0 8px;
}

.tracker-inner {
    position: relative;
    min-width: 560px;
    padding: 0 20px;
}

.tracker-line-bg {
    position: absolute;
    top: 15px;
    left: 36px;
    right: 36px;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
    border-radius: 2px;
}

.tracker-line-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.5s ease;
    border-radius: 2px;
}

.tracker-steps-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 52px;
}

.tracker-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 3px solid var(--gray-300);
    background: #fff;
    margin-bottom: 7px;
    transition: border-color 0.2s, background 0.2s;
    color: var(--gray-400);
}

.tracker-step.completed .tracker-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tracker-step.current .tracker-dot {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(20,99,96,0.15);
}

.tracker-step.cancelled .tracker-dot {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.tracker-step-label {
    font-size: 10px;
    text-align: center;
    color: var(--gray-400);
    line-height: 1.3;
    max-width: 64px;
    font-weight: 500;
}

.tracker-step.completed .tracker-step-label { color: var(--primary); font-weight: 600; }
.tracker-step.current .tracker-step-label   { color: var(--gray-800); font-weight: 700; }
.tracker-step.cancelled .tracker-step-label { color: var(--danger); }

/* Compact tracker (used in list cards) */
.delivery-tracker--compact .tracker-inner { min-width: 400px; padding: 0 8px; }
.delivery-tracker--compact .tracker-line-bg { top: 11px; left: 18px; right: 18px; }
.delivery-tracker--compact .tracker-dot { width: 22px; height: 22px; font-size: 9px; border-width: 2px; margin-bottom: 0; }
.delivery-tracker--compact .tracker-step { min-width: 36px; }

/* ================================================================
   SERVICE REQUEST CARDS (list view)
   ================================================================ */

.svc-request-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px 20px 14px;
    margin-bottom: 12px;
    transition: box-shadow 0.15s;
}

.svc-request-card:hover { box-shadow: var(--shadow); }

.svc-request-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.svc-request-card-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-900);
}

.svc-request-card-meta {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-request-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ================================================================
   ADMIN OVERVIEW STATS
   ================================================================ */

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.overview-stat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    transition: box-shadow 0.15s;
}

.overview-stat-card:hover { box-shadow: var(--shadow); }

.overview-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0 auto 10px;
}

.overview-stat-number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.overview-stat-label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Per-CU table in overview */
.cu-pipeline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cu-pipeline-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* ================================================================
   TRAINING MODULE — Workday-Inspired Redesign
   ================================================================ */

/* ── Hero Cards (List View) ──────────────────────────────────── */
.trn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.trn-hero-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 230px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: block;
    transition: transform .18s, box-shadow .18s;
    cursor: pointer;
}
.trn-hero-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.trn-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.08) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 18px 18px;
    color: #fff;
}
.trn-hero-top { display: flex; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.trn-hero-bottom { display: flex; align-items: flex-end; gap: 14px; }
.trn-hero-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.trn-hero-info { flex: 1; min-width: 0; }
.trn-hero-title { font-size: 16px; font-weight: 700; line-height: 1.25; margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trn-hero-meta { font-size: 12px; opacity: 0.82; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.trn-hero-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.trn-hero-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 5px 12px; border-radius: 20px;
    transition: background .15s;
}
.trn-hero-card:hover .trn-hero-btn { background: rgba(255,255,255,0.32); }

/* ── Detail Header ───────────────────────────────────────────── */
.trn-detail-header {
    border-radius: 14px; overflow: hidden; margin-bottom: 24px;
    background: var(--bg-card, #fff); border: 1px solid var(--border, #dee2e6);
}
.trn-detail-hero {
    position: relative; height: 260px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
}
.trn-detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 60%, rgba(0,0,0,0.05) 100%);
}
.trn-detail-hero-content {
    position: relative; z-index: 1;
    padding: 24px 32px; color: #fff; width: 100%;
}
.trn-detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; align-items: center; }
.trn-detail-name { font-size: 26px; font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.2; }
.trn-detail-banner { height: 5px; background: linear-gradient(90deg, #0d4f4c, #146360, #1a7d79); }
.trn-detail-body { padding: 24px 32px; }
.trn-detail-icon {
    width: 60px; height: 60px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; flex-shrink: 0;
    background: linear-gradient(140deg, #0d4f4c, #146360);
}
.trn-detail-top { display: flex; align-items: flex-start; gap: 20px; }
.trn-detail-info { flex: 1; min-width: 0; }
.trn-meta-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 0; }
.trn-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.85); }
.trn-meta-item a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.trn-detail-body .trn-meta-item { color: var(--text-muted, #6c757d); }
.trn-detail-body .trn-meta-item a { color: inherit; }
.trn-description {
    background: var(--bg-secondary, #f8fafc);
    border-left: 3px solid #146360;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px; font-size: 14px; color: var(--text-muted, #6c757d);
    line-height: 1.6; margin-bottom: 16px;
}
.trn-detail-actions {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding-top: 20px; border-top: 1px solid var(--border, #dee2e6); margin-top: 20px;
}

/* ── Pill Tabs ───────────────────────────────────────────────── */
.trn-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: var(--bg-secondary, #f1f3f5);
    border-radius: 12px;
}
.trn-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.trn-tab:hover { color: var(--text-primary, #212529); background: rgba(255,255,255,0.6); }
.trn-tab.active {
    color: #146360;
    background: var(--bg-card, #fff);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.trn-tab .trn-tab-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
    background: #e9ecef;
    color: #495057;
}
.trn-tab.active .trn-tab-badge { background: #d1fae5; color: #065f46; }

/* ── KPI Tiles ───────────────────────────────────────────────── */
.trn-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.trn-kpi-tile {
    flex: 1;
    min-width: 120px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #dee2e6);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
}
.trn-kpi-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary, #212529);
    line-height: 1;
    margin-bottom: 4px;
}
.trn-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
}

/* ── Clean Tables ────────────────────────────────────────────── */
.trn-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.trn-table thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--text-muted, #6c757d);
    padding: 10px 12px;
    border-bottom: 2px solid var(--border, #dee2e6);
    background: transparent;
}
.trn-table tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100, #f1f3f5);
    vertical-align: middle;
}
.trn-table tbody tr:hover { background: rgba(20,99,96,0.03); }
.trn-table tbody tr:last-child td { border-bottom: none; }

/* ── CU Row Cards ────────────────────────────────────────────── */
.trn-cu-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #dee2e6);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: border-color .15s, box-shadow .15s;
}
.trn-cu-card:hover { border-color: #146360; box-shadow: 0 2px 8px rgba(20,99,96,0.08); }
.trn-cu-info { flex: 1; min-width: 0; }
.trn-cu-name { font-weight: 700; font-size: 14px; color: var(--text-primary, #212529); }
.trn-cu-code { font-size: 12px; color: var(--text-muted, #6c757d); font-family: monospace; }
.trn-cu-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.trn-cu-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ── Action Dropdown ─────────────────────────────────────────── */
.trn-dropdown { position: relative; display: inline-block; }
.trn-dropdown-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; font-size: 13px; font-weight: 600;
    background: var(--bg-card, #fff); border: 1px solid var(--border, #dee2e6);
    border-radius: 8px; cursor: pointer; color: var(--text-primary, #212529);
    transition: all .15s;
}
.trn-dropdown-btn:hover { border-color: #146360; color: #146360; }
.trn-dropdown-menu {
    display: none;
    position: absolute; right: 0; top: 100%; margin-top: 4px;
    background: var(--bg-card, #fff); border: 1px solid var(--border, #dee2e6);
    border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px; z-index: 100; overflow: hidden;
    padding: 4px;
}
.trn-dropdown.open .trn-dropdown-menu { display: block; }
.trn-dropdown-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 14px; font-size: 13px; font-weight: 500;
    color: var(--text-primary, #212529); cursor: pointer;
    border-radius: 6px; border: none; background: none; width: 100%;
    text-align: left; text-decoration: none;
    transition: background .1s;
}
.trn-dropdown-item:hover { background: var(--bg-secondary, #f1f3f5); }
.trn-dropdown-item.danger { color: #dc3545; }
.trn-dropdown-item.danger:hover { background: #fff5f5; }
.trn-dropdown-divider { height: 1px; background: var(--border, #dee2e6); margin: 4px 0; }

/* ── Cert Progress Tracker ───────────────────────────────────── */
.trn-cert-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 12px 0;
}
.trn-cert-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    white-space: nowrap;
}
.trn-cert-step.done { color: #059669; }
.trn-cert-step-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    background: #e9ecef;
    color: #6c757d;
    flex-shrink: 0;
}
.trn-cert-step.done .trn-cert-step-dot { background: #d1fae5; color: #059669; }
.trn-cert-step.active .trn-cert-step-dot { background: #fef3c7; color: #d97706; }
.trn-cert-step-line {
    width: 20px;
    height: 2px;
    background: #e9ecef;
    flex-shrink: 0;
}
.trn-cert-step.done + .trn-cert-step-line { background: #d1fae5; }

/* ── Muted Tint Badges ───────────────────────────────────────── */
.badge-tint-green  { background: #d1fae5; color: #065f46; }
.badge-tint-blue   { background: #dbeafe; color: #1e40af; }
.badge-tint-amber  { background: #fef3c7; color: #92400e; }
.badge-tint-red    { background: #fee2e2; color: #991b1b; }
.badge-tint-gray   { background: #f3f4f6; color: #374151; }
.badge-tint-teal   { background: #ccfbf1; color: #115e59; }

/* ── Live Banner (training) ──────────────────────────────────── */
.trn-live-banner {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff; padding: 14px 20px; border-radius: 10px; margin-bottom: 20px;
    animation: pulseGlow 2s ease-in-out infinite;
}
.trn-live-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; flex-shrink: 0; }
.trn-live-banner a { color: #fff; text-decoration: underline; font-weight: 600; }

/* ── Collapsible Section ─────────────────────────────────────── */
.trn-collapsible-header {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; user-select: none;
    padding: 10px 0;
    font-size: 14px; font-weight: 600;
    color: var(--text-muted, #6c757d);
}
.trn-collapsible-header i.fa-chevron-right { transition: transform .2s; }
.trn-collapsible-header.open i.fa-chevron-right { transform: rotate(90deg); }

/* ── Side Panel (CU action cards) ────────────────────────────── */
.trn-side-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.trn-action-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #dee2e6);
    border-radius: 12px;
    overflow: hidden;
}
.trn-action-card-header {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    background: var(--bg-secondary, #f8fafc);
    border-bottom: 1px solid var(--border, #dee2e6);
    display: flex; align-items: center; gap: 8px;
}
.trn-action-card-body {
    padding: 16px;
}

/* ── Create Modal Sections ───────────────────────────────────── */
.trn-form-section {
    border: 1px solid var(--border, #dee2e6);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}
.trn-form-section-header {
    padding: 10px 14px;
    background: var(--bg-secondary, #f8fafc);
    border-bottom: 1px solid var(--border, #dee2e6);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.trn-form-section-header i.fa-chevron-down { transition: transform .2s; font-size: 11px; }
.trn-form-section.collapsed .trn-form-section-body { display: none; }
.trn-form-section.collapsed .trn-form-section-header i.fa-chevron-down { transform: rotate(-90deg); }
.trn-form-section-body { padding: 14px; }

/* ── Training Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .trn-grid { grid-template-columns: 1fr; }
    .trn-hero-card { height: 200px; }
    .trn-detail-hero { height: 200px; }
    .trn-detail-hero-content { padding: 16px 18px; }
    .trn-detail-body { padding: 16px 18px; }
    .trn-detail-top { flex-direction: column; }
    .trn-detail-name { font-size: 20px; }
    .trn-tabs { gap: 4px; }
    .trn-tab { padding: 8px 12px; font-size: 12px; }
    .trn-kpi-row { gap: 8px; }
    .trn-kpi-tile { min-width: 90px; padding: 10px 12px; }
    .trn-cu-card { flex-direction: column; align-items: stretch; gap: 10px; }
    .trn-cu-actions { justify-content: flex-start; }
    .trn-cert-steps { flex-wrap: wrap; gap: 4px; }
    .trn-cert-step-line { width: 10px; }
}

/* ================================================================
   RESPONSIVE — Services
   ================================================================ */

@media (max-width: 1100px) {
    .shop-items-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .shop-categories-grid { grid-template-columns: 1fr; }
    .shop-items-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .shop-items-grid { grid-template-columns: 1fr; }
    .overview-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
