/* ============================================================
   Milkify Client Portal — Design System
   Based on Doma V2: Space Indigo, Steel Blue, Platinum, Poppins
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --white:             #FFFFFF;
    --space-indigo:      #182B55;
    --steel-blue:        #84A5BC;
    --alabaster:         #D3E0E2;
    --platinum:          #EFEFEF;

    --space-indigo-dark: #0F1D3D;
    --space-indigo-light:#2A3F6E;
    --space-indigo-faint:#E8EDF5;
    --steel-blue-light:  #B3CBDA;
    --steel-blue-faint:  #E5EEF3;

    --warm-gray:         #5A6B82;
    --warm-gray-light:   #8E9BAA;

    --sage:              #5B8C5A;
    --sage-deep:         #3D6B3C;
    --sage-light:        #C5D8C2;
    --honey:             #D4A853;
    --honey-light:       #F0DEB3;
    --rose:              #C25B56;
    --rose-light:        #F0D0CE;

    --color-primary:     var(--space-indigo);
    --color-primary-hover: var(--space-indigo-dark);
    --color-primary-faint: var(--space-indigo-faint);
    --color-success:     var(--sage-deep);
    --color-success-bg:  var(--sage-light);
    --color-warning:     var(--honey);
    --color-warning-bg:  var(--honey-light);
    --color-danger:      var(--rose);
    --color-danger-bg:   var(--rose-light);
    --color-info:        var(--steel-blue);
    --color-info-bg:     var(--steel-blue-faint);

    --surface-page:      var(--platinum);
    --surface-card:      var(--white);
    --surface-sidebar:   var(--space-indigo);
    --surface-input:     var(--white);

    --text-primary:      var(--space-indigo);
    --text-secondary:    #5A6B82;
    --text-on-primary:   var(--white);

    --font-body:         'Poppins', sans-serif;

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  20px;
    --radius-full: 9999px;

    --shadow-sm:  0 1px 3px rgba(24,43,85,0.06), 0 1px 2px rgba(24,43,85,0.04);
    --shadow-md:  0 4px 12px rgba(24,43,85,0.08), 0 2px 4px rgba(24,43,85,0.04);
    --shadow-lg:  0 8px 30px rgba(24,43,85,0.10), 0 4px 8px rgba(24,43,85,0.06);
    --shadow-glow: 0 0 0 3px rgba(132,165,188,0.25);

    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    --sidebar-width: 260px;
    --header-height: 60px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface-page);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-primary-hover); }
img { max-width: 100%; height: auto; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
small, .text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gentlePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.animate-in { animation: fadeUp var(--duration-slow) var(--ease-out) both; }
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- Auth Layout ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background:
        radial-gradient(ellipse at 20% 50%, rgba(24,43,85,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(132,165,188,0.08) 0%, transparent 40%),
        var(--platinum);
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
    animation: fadeUp 0.5s var(--ease-out) both;
    border: 1px solid rgba(24,43,85,0.04);
}
.auth-card__logo {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.auth-card__logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto var(--space-sm);
    display: block;
}
.auth-card__logo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}
.auth-card h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ---- Client Header ---- */
.client-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-lg);
    background: var(--surface-card);
    border-bottom: 1px solid var(--alabaster);
    box-shadow: var(--shadow-sm);
}
.client-header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}
.client-header__brand img {
    height: 32px;
    width: auto;
}
.client-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ---- Client Content ---- */
.client-content {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-lg);
    padding-bottom: var(--space-3xl);
}

/* ---- Welcome Banner ---- */
.welcome-banner {
    background: linear-gradient(135deg, var(--space-indigo) 0%, var(--space-indigo-light) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    animation: fadeUp var(--duration-slow) var(--ease-out) both;
}
.welcome-banner h1 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}
.welcome-banner p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ---- Section Headers ---- */
.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.section-header h2 {
    font-size: 1.125rem;
}
.section-header svg {
    width: 22px;
    height: 22px;
    color: var(--steel-blue);
}

/* ---- Cards ---- */
.card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(24,43,85,0.04);
    transition: box-shadow var(--duration-normal) var(--ease-out);
    margin-bottom: var(--space-md);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-interactive { cursor: pointer; }
.card-interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.card__header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--alabaster);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.card__body { padding: var(--space-lg); }
.card__footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--alabaster);
    background: rgba(211,224,226,0.2);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* MNA Report Card */
