/* =========================================================
   THE VET NURSE HUB — FULL BRAND APPLICATION (WEB)
   Brand: Navy, Teal, Sunny Yellow, Coral, Cream, Lavender, Peach
   Type: Fredoka (Rounded, friendly, student-centred)
   ========================================================= */

/* 1. TYPOGRAPHY IMPORT */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap");

/* 2. DESIGN TOKENS */
:root {
    /* Core brand colours */
    --navy: #123055;         /* Headers, nav, strong text */
    --teal: #15c6bf;         /* Primary buttons, accents, CTAs */
    --yellow: #ffd65a;       /* Highlights, friendly warnings, active */
    --coral: #f45562;        /* Errors, alerts, important badges */
    --blueberry: #234A8F;

    /* Supporting colours */
    --cream: #fef5cf;        /* Warm backgrounds, cards */
    --lavender: #9454d4;     /* Icons, secondary buttons */
    --peach: #f25c84;        /* Micro-highlights, decorative */

    /* Utility colours */
    --success: #70e4a5;
    --warning: #ffaa44;
    --error-soft: #f45562;
    --error-strong: #b41f2c;
    --disabled: #c7ced4;
    --text-dark: #10223a;
    --text-light: #f8fafc;

    /* Backgrounds */
    --bg-main: #fef5cf;
    --bg-soft: #f9fafb;
    --bg-card: #ffffff;

    /* Shadows & borders */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.12);
    --border-subtle: 1px solid rgba(0, 0, 0, 0.04);

    /* Radius (8px spacing rule) */
    --radius-card: 16px;   /* cards: 12–16px */
    --radius-btn: 12px;    /* buttons: 12px */
    --radius-input: 10px;  /* inputs: 10px */
    --radius-modal: 20px;
    --radius-pill: 999px;

    /* Spacing (8px system) */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;

    /* Typography */
    --font-primary: "Fredoka", "Segoe UI", Arial, sans-serif;

    --fz-body: 16px;    /* body 16–18px */
    --fz-small: 14px;   /* labels 13–14px */
    --fz-btn: 16px;     /* button text 16–18px */
    --fz-h1: 32px;      /* H1 32px */
    --fz-h2: 28px;      /* H2 28px */
    --fz-h3: 22px;      /* H3 22–24px */
    --fz-page-title: 36px;

    --lh-body: 1.5;
    --lh-heading: 1.2;
}

/* 3. GLOBAL RESET & BASE STYLES */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: var(--fz-body);
    font-weight: 400;
    color: var(--text-dark);
    line-height: var(--lh-body);
    background: linear-gradient(135deg, #e0faff 0%, #fff7db 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
    opacity: 0.9;
}

/* Layout wrapper */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1 0 auto;
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-32) var(--space-16) var(--space-48);
}

/* 4. HEADINGS */

h1, h2, h3 {
    font-family: var(--font-primary);
    margin: 0 0 var(--space-12);
    line-height: var(--lh-heading);
    color: var(--navy);
}

h1 {
    font-size: var(--fz-h1);
    font-weight: 600;
}

h2 {
    font-size: var(--fz-h2);
    font-weight: 500;
}

h3 {
    font-size: var(--fz-h3);
    font-weight: 500;
}

/* 4.x FEATURE & PAW LISTS
   – Global, reusable, and hero-friendly
   ---------------------------------------- */

/* Global: feature-style lists without browser bullets */
.hero-points,
.tool-list,
.simple-list,
.dashboard-checklist,
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Base reusable feature list */
.feature-list li {
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
}

@media (max-width: 640px) {
    .feature-list li {
        margin-bottom: 6px;
    }
}

