/* =====================================================
   SHREE COMPUTERS — Admin Dashboard CSS
===================================================== */

:root {
    --bg: #080c14;
    --bg-2: #0d1424;
    --bg-card: #101828;
    --bg-card-h: #161f35;
    --border: rgba(255, 255, 255, 0.07);
    --border-h: rgba(100, 160, 255, 0.3);
    --accent: #4f8cff;
    --accent-2: #7c5cff;
    --accent-glow: rgba(79, 140, 255, 0.15);
    --gradient: linear-gradient(135deg, #4f8cff 0%, #7c5cff 100%);
    --text: #f0f4ff;
    --text-2: #8a9bbf;
    --text-m: #4a5568;
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --success: #22c55e;
    --warning: #f59e0b;
    --radius: 14px;
    --radius-lg: 20px;
    --tr: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', sans-serif;
    --font-b: 'Inter', sans-serif;
    --sidebar-w: 240px;
    --topbar-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 140, 255, 0.3);
    border-radius: 2px;
}

/* ---- Utilities ---- */
.accent {
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--tr);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 140, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 140, 255, 0.4);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border-h);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
}

.btn-accent {
    background: rgba(79, 140, 255, 0.15);
    border: 1px solid var(--border-h);
    color: var(--accent);
}

.btn-accent:hover {
    background: rgba(79, 140, 255, 0.25);
}

.btn-danger {
    background: var(--danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
}

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   LOGIN
===================================================== */
.login-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.login-bg {
    position: absolute;
    inset: 0;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.lb-1 {
    width: 400px;
    height: 400px;
    background: rgba(79, 140, 255, 0.12);
    top: -100px;
    right: -100px;
}

.lb-2 {
    width: 300px;
    height: 300px;
    background: rgba(124, 92, 255, 0.1);
    bottom: -100px;
    left: -50px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.login-logo {
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.25rem;
}

.login-subtitle {
    text-align: center;
    color: var(--text-2);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.login-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 1.5rem;
}

.lf-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.lf-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
}

.lf-group input {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--tr);
}

.lf-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.pass-wrap {
    position: relative;
}

.pass-wrap input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-pass {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.5;
    transition: var(--tr);
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-pass:hover {
    opacity: 1;
}

.login-error {
    background: var(--danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-m);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

#googleBtnWrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
}

.login-footer a {
    font-size: 0.82rem;
    color: var(--accent);
    opacity: 0.8;
    transition: var(--tr);
}

.login-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.login-hint {
    text-align: center;
    color: var(--text-m);
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* =====================================================
   DASHBOARD LAYOUT
===================================================== */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* ---- Sidebar ---- */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    transition: transform var(--tr);
}

.sidebar-logo {
    font-family: var(--font);
    font-size: 1.3rem;
    font-weight: 800;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.sidebar-logo span {
    color: var(--accent);
    font-size: 0.75rem;
    display: block;
    font-weight: 600;
    opacity: 0.6;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--tr);
    position: relative;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.sidebar-link.active {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid var(--border-h);
}

.sl-icon {
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.sl-badge {
    margin-left: auto;
    background: var(--gradient);
    color: #fff;
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    font-weight: 700;
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.sidebar-logout {
    color: var(--danger) !important;
    opacity: 0.7;
}

.sidebar-logout:hover {
    opacity: 1;
    background: var(--danger-bg) !important;
}

/* ---- Main Content ---- */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---- Topbar ---- */
.topbar {
    height: var(--topbar-h);
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.sidebar-toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--text-2);
    padding: 0.4rem;
}

.topbar-title {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    flex: 1;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-time {
    font-size: 0.8rem;
    color: var(--text-2);
    font-family: var(--font);
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font);
    font-size: 0.9rem;
}

/* ---- Sections ---- */
.section-wrap {
    display: none;
    padding: 2.5rem 2rem;
    flex: 1;
}

.section-wrap.active {
    display: block;
}

.section-title {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
}

.section-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.section-header-row .section-title {
    margin-bottom: 0;
    flex: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-input {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.9rem;
    color: var(--text);
    font-size: 0.85rem;
    transition: var(--tr);
    width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* =====================================================
   OVERVIEW STATS
===================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--tr);
}

.stat-card:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sc-icon {
    font-size: 2rem;
}

.sc-number {
    font-family: var(--font);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sc-label {
    font-size: 0.78rem;
    color: var(--text-2);
    margin-top: 0.2rem;
}

.chart-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.chart-header {
    margin-bottom: 1.25rem;
}

.chart-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---- Content Manager & Security Cards ---- */
.content-mgr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.cm-card h3 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-m);
    margin-top: 0.5rem;
}

.service-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sb-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
}

.sb-label {
    width: 90px;
    color: var(--text-2);
    flex-shrink: 0;
}

.sb-bar-outer {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.sb-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.sb-count {
    width: 24px;
    text-align: right;
    font-weight: 600;
    color: var(--accent);
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.ri-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font);
    flex-shrink: 0;
}

.ri-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.ri-sub {
    font-size: 0.75rem;
    color: var(--text-2);
}

.ri-time {
    font-size: 0.72rem;
    color: var(--text-m);
    margin-left: auto;
}

/* =====================================================
   INQUIRIES TABLE
===================================================== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.data-table th {
    background: var(--bg-card);
    padding: 0.85rem 1rem;
    text-align: left;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    vertical-align: top;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table tbody tr {
    transition: var(--tr);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.td-name {
    color: var(--text) !important;
    font-weight: 600;
}

.tag {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid var(--border-h);
    margin: 1px;
    white-space: nowrap;
}

.del-row-btn {
    background: none;
    border: none;
    color: var(--text-m);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: var(--tr);
}

.del-row-btn:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-2);
    font-size: 0.9rem;
    display: none;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state.show {
    display: block;
}

/* =====================================================
   MODAL
===================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: var(--tr);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.fg label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
}

.fg input,
.fg textarea,
.fg select {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: var(--text);
    font-size: 0.88rem;
    transition: var(--tr);
    resize: vertical;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.fg select {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-upload-area {
    padding: 0.75rem;
    background: var(--bg);
    border: 1.5px dashed var(--border);
    border-radius: 8px;
}

.emoji-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =====================================================
   PRODUCTS ADMIN GRID
===================================================== */
.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.ap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--tr);
}

.ap-card:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
}

.ap-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--gradient);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.ap-body {
    padding: 1.1rem;
}

.ap-category {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.ap-name {
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ap-desc {
    font-size: 0.78rem;
    color: var(--text-2);
    margin-bottom: 0.75rem;
}

.ap-price {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.ap-actions {
    display: flex;
    gap: 0.5rem;
}

/* =====================================================
   REVIEWS ADMIN
===================================================== */
.reviews-admin-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ra-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--tr);
}

.ra-card:hover {
    border-color: var(--border-h);
}

.ra-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ra-body {
    flex: 1;
}

.ra-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.ra-text {
    font-size: 0.85rem;
    color: var(--text-2);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.ra-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.ra-desig {
    font-size: 0.75rem;
    color: var(--text-m);
}

.ra-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* ---- Star Picker ---- */
.star-picker {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-m);
    transition: var(--tr);
}

.star.active,
.star:hover {
    color: #fbbf24;
}

/* =====================================================
   CONTENT MANAGER
===================================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.cc-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.content-field {
    width: 100%;
}

.save-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    color: var(--success);
    font-size: 0.88rem;
    font-weight: 500;
}

/* =====================================================
   TOAST
===================================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: var(--bg-card);
    border: 1px solid var(--border-h);
    color: var(--text);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .chart-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section-wrap {
        padding: 1.5rem 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}