﻿/* =============================================================
   SVCDispatch — Site.css
   Global stylesheet. Include BEFORE Mobile.css in Site.Master <head>
   Load order in Site.Master:
     1. Google Fonts (link tag)
     2. Site.css      ← this file
     3. Mobile.css    ← overrides at breakpoints
     4. Page-specific <asp:Content ContentPlaceHolderID="HeadContent">
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. RESET & BOX MODEL
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-b);
    background: var(--off);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

    a:hover {
        color: var(--blue2);
    }

ul, ol {
    list-style: none;
}

button {
    font-family: var(--font-b);
    cursor: pointer;
}

input, select, textarea {
    font-family: var(--font-b);
}


/* ─────────────────────────────────────────────────────────────
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   Tenant-overridable via inline <style> injected by Site.Master
───────────────────────────────────────────────────────────── */
:root {
    /* ── Palette ── */
    --white: #FFFFFF;
    --off: #F7F8FC;
    --off2: #EEF0F7;
    --slate: #F0F2F8;
    --ink: #0A0E1A;
    --ink2: #1A2035;
    --body: #4A5270;
    --muted: #8892AA;
    --border: #E2E6F0;
    --border2: #CDD3E5;
    /* ── Brand Blue ── */
    --blue: #2563EB;
    --blue2: #1D4ED8;
    --blue-lt: #EEF3FD;
    --blue-md: #DBEAFE;
    /* ── Semantic Colors ── */
    --green: #059669; /* success, confirmed, released */
    --green2: #10B981; /* lighter green accent */
    --green-lt: #D1FAE5;
    --amber: #F59E0B; /* warning, pending, shortlisted */
    --amber-lt: #FEF3C7;
    --amber-dk: #92400E;
    --red: #DC2626; /* error, dispute, frozen */
    --red2: #B91C1C;
    --red-lt: #FEE2E2;
    --red-dk: #991B1B;
    --orange: #EA580C; /* awaiting funding, urgent */
    --orange-lt: #FFF7ED;
    --purple: #7C3AED; /* in-progress */
    --purple-lt: #EDE9FE;
    --teal: #0D9488; /* payout processing, completed */
    --teal-lt: #CCFBF1;
    --cyan: #0EA5E9;
    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px rgba(10,14,26,.06), 0 1px 2px rgba(10,14,26,.04);
    --shadow: 0 4px 16px rgba(10,14,26,.08), 0 2px 4px rgba(10,14,26,.04);
    --shadow-lg: 0 12px 40px rgba(10,14,26,.10), 0 4px 12px rgba(10,14,26,.06);
    --shadow-xl: 0 24px 64px rgba(10,14,26,.14);
    /* ── Glow Shadows ── */
    --blue-glow: 0 6px 24px rgba(37,99,235,.22);
    --green-glow: 0 6px 24px rgba(5,150,105,.25);
    --red-glow: 0 6px 24px rgba(220,38,38,.20);
    --amber-glow: 0 6px 24px rgba(245,158,11,.20);
    /* ── Typography ── */
    --font-h: 'Fraunces', serif;
    --font-b: 'Plus Jakarta Sans', sans-serif;
    /* ── Spacing ── */
    --page-pad: 5%;
    --nav-h: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}


/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHY SCALE
───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 0.95rem;
}

p {
    color: var(--body);
    line-height: 1.75;
    font-size: 0.9rem;
}

/* Heading modifiers */
.h-serif {
    font-family: var(--font-h);
}

.h-italic {
    font-style: italic;
}

.h-blue {
    color: var(--blue);
}

.h-green {
    color: var(--green);
}

.h-white {
    color: var(--white);
}

/* Section eyebrow labels */
.eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.71rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    margin-bottom: 0.75rem;
}

.eyebrow-blue {
    background: var(--blue-lt);
    color: var(--blue);
    border: 1px solid rgba(37,99,235,.15);
}

.eyebrow-green {
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(5,150,105,.2);
}

.eyebrow-amber {
    background: var(--amber-lt);
    color: var(--amber-dk);
    border: 1px solid rgba(245,158,11,.25);
}

.eyebrow-purple {
    background: var(--purple-lt);
    color: var(--purple);
    border: 1px solid rgba(124,58,237,.15);
}