/* Compact variant for cards / dashboard / tighter spaces */
.feature-list--compact li {
    padding: 8px 12px 8px 32px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* ================================
   Paw List: animated, highlighted
   ================================ */

/* Shared animations (used by all paw lists, including hero) */
@keyframes featureFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkleTeal {
    0% {
        transform: translateY(-50%) scale(0.2);
        opacity: 0;
        box-shadow: 0 0 0 rgba(21, 198, 191, 0.0);
    }
    40% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(21, 198, 191, 0.7);
    }
    100% {
        transform: translateY(-50%) scale(0.4);
        opacity: 0;
        box-shadow: 0 0 0 rgba(21, 198, 191, 0.0);
    }
}

/* Base paw list item (used by hero + dashboard + anywhere else) */
.feature-list--paw li {
    background: rgba(255, 214, 90, 0.22); /* soft Sunny Yellow */
    padding: 12px 16px 12px 40px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    opacity: 0;
    animation: featureFadeIn 0.6s ease forwards;
}

/* Paw icon */
.feature-list--paw li::before {
    content: "🐾";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
}

/* Teal sparkle */
.feature-list--paw li::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    transform: translateY(-50%) scale(0.2);
    opacity: 0;
    pointer-events: none;
}

.feature-list--paw li:hover::after {
    animation: sparkleTeal 0.6s ease-out forwards;
}

/* Hover glow + lift */
.feature-list--paw li:hover {
    box-shadow: 0 4px 12px rgba(21, 198, 191, 0.25);
    background: rgba(255, 214, 90, 0.30);
    transform: translateY(-2px);
    transition: all 0.25s ease;
}

/* Desktop stagger timing (first 4 items) */
.feature-list--paw li:nth-child(1) { animation-delay: 0.2s; }
.feature-list--paw li:nth-child(2) { animation-delay: 0.6s; }
.feature-list--paw li:nth-child(3) { animation-delay: 1.0s; }
.feature-list--paw li:nth-child(4) { animation-delay: 1.4s; }

/* Mobile-friendly timing: faster, less delay */
@media (max-width: 640px) {
    .feature-list--paw li {
        animation-duration: 0.45s;
    }

    .feature-list--paw li:nth-child(1) { animation-delay: 0.05s; }
    .feature-list--paw li:nth-child(2) { animation-delay: 0.25s; }
    .feature-list--paw li:nth-child(3) { animation-delay: 0.45s; }
    .feature-list--paw li:nth-child(4) { animation-delay: 0.65s; }
}

/* When paw + compact are combined (dashboard “Start here” etc.) */
.feature-list--paw.feature-list--compact li,
.feature-list.feature-list--paw.feature-list--compact li {
    padding: 8px 12px 8px 32px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    animation-duration: 0.35s;
}

.feature-list--paw.feature-list--compact li:nth-child(1) { animation-delay: 0.05s; }
.feature-list--paw.feature-list--compact li:nth-child(2) { animation-delay: 0.18s; }
.feature-list--paw.feature-list--compact li:nth-child(3) { animation-delay: 0.30s; }
.feature-list--paw.feature-list--compact li:nth-child(4) { animation-delay: 0.42s; }

@media (max-width: 640px) {
    .feature-list--paw.feature-list--compact li {
        animation-duration: 0.30s;
    }
}

/* Hero-specific small tweak */
.hero-points-strong {
    margin-top: 6px;
}
.hero-points-strong li {
    font-size: 0.95rem;
}

/* 5. HEADER & NAVIGATION */
/* Desktop nav bar */
.header {
    background: var(--blueberry);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.header-logo {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    padding: 0;
    background: none;
    box-shadow: none;
    object-fit: contain;
}

.header-text h1 {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: #ffffff;
}

.subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.85);
}

/* Logged in pill */
.logged-in-label {
    margin-left: var(--space-8);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(21, 198, 191, 0.22);
    border: 1px solid rgba(21, 198, 191, 0.6);
    color: #e0fdf8;
    font-size: 0.75rem;
}

/* Navigation links */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.nav-menu a {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--blueberry);
    position: relative;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
}

.nav-user-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-left: 8px;
}
.nav-admin {
    font-weight: 600;
}