.report-card {
    border-left: 4px solid var(--steel-blue);
}
.report-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}
.report-card__notes {
    background: var(--steel-blue-faint);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    line-height: 1.5;
}
.report-card__notes strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}
.report-card__actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* Order Card */
.order-card {
    text-decoration: none;
    display: block;
    color: inherit;
}
.order-card:hover { color: inherit; }
.order-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}
.order-card__number {
    font-weight: 600;
    font-size: 1rem;
}
.order-card__date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.order-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-card__items {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- Timeline ---- */
.timeline {
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--alabaster);
}
.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__dot {
    position: absolute;
    left: -28px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 2px solid var(--steel-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-item__dot--done {
    background: var(--sage);
    border-color: var(--sage);
}
.timeline-item__dot--done svg { color: var(--white); }
.timeline-item__dot--active {
    background: var(--space-indigo);
    border-color: var(--space-indigo);
    animation: gentlePulse 2s ease-in-out infinite;
}
.timeline-item__dot svg { width: 12px; height: 12px; }
.timeline-item__label {
    font-weight: 600;
    font-size: 0.9rem;
}
.timeline-item__time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---- Order Detail Sections ---- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-lg);
}
.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
.detail-value {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

/* Item status list */
.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--alabaster);
}
.item-row:last-child { border-bottom: none; }
.item-name { font-weight: 500; font-size: 0.9rem; }
.item-variant { font-size: 0.8rem; color: var(--text-secondary); }
.item-status { text-align: right; }

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.badge-primary { background: var(--color-primary-faint); color: var(--space-indigo-dark); }
.badge-success { background: var(--color-success-bg); color: var(--sage-deep); }
.badge-warning { background: var(--color-warning-bg); color: #8B6E1A; }
.badge-danger { background: var(--color-danger-bg); color: var(--rose); }
.badge-info { background: var(--color-info-bg); color: #3D6F97; }
.badge-muted { background: var(--alabaster); color: var(--warm-gray); }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.65rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--space-indigo); color: var(--white); border-color: var(--space-indigo); }
.btn-primary:hover { background: var(--space-indigo-dark); border-color: var(--space-indigo-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; color: var(--space-indigo); border-color: var(--steel-blue); }
.btn-secondary:hover { background: var(--space-indigo-faint); border-color: var(--space-indigo); }

.btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; }
.btn-ghost:hover { background: var(--alabaster); color: var(--text-primary); }

.btn-success { background: var(--sage-deep); color: var(--white); border-color: var(--sage-deep); }
.btn-success:hover { background: #4a6d47; color: var(--white); transform: translateY(-1px); }

.btn-danger { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn-danger:hover { background: #a84d49; color: var(--white); transform: translateY(-1px); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ---- Forms ---- */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-xs); }
.form-label .required { color: var(--rose); margin-left: 2px; }
.form-hint { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
.form-control {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--surface-input);
    border: 1.5px solid var(--alabaster);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
    appearance: none;
}
.form-control::placeholder { color: var(--warm-gray-light); }
.form-control:focus { outline: none; border-color: var(--steel-blue); box-shadow: var(--shadow-glow); }
.form-control.is-invalid { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194,91,86,0.15); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
    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='%235A6B82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}
.invalid-feedback { font-size: 0.8rem; color: var(--rose); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 480px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

/* ---- Alerts ---- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border: 1px solid transparent;
    animation: fadeUp var(--duration-slow) var(--ease-out) both;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--color-success-bg); color: var(--sage-deep); border-color: var(--sage); }
.alert-danger { background: var(--color-danger-bg); color: var(--rose); border-color: var(--rose); }
.alert-warning { background: var(--color-warning-bg); color: #6B5415; border-color: var(--honey); }
.alert-info { background: var(--color-info-bg); color: #2D5F8A; border-color: var(--steel-blue); }
.alert-dismissible { position: relative; padding-right: var(--space-2xl); }
.alert-dismiss-btn {
    position: absolute; top: var(--space-sm); right: var(--space-sm);
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    color: inherit; opacity: 0.6; line-height: 1; padding: 4px;
}
.alert-dismiss-btn:hover { opacity: 1; }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    color: var(--text-secondary);
}
.empty-state svg { width: 48px; height: 48px; color: var(--warm-gray-light); margin-bottom: var(--space-md); }
.empty-state h3 { margin-bottom: var(--space-sm); color: var(--text-primary); }
.empty-state p { max-width: 360px; margin: 0 auto; font-size: 0.9rem; }

/* ---- Tables (admin) ---- */
.table-responsive { overflow-x: auto; border-radius: var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table thead { background: var(--alabaster); }
.table th { padding: 0.75rem var(--space-md); text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); white-space: nowrap; }
.table td { padding: 0.75rem var(--space-md); border-bottom: 1px solid var(--alabaster); vertical-align: middle; }
.table tbody tr { transition: background var(--duration-fast); }
.table tbody tr:hover { background: rgba(211,224,226,0.35); }
.table tbody tr:last-child td { border-bottom: none; }

/* ---- Admin Layout ---- */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--surface-sidebar);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    padding: var(--space-xl) 0;
    transition: transform var(--duration-normal) var(--ease-out);
}
.admin-sidebar__logo {
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
}
.admin-sidebar__logo img { max-width: 160px; height: auto; }
.admin-sidebar__label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-blue);
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-xl);
}
.admin-nav { list-style: none; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.65rem var(--space-lg);
    color: var(--steel-blue-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--duration-fast) var(--ease-out);
    text-decoration: none;
}
.admin-nav a svg { width: 20px; height: 20px; opacity: 0.7; flex-shrink: 0; }
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav a:hover svg { opacity: 1; }
.admin-nav a.active { background: rgba(255,255,255,0.12); color: var(--white); font-weight: 600; border-left: 3px solid var(--steel-blue); }
.admin-nav a.active svg { opacity: 1; }