/* ─────────────────────────────────────────────────────────────
   4. NAVIGATION
───────────────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    padding: 0 var(--page-pad);
    gap: 1.5rem;
}

.nav-logo {
    font-family: var(--font-b);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    flex-shrink: 0;
}

    .nav-logo span {
        color: var(--blue);
    }

.nav-logo-icon {
    width: 30px;
    height: 30px;
    background: var(--blue);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    list-style: none;
}

    .nav-links a {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--body);
        transition: color 0.2s;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--blue);
            font-weight: 700;
        }

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Sign In link */
.nav-signin {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--body);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

    .nav-signin:hover {
        color: var(--blue);
        background: var(--blue-lt);
    }

/* Get Started CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    background: var(--blue);
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    white-space: nowrap;
}

    .nav-cta:hover {
        background: var(--blue2);
        box-shadow: var(--blue-glow);
        transform: translateY(-1px);
        color: var(--white);
    }

/* ─────────────────────────────────────────────────────────────
   5. BUTTONS
───────────────────────────────────────────────────────────── */

/* Base button reset */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-b);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent, rgba(255,255,255,.08));
        pointer-events: none;
    }

    .btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

/* Variants */
.btn-primary {
    background: var(--blue);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--blue2);
        box-shadow: var(--blue-glow);
        transform: translateY(-1px);
    }

.btn-success {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--green-glow);
}

    .btn-success:hover {
        background: #047857;
        transform: translateY(-1px);
    }

.btn-danger {
    background: var(--red);
    color: var(--white);
}

    .btn-danger:hover {
        background: var(--red2);
        box-shadow: var(--red-glow);
    }

.btn-warning {
    background: var(--orange);
    color: var(--white);
}

    .btn-warning:hover {
        background: var(--red);
    }

.btn-ghost {
    background: var(--white);
    color: var(--body);
    border: 1.5px solid var(--border2);
}

    .btn-ghost:hover {
        color: var(--ink);
        border-color: var(--ink);
        background: var(--off);
    }

.btn-ghost-blue {
    background: var(--white);
    color: var(--blue);
    border: 1.5px solid rgba(37,99,235,.3);
}

    .btn-ghost-blue:hover {
        background: var(--blue-lt);
        border-color: var(--blue);
    }

.btn-ghost-white {
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.15);
}

    .btn-ghost-white:hover {
        background: rgba(255,255,255,.14);
        color: var(--white);
    }

/* Sizes */
.btn-sm {
    font-size: 0.78rem;
    padding: 0.38rem 0.85rem;
    border-radius: 8px;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

/* Loading state */
.btn.loading {
    pointer-events: none;
}

.btn-spinner {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ─────────────────────────────────────────────────────────────
   6. FORM CONTROLS
───────────────────────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

    .form-label .req {
        color: var(--red);
        font-size: 0.7rem;
    }

    .form-label .opt {
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 500;
    }

    .form-label .link {
        color: var(--blue);
        font-size: 0.73rem;
        font-weight: 600;
        text-decoration: none;
    }

        .form-label .link:hover {
            color: var(--blue2);
        }

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-b);
    font-size: 0.9rem; /* minimum 16px rendered = no iOS zoom */
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--border2);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    appearance: none;
}

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(37,99,235,.09);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: var(--muted);
    }

    .form-input.error,
    .form-select.error,
    .form-textarea.error {
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }

.form-select {
    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='%238892AA' 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 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.65;
}

/* Input group (prefix/suffix) */
.input-group {
    display: grid;
    grid-template-columns: auto 1fr;
    background: var(--white);
    border: 1.5px solid var(--border2);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .input-group:focus-within {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(37,99,235,.09);
    }

.input-group-prefix {
    padding: 0 0.75rem 0 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    background: var(--off);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.input-group input {
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-b);
    font-size: 0.9rem;
    color: var(--ink);
    padding: 0.65rem 0.9rem;
    width: 100%;
}

/* Form grid helpers */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

/* Char counter */
.char-count {
    font-size: 0.71rem;
    color: var(--muted);
    text-align: right;
    margin-top: 0.2rem;
}

/* Field hint */
.field-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.2rem;
    line-height: 1.55;
}