/* Active state (optional: add "nav-active" class in HTML if desired) */
.nav-menu a.nav-active::after {
    background: var(--teal); /* active page Teal bottom border */
}

/* CTA / Login / Logout buttons in nav */

.nav-cta {
    background: var(--teal);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(21, 198, 191, 0.4);
}

.nav-login {
    padding: 6px 12px;
    border-radius: var(--radius-btn);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: transparent;
}

.nav-logout-btn {
    background: var(--coral);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(244, 85, 98, 0.4);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

.nav-toggle-line {
    display: block;
    height: 2px;
    width: 20px;
    margin: 3px 0;
    background: #f8fafc;
    border-radius: 999px;
}

/* 6. HERO SECTION */

.hero {
    padding: var(--space-64) var(--space-16) var(--space-32);
    background: linear-gradient(135deg, var(--teal) 0%, var(--yellow) 100%);
    color: #10223a; /* darker text for contrast */
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-32);
    align-items: center;
}

.hero-left {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    margin: 0 0 8px;
    font-weight: 600;
}

.hero-heading {
    font-size: var(--fz-page-title);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 12px;
}

.hero-body {
    margin-bottom: 16px;
    color: rgba(241, 245, 249, 0.92);
    font-size: 1rem;
}

/* Hero actions */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

/* Primary button (CTA) */

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    border-radius: var(--radius-btn);
    padding: 10px 20px;
    color: #ffffff;
    font-weight: 600;
    font-size: var(--fz-btn);
    border: none;
    box-shadow: 0 6px 18px rgba(21, 198, 191, 0.6);
}

/* Secondary ghost button */

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    padding: 9px 18px;
    border: 2px solid rgba(248, 250, 252, 0.8);
    background: transparent;
    color: #f9fafb;
    font-size: 0.95rem;
}

.hero-points {
    padding-left: 1.3rem;
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.9);
}

/* Soft yellow highlight behind hero points (hero uses global paw feature list) */
.hero-points-strong {
    margin-top: 6px;
}

.hero-points-strong li {
    font-size: 0.95rem;
}
/* Hero illustration */

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-circle {
    width: min(360px, 70vw);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--yellow) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-image {
    width: 82%;
    transform: translateY(4px);
}

/* 7. GENERIC CARD / PAGE SECTIONS */

.page-card {
    margin-top: var(--space-24);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
    padding: var(--space-24);
}

/* 8. FORMS & INPUTS */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    max-width: 420px;
    margin-top: var(--space-16);
}

.auth-form label {
    font-size: var(--fz-small);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="file"] {
    font-size: 0.95rem;
    border-radius: var(--radius-input);
    border: 2px solid var(--disabled);
    padding: 10px 12px;
    outline: none;
    background-color: #ffffff;
    transition:
            border-color 0.16s ease,
            box-shadow 0.16s ease,
            background-color 0.16s ease;
}

.auth-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(21, 198, 191, 0.3);
    background-color: #ffffff;
}

/* Remember-me checkbox */

.remember-me-label {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
}

/* 9. BUTTON SYSTEM */

/* Primary button (teal) */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    border: none;
    background: var(--teal);
    color: #ffffff;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: 600;
    font-size: var(--fz-btn);
    box-shadow: 0 6px 18px rgba(21, 198, 191, 0.6);
}

/* Secondary button (navy outline) */

.btn-secondary {
    border-radius: var(--radius-btn);
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    padding: 8px 18px;
    font-weight: 500;
}

/* Warning button (soft, sunny yellow) */

.btn-warning {
    border-radius: var(--radius-btn);
    border: none;
    background: var(--yellow);
    color: var(--navy);
    padding: 8px 18px;
    font-weight: 600;
}

/* Error button (coral) */

.btn-error {
    border-radius: var(--radius-btn);
    border: none;
    background: var(--coral);
    color: #ffffff;
    padding: 8px 18px;
    font-weight: 600;
}

/* 10. STATUS MESSAGES */