.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: var(--space-xl) var(--space-2xl);
    max-width: 1100px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}
.admin-topbar h1 { font-size: 1.5rem; }

/* ---- Search Bar ---- */
.search-bar {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}
.search-bar .form-control { flex: 1; }

/* ---- File Upload ---- */
.file-upload-area {
    border: 2px dashed var(--alabaster);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--duration-fast);
    cursor: pointer;
}
.file-upload-area:hover { border-color: var(--steel-blue); background: var(--steel-blue-faint); }
.file-upload-area.drag-over { border-color: var(--space-indigo); background: var(--space-indigo-faint); }
.file-upload-area svg { width: 40px; height: 40px; color: var(--warm-gray-light); margin-bottom: var(--space-sm); }
.file-upload-area p { color: var(--text-secondary); font-size: 0.9rem; }
.file-upload-area input[type="file"] { display: none; }

/* ---- Modal ---- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(15,29,61,0.5);
    display: none; align-items: center; justify-content: center;
    z-index: 200; padding: var(--space-lg);
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--surface-card); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); max-width: 480px; width: 100%;
    padding: var(--space-2xl); animation: fadeUp 0.3s var(--ease-out);
}
.modal h3 { margin-bottom: var(--space-md); }
.modal__actions { display: flex; gap: var(--space-sm); justify-content: flex-end; margin-top: var(--space-xl); }

/* ---- Mobile Admin ---- */
@media (max-width: 767px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
        padding: var(--space-lg);
    }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: var(--text-primary);
        cursor: pointer;
        border-radius: var(--radius-md);
    }
    .mobile-menu-toggle:hover { background: var(--alabaster); }
    .search-bar { flex-direction: column; }
}
@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
    .mobile-overlay { display: none !important; }
}

/* Mobile overlay for admin sidebar */
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(15,29,61,0.4);
    z-index: 99; display: none;
}
.mobile-overlay.active { display: block; }

/* ---- Customer Cell (reports table) ---- */
.customer-cell__name { font-weight: 600; font-size: 0.9rem; }
.customer-cell__email { font-size: 0.75rem; color: var(--text-secondary); }

/* ---- Stats Grid ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
@media (max-width: 767px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--space-indigo); line-height: 1.2; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: var(--space-xs); }

/* ---- Activity Feed (dashboard) ---- */
.activity-feed { list-style: none; }
.activity-feed__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--alabaster);
    font-size: 0.85rem;
}
.activity-feed__item:last-child { border-bottom: none; }
.activity-feed__time { font-size: 0.72rem; color: var(--text-secondary); white-space: nowrap; min-width: 70px; padding-top: 2px; }
.activity-feed__text { flex: 1; line-height: 1.4; }
.activity-feed__admin { font-weight: 600; }

/* ---- Filter Bar (activity log) ---- */
.filter-bar { display: flex; gap: var(--space-sm); margin-bottom: var(--space-lg); flex-wrap: wrap; align-items: end; }
.filter-bar .form-group { margin-bottom: 0; }
.filter-bar select.form-control { min-width: 160px; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-sm); padding: var(--space-lg) 0; }
.pagination__info { font-size: 0.85rem; color: var(--text-secondary); }

/* ---- Existing Reports Indicator ---- */
.has-report-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); margin-right: 4px; }

/* ---- Utilities ---- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