/* Checkbox / toggle row */
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.18s;
    margin-bottom: 0.5rem;
}

    .check-row:hover {
        border-color: var(--blue);
        background: var(--blue-lt);
    }

    .check-row.checked {
        border-color: var(--blue);
        background: var(--blue-lt);
    }

        .check-row.checked.green {
            border-color: var(--green);
            background: var(--green-lt);
        }

.check-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--border2);
    background: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 0.1rem;
    transition: all 0.15s;
}

.check-row.checked .check-box {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.check-row.checked.green .check-box {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.check-row-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
}

.check-row-sub {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 0.1rem;
    line-height: 1.5;
}

/* Password strength */
.pwd-strength {
    margin-top: 0.35rem;
}

.pwd-bars {
    display: flex;
    gap: 3px;
    margin-bottom: 0.3rem;
}

.pwd-seg {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    transition: background 0.3s;
}

.pwd-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
}

/* Error / success messages */
.form-error,
.form-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9px;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

    .form-error.show,
    .form-success.show {
        display: flex;
    }

.form-error {
    background: var(--red-lt);
    border: 1px solid rgba(220,38,38,.25);
    color: var(--red);
}

.form-success {
    background: var(--green-lt);
    border: 1px solid rgba(5,150,105,.25);
    color: var(--green);
}


/* ─────────────────────────────────────────────────────────────
   7. CARDS
───────────────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

    .card:hover {
        box-shadow: var(--shadow);
    }

.card-sm {
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
}

.card-xl {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.card-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.3px;
}

/* Card icon badge */
.card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ci-blue {
    background: var(--blue-lt);
    border: 1px solid rgba(37,99,235,.15);
}

.ci-green {
    background: var(--green-lt);
    border: 1px solid rgba(5,150,105,.20);
}

.ci-amber {
    background: var(--amber-lt);
    border: 1px solid rgba(245,158,11,.20);
}

.ci-purple {
    background: var(--purple-lt);
    border: 1px solid rgba(124,58,237,.15);
}

.ci-teal {
    background: var(--teal-lt);
    border: 1px solid rgba(13,148,136,.20);
}

.ci-red {
    background: var(--red-lt);
    border: 1px solid rgba(220,38,38,.20);
}

.ci-orange {
    background: var(--orange-lt);
    border: 1px solid rgba(234,88,12,.20);
}

/* Animated entrance */
.card-appear {
    animation: fadeUp 0.35s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger helpers */
.delay-1 {
    animation-delay: 0.06s;
}

.delay-2 {
    animation-delay: 0.12s;
}

.delay-3 {
    animation-delay: 0.18s;
}

.delay-4 {
    animation-delay: 0.24s;
}

.delay-5 {
    animation-delay: 0.30s;
}


/* ─────────────────────────────────────────────────────────────
   8. KPI / STAT TILES
───────────────────────────────────────────────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kpi-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

    .kpi-card:hover {
        box-shadow: var(--shadow);
    }

.kpi-label {
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.kpi-value {
    font-family: var(--font-h);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.2rem;
}

    .kpi-value.blue {
        color: var(--blue);
    }

    .kpi-value.green {
        color: var(--green);
    }

    .kpi-value.amber {
        color: var(--amber-dk);
    }

    .kpi-value.red {
        color: var(--red);
    }

    .kpi-value.purple {
        color: var(--purple);
    }

.kpi-sub {
    font-size: 0.73rem;
    color: var(--muted);
}

/* Dark hero KPI strip (for project/tech dashboard heroes) */
.dark-kpi-strip {
    display: grid;
    gap: 1px;
    background: rgba(255,255,255,.07);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
}

.dkpi {
    padding: 0.85rem 1.1rem;
    background: rgba(255,255,255,.03);
}

.dkpi-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.35);
    margin-bottom: 0.2rem;
}