.error-box {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    background: rgba(244, 85, 98, 0.15);
    border: 1px solid rgba(180, 31, 44, 0.6);
    color: var(--error-strong);
    font-size: 0.9rem;
}

.success-box {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    background: rgba(112, 228, 165, 0.18);
    border: 1px solid rgba(112, 228, 165, 0.8);
    color: #14532d;
    font-size: 0.9rem;
}

.success-box--hidden {
    display: none;
}

/* Toast success */

.toast-success {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: #16a34a;
    color: #f9fafb;
    font-size: 0.9rem;
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.45);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.toast-success.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 11. PROFILE PAGE */

.profile-section {
    margin-top: var(--space-24);
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: var(--space-16);
}

/* 12. DASHBOARD & “START HERE” */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-16);
    margin-top: var(--space-24);
}

.dash-card {
    border-radius: var(--radius-card);
    padding: var(--space-24);
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.dash-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Start here banner */

.start-here-banner {
    border-radius: var(--radius-card);
    padding: var(--space-16);
    background: linear-gradient(135deg, var(--teal) 0%, var(--yellow) 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.start-here-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.start-here-actions .start-link {
    font-weight: 600;
    color: var(--blueberry);
    text-decoration: underline;
}

.start-here-actions .btn-primary {
    background: var(--teal);
    color: white;
    font-weight: 600;
    border-radius: 12px;
}

.start-here-banner h2,
.start-here-banner p {
    color: #0f172a;
}

/* My progress */

.progress-box {
    margin-top: var(--space-24);
    border-radius: var(--radius-card);
    padding: var(--space-16);
    background: var(--bg-soft);
    border: 1px dashed rgba(148, 163, 184, 0.6);
    font-size: 0.9rem;
}

/* 13. FOOTER */

.footer {
    flex-shrink: 0;
    padding: var(--space-24) var(--space-16) var(--space-24);
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, var(--blueberry) 0%, var(--teal) 100%);
    color: var(--text-light);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.footer-links {
    font-size: 0.82rem;
    color: rgba(241, 245, 249, 0.85);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-links a {
    color: rgba(241, 245, 249, 0.85);
}

.footer-links span {
    color: rgba(148, 163, 184, 0.9);
}

.footer-copy {
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.9);
}

/* 14. 404 PAGE */

.error-404 {
    max-width: 640px;
    margin: var(--space-48) auto;
    text-align: center;
    padding: var(--space-24);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
}

.error-404 img {
    max-width: 180px;
    margin: 0 auto var(--space-16);
}

.report-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--teal);
    color: #ffffff;
    font-size: 0.85rem;
}

/* 15. RESPONSIVE RULES */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .hero {
        padding-top: var(--space-48);
    }

    .hero-right {
        justify-content: flex-start;
    }

    .dashboard-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: wrap;
    }

    /* Mobile nav: slide-out style */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        padding: 10px 14px;
        border-radius: 14px;
        position: absolute;
        top: 56px;
        right: 16px;
        box-shadow: var(--shadow-soft);
        color: var(--navy);
    }

    .nav-menu a {
        color: var(--blueberry);
    }

    .nav-menu.nav-menu--open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .page-card {
        padding: 18px 14px 18px;
    }

    .dashboard-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 1.8rem;
    }

    .hero-btn-primary,
    .hero-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .header-logo {
        width: 46px;
        height: 46px;
    }
}

/* =========================================================
   PROFILE COMPLETENESS CARD
   ========================================================= */

.profile-complete-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
}

.profile-complete-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.profile-card-hint {
    font-size: 0.85rem;
    color: #475569;
}

/* Progress bar */
.profile-progress-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.profile-progress-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 999px;
    transition: width 0.5s ease-in-out;
}

/* Step checklist */
.profile-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-step-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.95rem;
}

.step-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    font-size: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Animated Complete ✓ */
.step-complete {
    background: var(--teal);
    color: #ffffff;
    transform: scale(1);
    animation: popIn 0.4s ease;
}

/* Pending • */
.step-incomplete {
    background: #e2e8f0;
    color: #64748b;
}

