/* Ziro Browser Admin Dashboard Styling */
:root {
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sidebar-width: 260px;
    --card-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

body {
    font-family: var(--font-family);
    letter-spacing: -0.01em;
}

.fs-7 { font-size: 0.85rem; }
.fs-8 { font-size: 0.75rem; }

.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1040;
}

@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }
    .sidebar.show {
        left: 0;
    }
}

.nav-pills .nav-link {
    color: var(--bs-body-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

.nav-pills .nav-link.active {
    background-color: var(--bs-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.card {
    border-radius: var(--border-radius);
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.badge-soft-primary { background-color: rgba(13, 110, 253, 0.12); color: #0d6efd; }
.badge-soft-success { background-color: rgba(25, 135, 84, 0.12); color: #198754; }
.badge-soft-warning { background-color: rgba(255, 193, 7, 0.15); color: #b48500; }
.badge-soft-danger { background-color: rgba(220, 53, 69, 0.12); color: #dc3545; }
.badge-soft-info { background-color: rgba(13, 202, 240, 0.15); color: #0aa2c0; }

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 150, 0.5);
}

[data-bs-theme="dark"] .card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
[data-bs-theme="dark"] .badge-soft-primary { background-color: rgba(13, 110, 253, 0.25); color: #6ea8fe; }
[data-bs-theme="dark"] .badge-soft-success { background-color: rgba(25, 135, 84, 0.25); color: #75b798; }
[data-bs-theme="dark"] .badge-soft-warning { background-color: rgba(255, 193, 7, 0.25); color: #ffda6a; }
[data-bs-theme="dark"] .badge-soft-danger { background-color: rgba(220, 53, 69, 0.25); color: #ea868f; }
[data-bs-theme="dark"] .badge-soft-info { background-color: rgba(13, 202, 240, 0.25); color: #6edff6; }