.dkpi-value {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

    .dkpi-value.g {
        color: #6EE7B7;
    }

    .dkpi-value.b {
        color: #93C5FD;
    }

    .dkpi-value.a {
        color: #FCD34D;
    }

    .dkpi-value.r {
        color: #FCA5A5;
    }

.dkpi-sub {
    font-size: 0.62rem;
    color: rgba(255,255,255,.32);
    margin-top: 0.15rem;
}


/* ─────────────────────────────────────────────────────────────
   9. STATUS CHIPS / BADGES
───────────────────────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
}

/* Job status chips */
.chip-booked {
    background: var(--blue-lt);
    color: var(--blue);
    border: 1px solid rgba(37,99,235,.2);
}

.chip-diag {
    background: var(--amber-lt);
    color: var(--amber-dk);
    border: 1px solid rgba(245,158,11,.3);
}

.chip-est {
    background: var(--blue-lt);
    color: var(--blue);
    border: 1px solid rgba(37,99,235,.2);
}

.chip-approved {
    background: var(--teal-lt);
    color: var(--teal);
    border: 1px solid rgba(13,148,136,.25);
}

.chip-inprog {
    background: var(--purple-lt);
    color: var(--purple);
    border: 1px solid rgba(124,58,237,.2);
}

.chip-pend-conf {
    background: var(--amber-lt);
    color: var(--amber-dk);
    border: 1px solid rgba(245,158,11,.3);
}

.chip-complete {
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(5,150,105,.2);
}

.chip-disputed {
    background: var(--red-lt);
    color: var(--red);
    border: 1px solid rgba(220,38,38,.3);
}

.chip-cancelled {
    background: var(--off2);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Phase / bid status chips */
.chip-open {
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(5,150,105,.2);
}

.chip-bidding {
    background: var(--blue-lt);
    color: var(--blue);
    border: 1px solid rgba(37,99,235,.2);
}

.chip-awarded {
    background: var(--amber-lt);
    color: var(--amber-dk);
    border: 1px solid rgba(245,158,11,.3);
}

.chip-fund {
    background: var(--orange-lt);
    color: var(--orange);
    border: 1px solid rgba(234,88,12,.3);
}

.chip-funded {
    background: var(--teal-lt);
    color: var(--teal);
    border: 1px solid rgba(13,148,136,.25);
}

.chip-confirmed {
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(5,150,105,.2);
}

/* Pulse dot inside chip */
.chip-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: chipPulse 2s infinite;
}

@keyframes chipPulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0.35
    }
}

/* Generic label badges (non-uppercase, softer) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
}

.badge-blue {
    background: var(--blue-lt);
    color: var(--blue);
}

.badge-green {
    background: var(--green-lt);
    color: var(--green);
}

.badge-amber {
    background: var(--amber-lt);
    color: var(--amber-dk);
}

.badge-red {
    background: var(--red-lt);
    color: var(--red);
}

.badge-purple {
    background: var(--purple-lt);
    color: var(--purple);
}

.badge-teal {
    background: var(--teal-lt);
    color: var(--teal);
}


/* ─────────────────────────────────────────────────────────────
   10. ALERT / INFO BANNERS
───────────────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: 13px;
    margin-bottom: 0.85rem;
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.alert-body {
}

.alert-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}

.alert-sub {
    font-size: 0.78rem;
    color: var(--body);
    margin-top: 0.1rem;
    line-height: 1.55;
}

.alert-cta {
    margin-left: auto;
    flex-shrink: 0;
}

.alert-info {
    background: var(--blue-lt);
    border: 1.5px solid rgba(37,99,235,.2);
}

.alert-success {
    background: var(--green-lt);
    border: 1.5px solid rgba(5,150,105,.2);
}

.alert-warning {
    background: var(--amber-lt);
    border: 1.5px solid rgba(245,158,11,.3);
}

.alert-danger {
    background: var(--red-lt);
    border: 1.5px solid rgba(220,38,38,.3);
}

.alert-fund {
    background: var(--orange-lt);
    border: 1.5px solid rgba(234,88,12,.3);
}

.alert-info .alert-title {
    color: var(--blue);
}

.alert-success .alert-title {
    color: var(--green);
}

.alert-warning .alert-title {
    color: var(--amber-dk);
}

.alert-danger .alert-title {
    color: var(--red);
}

.alert-fund .alert-title {
    color: var(--orange);
}


/* ─────────────────────────────────────────────────────────────
   11. ESCROW PROGRESS TRACK
   Used on every job/phase card to show the 5-step lifecycle
───────────────────────────────────────────────────────────── */
.escrow-track {
    display: flex;
    align-items: center;
    margin: 0.75rem 0 0.35rem;
}