@keyframes popIn {
    0%   { transform: scale(0.4); opacity: 0; }
    70%  { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.step-done span {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
}

.step-pending span {
    color: #64748b;
}

/* DASHBOARD PROFILE STATUS */
.dash-complete-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
    margin-top: 16px;
    font-size: 0.9rem;
}

.dash-small-text {
    font-size: 0.82rem;
    color: #475569;
    margin-top: -4px;
}

.dash-progress {
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0;
}

.dash-progress-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.dash-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dash-checklist li {
    padding: 3px 0;
    font-size: 0.85rem;
    color: #475569;
}

.dash-check-done {
    color: var(--navy);
    font-weight: 500;
}

/* LEGAL PAGES */

.legal-wrapper {
    max-width: 900px;
    margin: 32px auto 48px;
    padding: 0 16px;
}

.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(35, 74, 143, 0.08); /* ties into #234A8F */
    color: #234a8f;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.legal-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.legal-card {
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
}

.legal-card h1 {
    margin-top: 0;
    margin-bottom: 12px;
}

.legal-card h2 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.legal-card p {
    font-size: 0.95rem;
}

.legal-note {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef5cf;
    border: 1px solid rgba(255, 214, 90, 0.7);
    font-size: 0.9rem;
}

.legal-updated {
    margin-top: -6px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #475569;
    font-style: italic;
}

/* DASHBOARD HEADER WITH AVATAR */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-header-text h1 {
    margin: 0 0 6px;
}

.dashboard-header-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar link wrapper */
.dashboard-avatar-link {
    display: inline-flex;
    text-decoration: none;
}

/* Gradient halo behind avatar (matches hero gradient) */
.dashboard-avatar-halo {
    position: relative;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(
            135deg,
            var(--blueberry) 0%,
            var(--teal) 45%,
            var(--yellow) 100%
    );
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* Avatar image – 25% larger than 70px → 88px */
.dashboard-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    display: block;
}

/* Status dot (online / recently active) */
.dashboard-avatar-status {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success); /* currently 'online' */
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}

/* TOOLS PAGE */

.tool-feature-card {
    margin-top: 24px;
    border-radius: 16px;
    padding: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: var(--border-subtle);
}

.tool-result-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
}

.tool-disclaimer {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Tools grid for future tools */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.tool-card {
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: var(--border-subtle);
    font-size: 0.9rem;
}

.tool-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1rem;
}

.tool-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.tool-tag-soon {
    background: #fef5cf;
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.7);
}

@media (max-width: 720px) {
    .tool-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.btn-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    background: var(--teal);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.back-to-tools-btn {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
}
.tool-react-shell {
    margin-top: 12px;
}
.tool-shell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.tool-shell-header-text h1 {
    margin: 0 0 6px;
}
.tool-shell-header-text p {
    margin: 0;
    font-size: 0.95rem;
}

/* RESOURCES PAGE */

.resource-category {
    margin-top: 24px;
    padding-top: 8px;
    border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.resource-category h3 {
    margin-bottom: 8px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.resource-card {
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: var(--border-subtle);
    font-size: 0.9rem;
}

.resource-card h4 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1rem;
}

.resource-card p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .resource-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    text-align: left;
    background: #f9fafb;
    color: var(--blueberry, #234a8f);
}

.admin-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 12px 0 16px;
}

.admin-filter-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.btn-small {
    padding: 6px 10px;
    font-size: 0.8rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.pagination a {
    text-decoration: none;
}

.chart-bars {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.chart-bar-label {
    width: 90px;
    flex-shrink: 0;
}

.chart-bar-track {
    flex: 1;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.3);
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--teal, #15c6bf);
    transition: width 0.2s ease-out;
}

.chart-bar-value {
    width: 40px;
    flex-shrink: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.simple-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.simple-list li + li {
    margin-top: 8px;
}

.muted {
    font-size: 0.8rem;
    color: #64748b;
}