.et-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
    transition: all 0.3s;
}

.et-done {
    background: var(--green-lt);
    color: var(--green);
    border: 1.5px solid rgba(5,150,105,.3);
}

.et-active {
    background: var(--blue-lt);
    color: var(--blue);
    border: 1.5px solid rgba(37,99,235,.3);
    animation: etPulse 2s infinite;
}

.et-waiting {
    background: var(--orange-lt);
    color: var(--orange);
    border: 1.5px solid rgba(234,88,12,.3);
    animation: etPulse 2s infinite;
}

.et-pending {
    background: var(--off2);
    color: var(--muted);
    border: 1.5px solid var(--border);
}

@keyframes etPulse {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(37,99,235,.3);
    }

    50% {
        box-shadow: 0 0 0 3px rgba(37,99,235,0);
    }
}

.et-line {
    flex: 1;
    height: 1.5px;
    background: var(--border);
    min-width: 8px;
    max-width: 24px;
}

.et-line-done {
    background: var(--green2);
}

.escrow-labels {
    display: flex;
    gap: 0.4rem;
    font-size: 0.67rem;
    color: var(--muted);
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

    .escrow-labels .done {
        color: var(--green);
    }

    .escrow-labels .active {
        color: var(--amber-dk);
        font-weight: 700;
    }


/* ─────────────────────────────────────────────────────────────
   12. DASHBOARD LAYOUT (sidebar + main)
───────────────────────────────────────────────────────────── */
.page-dashboard {
    background: var(--off);
}

.dash-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - var(--nav-h));
    max-width: 1440px;
    margin: 0 auto;
}

.dash-sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}

.dash-main {
    padding: 1.75rem var(--page-pad);
    max-width: 1200px;
}

/* Sidebar nav items */
.sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding: 0.5rem 0.75rem 0.25rem;
    margin-top: 0.75rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--body);
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

    .sidebar-item:hover {
        background: var(--off);
        color: var(--ink);
    }

    .sidebar-item.active {
        background: var(--blue-lt);
        color: var(--blue);
        font-weight: 700;
    }

.sidebar-item-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--red);
    color: var(--white);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    min-width: 18px;
    text-align: center;
}

/* Section headers inside dashboard main */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-title-sm {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.3px;
}


/* ─────────────────────────────────────────────────────────────
   13. MODALS
───────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10,14,26,.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

    .modal-overlay.open {
        display: flex;
        animation: modalFade 0.2s ease;
    }

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
    animation: modalSlide 0.25s cubic-bezier(.34,1.4,.64,1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlide {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {
    font-family: var(--font-h);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--muted);
    transition: all 0.2s;
    flex-shrink: 0;
}

    .modal-close:hover {
        background: var(--off);
        color: var(--ink);
    }

.modal-body {
    padding: 1.25rem 1.75rem 1.75rem;
}

.modal-info-box {
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.mib-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    padding: 0.28rem 0;
    border-bottom: 1px solid var(--border);
}

    .mib-row:last-child {
        border-bottom: none;
    }

.mib-key {
    color: var(--muted);
}

.mib-val {
    font-weight: 700;
    color: var(--ink);
}

    .mib-val.g {
        color: var(--green);
    }

    .mib-val.b {
        color: var(--blue);
    }

    .mib-val.r {
        color: var(--red);
    }


/* ─────────────────────────────────────────────────────────────
   14. TOAST NOTIFICATIONS
───────────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    z-index: 1000;
    animation: toastUp 0.3s ease;
    white-space: nowrap;
    max-width: 90vw;
    pointer-events: none;
}

@keyframes toastUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.toast.green {
    background: var(--green);
}

.toast.blue {
    background: var(--blue);
}

.toast.amber {
    background: var(--amber);
}

.toast.red {
    background: var(--red);
}


/* ─────────────────────────────────────────────────────────────
   15. DARK SECTION BACKGROUNDS
   Used for heroes, escrow explainers, CTAs
───────────────────────────────────────────────────────────── */
.dark-section {
    background: linear-gradient(135deg, #0A1628 0%, #0D2218 60%, #0A0E1A 100%);
    position: relative;
    overflow: hidden;
}

.dark-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.dark-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dark-glow-blue {
    background: radial-gradient(ellipse, rgba(37,99,235,.18) 0%, transparent 70%);
}

.dark-glow-green {
    background: radial-gradient(ellipse, rgba(5,150,105,.15) 0%, transparent 70%);
}


/* ─────────────────────────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--ink2);
    padding: 3rem var(--page-pad) 2rem;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-b);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

    .footer-logo span {
        color: var(--blue);
    }

.footer-logo-icon {
    width: 28px;
    height: 28px;
    background: var(--blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,.4);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,.3);
    margin-bottom: 0.85rem;
    font-family: var(--font-b);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col li a {
    font-size: 0.83rem;
    color: rgba(255,255,255,.45);
    transition: color 0.2s;
}

    .footer-col li a:hover {
        color: var(--white);
    }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,.25);
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
}

.footer-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}


/* ─────────────────────────────────────────────────────────────
   17. TABS
───────────────────────────────────────────────────────────── */
.tabs-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 var(--page-pad);
    position: sticky;
    top: var(--nav-h);
    z-index: 100;
}

.tabs-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.tab-btn {
    font-family: var(--font-b);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted);
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

    .tab-btn:hover {
        color: var(--ink);
    }

    .tab-btn.active {
        color: var(--blue);
        border-bottom-color: var(--blue);
        font-weight: 700;
    }

.tab-count {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.tc-blue {
    background: var(--blue-lt);
    color: var(--blue);
}

.tc-green {
    background: var(--green-lt);
    color: var(--green);
}

.tc-amber {
    background: var(--amber-lt);
    color: var(--amber-dk);
}

.tc-red {
    background: var(--red-lt);
    color: var(--red);
}

.tc-muted {
    background: var(--off2);
    color: var(--muted);
}


 /* ─────────────────────────────────────────────────────────────
   18. DATA TABLE
───────────────────────────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

    .data-table thead tr {
        background: var(--off);
        border-bottom: 1.5px solid var(--border);
    }

    .data-table thead th {
        padding: 0.65rem 1rem;
        font-size: 0.67rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.09em;
        color: var(--muted);
        text-align: left;
        white-space: nowrap;
    }

    .data-table tbody tr {
        border-bottom: 1px solid var(--border);
        transition: background 0.15s;
    }

        .data-table tbody tr:last-child {
            border-bottom: none;
        }

        .data-table tbody tr:hover {
            background: var(--off);
        }

    .data-table tbody td {
        padding: 0.8rem 1rem;
        font-size: 0.84rem;
        vertical-align: middle;
    }


/* ─────────────────────────────────────────────────────────────
   19. SCROLL REVEAL
   Apply .reveal class to elements, JS adds .visible
───────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* ─────────────────────────────────────────────────────────────
   20. UPLOAD ZONES
───────────────────────────────────────────────────────────── */
.upload-zone {
    border: 2px dashed var(--border2);
    border-radius: 13px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--off);
}

    .upload-zone:hover {
        border-color: var(--blue);
        background: var(--blue-lt);
    }

.upload-zone-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.upload-zone-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--body);
}

.upload-zone-link {
    color: var(--blue);
    font-weight: 800;
    cursor: pointer;
}

.upload-zone-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: var(--white);
    border: 1.5px solid var(--green-lt);
    border-left: 3px solid var(--green);
    border-radius: 10px;
    margin-top: 0.65rem;
}

.uf-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.uf-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    flex: 1;
}

.uf-status {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    border: 1px solid rgba(5,150,105,.2);
}

.uf-remove {
    font-size: 0.75rem;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.15s;
    background: none;
    border: none;
}

    .uf-remove:hover {
        color: var(--red);
    }


/* ─────────────────────────────────────────────────────────────
   21. STEP PROGRESS BAR
   Used on multi-step forms (booking, JoinAsPro, ProjectCreate)
───────────────────────────────────────────────────────────── */
.step-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem var(--page-pad);
    position: sticky;
    top: var(--nav-h);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.step-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

    .step:not(:last-child)::after {
        content: '';
        flex: 1;
        height: 1.5px;
        background: var(--border);
        margin: 0 0.5rem;
        transition: background 0.3s;
    }

    .step.done:not(:last-child)::after {
        background: var(--blue);
    }

    .step.active:not(:last-child)::after {
        background: linear-gradient(90deg, var(--blue), var(--border));
    }

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--muted);
    z-index: 1;
    transition: all 0.3s;
}

.step.done .step-circle {
    background: var(--blue-lt);
    border-color: var(--blue);
    color: var(--blue);
}

.step.active .step-circle {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: var(--blue-glow);
}

.step-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}

.step.active .step-label,
.step.done .step-label {
    color: var(--blue);
}


/* ─────────────────────────────────────────────────────────────
   22. PAGINATION
───────────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
}

.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border2);
    background: var(--white);
    font-family: var(--font-b);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}

    .page-btn:hover {
        border-color: var(--blue);
        color: var(--blue);
        background: var(--blue-lt);
    }

    .page-btn.active {
        background: var(--blue);
        border-color: var(--blue);
        color: var(--white);
        font-weight: 700;
    }

    .page-btn.disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.page-ellipsis {
    font-size: 0.82rem;
    color: var(--muted);
    padding: 0 0.2rem;
}


 /* ─────────────────────────────────────────────────────────────
   23. AVATAR
───────────────────────────────────────────────────────────── */
.avatar {
    border-radius: 50%;
    background: var(--blue-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    border: 1.5px solid var(--border);
}

.avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

.avatar-md {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    border-radius: 14px;
}

.avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 20px;
}

/* Star rating */
.stars {
    color: var(--amber);
    letter-spacing: -1px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rating-num {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
}

.rating-count {
    font-size: 0.75rem;
    color: var(--muted);
}


/* ─────────────────────────────────────────────────────────────
   24. UTILITY CLASSES
───────────────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--muted);
}

.text-body {
    color: var(--body);
}

.text-ink {
    color: var(--ink);
}

.text-blue {
    color: var(--blue);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.text-amber {
    color: var(--amber-dk);
}

.font-h {
    font-family: var(--font-h);
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.gap-xs {
    gap: 0.35rem;
}

.gap-sm {
    gap: 0.65rem;
}

.gap-md {
    gap: 1rem;
}

.gap-lg {
    gap: 1.5rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-full {
    width: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.sticky-top {
    position: sticky;
    top: calc(var(--nav-h) + 8px);
}

.mt-auto {
    margin-top: auto;
}

.ml-auto {
    margin-left: auto;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.border-top {
    border-top: 1px solid var(--border);
}

.border-bottom {
    border-bottom: 1px solid var(--border);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-full {
    border-radius: 999px;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Separator */
.sep {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.sep-vertical {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   25. LOADING / SKELETON STATES
───────────────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--off) 25%, var(--off2) 50%, var(--off) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

    .skeleton-text.short {
        width: 40%;
    }

    .skeleton-text.medium {
        width: 70%;
    }

    .skeleton-text.full {
        width: 100%;
    }

.skeleton-btn {
    height: 38px;
    width: 120px;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-card {
    height: 120px;
    border-radius: 16px;
}


/* ─────────────────────────────────────────────────────────────
   26. CONFIRMATION / SUCCESS SCREENS
   Shared by booking, JoinAsPro, ProjectCreate, etc.
───────────────────────────────────────────────────────────── */
.confirm-wrap {
    max-width: 680px;
    margin: 3rem auto;
    padding: 0 var(--page-pad);
}

.confirm-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.confirm-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    animation: popIn 0.5s cubic-bezier(.34,1.56,.64,1);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirm-icon-green {
    background: var(--green-lt);
    border: 3px solid rgba(5,150,105,.3);
}

.confirm-icon-blue {
    background: var(--blue-lt);
    border: 3px solid rgba(37,99,235,.3);
}

.confirm-title {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.confirm-sub {
    font-size: 0.92rem;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.confirm-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────────────
   END OF Site.css
   Next: Mobile.css overrides all of the above at breakpoints
   ============================================================= */
