:root {
    --bg-main: #f5f7fb;
    --bg-elevated: #ffffff;
    --bg-soft: #eef2ff;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --line: #dde3ef;
    --brand-700: #0d5c4d;
    --brand-600: #127362;
    --brand-500: #16967f;
    --brand-soft: #ddf9f3;
    --accent-500: #1e40af;
    --accent-soft: #dbeafe;
    --warn-soft: #fef3c7;
    --danger-soft: #fee2e2;
    --r-xl: 22px;
    --r-lg: 16px;
    --r-md: 12px;
    --shadow-1: 0 10px 24px rgba(15, 23, 42, .07);
    --shadow-2: 0 24px 44px rgba(15, 23, 42, .14);
}

/* Vitrine premium bobo2-inspired */
.mf2 { padding-top: 4px; }

.mf2-hero {
    margin-top: 10px;
    padding: 76px 58px 46px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(56,200,120,.16), transparent 38%),
        linear-gradient(160deg, #0f1f1f 0%, #163132 60%, #1a3e3f 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 36px 70px rgba(0,0,0,.32);
}

.mf2-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at top, rgba(56,200,120,.14), transparent 68%);
}

.mf2-top-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 26px;
    position: relative;
    z-index: 2;
}

.mf2-left h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.02em;
    font-weight: 800;
}

.mf2-right {
    align-self: end;
    color: #dbe7e5;
}

.mf2-right p {
    margin: 0 0 14px;
    font-size: 1.07rem;
    line-height: 1.5;
}

.mf2-proof {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    padding: 7px 12px;
}

.mf2-stars {
    color: #facc15;
    letter-spacing: 1px;
    font-size: .92rem;
}

.mf2-proof strong { color: #f8fafc; }

.mf2-actions {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.mf2-generator {
    margin-top: 34px;
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid #e5eaf5;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 38px rgba(15,23,42,.28);
}

.mf2-generator-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mf2-generator-head h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.mf2-generator-head span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.mf2-template-list {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.mf2-template {
    border: 1px solid #dde5f2;
    border-radius: 12px;
    padding: 10px;
}

.mf2-template div {
    height: 86px;
    border-radius: 8px;
    border: 1px solid #d7e1f3;
    background: linear-gradient(180deg, #f8fbff 0%, #ecf2ff 100%);
    margin-bottom: 8px;
}

.mf2-template small {
    font-size: .8rem;
    font-weight: 700;
}

.mf2-template.active {
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22,163,74,.16);
}

.mf2-generator-foot {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.mf2-section { margin-top: 84px; }

.mf2-head h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 800;
}

.mf2-head p { margin: 0; color: #64748b; }

.mf2-slider {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mf2-review {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 20px;
}

.mf2-review p { margin: 10px 0; color: #475569; }

.mf2-shots {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mf2-shots article,
.mf2-cards article,
.mf2-steps article,
.mf2-resources article,
.mf2-faq article {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.mf2-shot {
    height: 198px;
    border-radius: 12px;
    border: 1px solid #d9e2f3;
    background:
        linear-gradient(140deg, rgba(56,200,120,.16) 0%, rgba(59,130,246,.14) 100%),
        #f8fbff;
    margin-bottom: 10px;
}

.mf2-shots h3,
.mf2-cards h3,
.mf2-steps h3,
.mf2-resources h3,
.mf2-faq h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
}

.mf2-cards,
.mf2-steps,
.mf2-resources,
.mf2-faq {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.mf2-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mf2-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf2-resources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf2-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mf2-cards article i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #dcfce7 0%, #dbeafe 100%);
    color: #0f766e;
}

.mf2-cards article p,
.mf2-steps article p,
.mf2-resources article p,
.mf2-faq article p {
    margin: 8px 0 0;
    color: #64748b;
}

.mf2-steps article span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

.mf2-commu {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 22px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.mf2-commu h2 {
    margin: 0 0 8px;
    font-size: 1.7rem;
    font-weight: 800;
}

.mf2-commu p { margin: 0; color: #64748b; }

.mf2-langs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mf2-langs span {
    border: 1px solid #cfe7e2;
    background: #f2fcf9;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    padding: 7px 12px;
}

.mf2-pricing {
    margin-top: 84px;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.3);
    background: linear-gradient(100deg, #082f49 0%, #0f766e 58%, #155e75 100%);
    color: #f8fafc;
    padding: 28px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mf2-pricing h2 {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 800;
}

.mf2-pricing p { margin: 0; color: #dbeafe; }

.mf2-pricing .btn-primary {
    border-color: #e2e8f0;
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: none;
}

@media (max-width: 991px) {
    .mf2-hero {
        padding: 26px 16px 18px;
        border-radius: 18px;
    }

    .mf2-top-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mf2-generator {
        margin-top: 18px;
    }

    .mf2-template-list {
        grid-template-columns: 1fr 1fr;
    }

    .mf2-generator-foot {
        justify-content: stretch;
    }

    .mf2-generator-foot .btn {
        width: 100%;
    }

    .mf2-section {
        margin-top: 44px;
    }

    .mf2-slider,
    .mf2-shots,
    .mf2-cards,
    .mf2-steps,
    .mf2-resources,
    .mf2-faq {
        grid-template-columns: 1fr;
    }

    .mf2-commu {
        flex-direction: column;
        align-items: flex-start;
    }

    .mf2-pricing {
        margin-top: 44px;
        padding: 18px;
    }
}

/* bobo2 landing integration */
.bobo2-home .b2-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.b2-hero {
    position: relative;
    overflow: hidden;
    padding: 132px 0 86px;
    background: linear-gradient(180deg, #13322f 0%, #0f2523 45%, #0d1c1c 100%);
}

.b2-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at top, rgba(56,200,120,.12), transparent 58%),
        radial-gradient(ellipse at bottom, rgba(56,200,120,.05), transparent 65%);
}

.b2-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    padding: 8px 14px;
    color: rgba(248,250,252,.78);
    font-size: .85rem;
}

.b2-stars { color: #facc15; letter-spacing: 1px; }

.b2-hero h1 {
    margin: 18px 0 0;
    max-width: 900px;
    color: #f8fafc;
    font-size: clamp(2.2rem, 5vw, 5.4rem);
    line-height: .97;
    letter-spacing: -.03em;
    font-weight: 800;
}

.b2-hero h1 span {
    background: linear-gradient(90deg, #34d399 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-sub {
    margin-top: 20px;
    max-width: 760px;
    color: rgba(226,232,240,.72);
    font-size: 1.1rem;
}

.b2-actions {
    margin-top: 26px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.b2-meta {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(203,213,225,.74);
    font-size: .9rem;
}

.b2-dashboard {
    margin-top: 34px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 60px rgba(0,0,0,.42);
}

.b2-dashboard img,
.b2-card-image img {
    width: 100%;
    display: block;
}

.b2-preview,
.b2-how,
.b2-faq {
    padding: 90px 0;
    background: #fff;
}

.b2-features,
.b2-testimonials {
    padding: 90px 0;
    background: #f8faf9;
}

.b2-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}

.b2-section-kicker {
    display: inline-block;
    font-size: .82rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-weight: 700;
    color: #0f766e;
}

.b2-preview h2,
.b2-section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -.02em;
    font-weight: 800;
    color: #0f172a;
}

.b2-preview p,
.b2-section-head p {
    margin-top: 14px;
    color: #64748b;
    font-size: 1.04rem;
}

.b2-preview ul {
    margin-top: 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.b2-preview li {
    position: relative;
    padding-left: 26px;
    color: #1f2937;
}

.b2-preview li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #10b981;
    position: absolute;
    left: 0;
    top: .35rem;
}

.b2-card-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    box-shadow: 0 24px 44px rgba(15,23,42,.12);
}

.b2-feature-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.b2-feature-grid article,
.b2-steps article,
.b2-testimonial-grid article,
.b2-faq-grid article {
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-1);
}

.b2-feature-grid h3,
.b2-steps h3,
.b2-faq-grid h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
}

.b2-feature-grid p,
.b2-steps p,
.b2-faq-grid p {
    margin: 9px 0 0;
    color: #64748b;
}

.b2-steps {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.b2-steps span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #dcfce7;
    color: #166534;
    font-size: .82rem;
    font-weight: 700;
}

.b2-testimonial-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.b2-testimonial-grid p { margin: 10px 0; color: #475569; }

.b2-cta {
    padding: 90px 0;
    background: #fff;
}

.b2-cta-inner {
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(150deg, #13322f 0%, #0f2523 60%, #0d1c1c 100%);
    color: #f8fafc;
    padding: 36px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.b2-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 800;
}

.b2-cta-inner p { margin: 0; color: rgba(226,232,240,.74); }

.b2-faq-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.b2-footer {
    padding: 74px 0 36px;
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 86px;
}

.b2-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 20px;
}

.b2-footer h3 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 1.15rem;
}

.b2-footer h4 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: .96rem;
}

.b2-footer p {
    margin: 0;
    color: rgba(203,213,225,.7);
}

.b2-footer a {
    display: block;
    color: rgba(203,213,225,.7);
    text-decoration: none;
    margin-bottom: 8px;
}

.b2-footer a:hover { color: #f8fafc; }

.b2-copy {
    margin-top: 34px;
    text-align: center;
    color: rgba(203,213,225,.48);
    font-size: .88rem;
}

@media (max-width: 991px) {
    .bobo2-home .b2-wrap {
        padding: 0 14px;
    }

    .b2-hero {
        padding: 110px 0 32px;
        border-radius: 18px;
    }

    .b2-grid-2,
    .b2-feature-grid,
    .b2-steps,
    .b2-testimonial-grid,
    .b2-faq-grid,
    .b2-footer-grid {
        grid-template-columns: 1fr;
    }

    .b2-preview,
    .b2-features,
    .b2-how,
    .b2-testimonials,
    .b2-cta,
    .b2-faq {
        padding: 54px 0;
    }

    .b2-cta-inner {
        padding: 20px;
    }

    .b2-footer {
        padding: 48px 0 26px;
        margin-top: 56px;
    }
}

* { box-sizing: border-box; }

body {
    font-family: "Noto Sans", "Manrope", sans-serif;
    color: var(--ink-900);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 0% 0%, rgba(22,150,127,.12), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(30,64,175,.1), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, var(--bg-main) 100%);
}

.app-bg-shape {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: repeating-linear-gradient(130deg, rgba(148,163,184,.055) 0, rgba(148,163,184,.055) 1px, transparent 1px, transparent 22px);
}

.app-shell {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    flex: 1 0 auto;
}

.app-navbar {
    min-height: 80px;
    background: linear-gradient(102deg, #081319 0%, #0f2b2e 45%, #13474e 100%);
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 14px 30px rgba(2, 6, 23, .34);
    backdrop-filter: blur(8px);
}

.app-navbar-landing {
    background: linear-gradient(102deg, rgba(8,19,25,.85) 0%, rgba(15,43,46,.82) 45%, rgba(19,71,78,.82) 100%);
}

.app-navbar-floating {
    width: min(1320px, calc(100% - 24px));
    margin: 12px auto 0;
    border-radius: 16px;
}

.nav-container {
    max-width: 1340px;
    margin: 0 auto;
}

.navbar-brand,
.nav-link { color: #fff !important; }

.brand-wrap { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.brand-row { display: inline-flex; align-items: center; gap: 10px; }
.brand-title { font-size: 1.16rem; font-weight: 900; letter-spacing: .2px; }
.brand-subtitle { font-size: .74rem; opacity: .86; font-weight: 500; }

.pro-badge {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    padding: 4px 9px;
    background: linear-gradient(180deg, #60a5fa 0%, #1d4ed8 100%);
}

.nav-link {
    font-weight: 650;
    opacity: .92;
    padding: 8px 13px !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus {
    opacity: 1;
    background: rgba(255,255,255,.15);
}

.navbar-toggler {
    border-color: rgba(255,255,255,.4);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(147,197,253,.35);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.app-tagline {
    background: linear-gradient(90deg, #edf2ff 0%, #f3f9ff 100%);
    border-bottom: 1px solid #d6e1fb;
    color: #334155;
    font-size: .9rem;
    padding: 10px 0;
}

.app-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-1);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.app-card:hover {
    transform: translateY(-2px);
    border-color: #cbd8f1;
    box-shadow: var(--shadow-2);
}

.card-body { padding: 24px; }

.hero-card {
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: var(--shadow-1);
    padding: 28px;
}

.filter-card { overflow: hidden; }

.search-group .input-group-text {
    border: 1px solid #cdd6e8;
    border-right: 0;
    background: #f8fbff;
    color: #64748b;
    border-radius: 12px 0 0 12px;
}

.search-group .form-control {
    border-left: 0;
    border-radius: 0 12px 12px 0;
}

.metric-card {
    min-height: 120px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

.metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.metric-value { font-size: 1.84rem; font-weight: 800; line-height: 1; }
.metric-label { font-size: .82rem; color: var(--ink-500); font-weight: 600; }

.metric-blue .metric-icon { background: #e0e7ff; color: #3730a3; }
.metric-amber .metric-icon { background: #fef3c7; color: #92400e; }
.metric-cyan .metric-icon { background: #ccfbf1; color: #115e59; }
.metric-green .metric-icon { background: #dcfce7; color: #166534; }

.form-label {
    font-size: .89rem;
    color: #334155;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: .97rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #7c8de5;
    box-shadow: 0 0 0 .2rem rgba(78,99,217,.2);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 17px;
}

.btn-sm { padding: 6px 10px; }
.btn-lg { padding: 12px 18px; font-size: 1rem; }

.btn-primary {
    border-color: var(--brand-700);
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%);
    box-shadow: 0 10px 18px rgba(18,115,98,.35);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #0c5548;
    background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%);
}

.btn-outline-primary {
    color: #0f2b2e;
    border-color: #7fc9be;
    background: #fff;
}

.btn-outline-primary:hover {
    color: #0f2b2e;
    border-color: #5fb9ab;
    background: #e7faf6;
}

.btn-ghost {
    color: #e2e8f0;
    border: 1px solid rgba(226,232,240,.55);
    background: rgba(2,6,23,.2);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,.52);
    color: #f8fafc;
    background: rgba(2,6,23,.18);
}

.btn-outline-light:hover {
    color: #fff;
    border-color: rgba(255,255,255,.75);
    background: rgba(2,6,23,.34);
}

.btn-xl {
    min-height: 50px;
    padding: 12px 22px;
    font-size: 1rem;
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(2,6,23,.38);
    border-color: rgba(226,232,240,.75);
}

.btn-pill {
    border-radius: 999px;
    min-height: 38px;
    padding: 0 14px;
    font-size: .84rem;
    font-weight: 700;
}

.btn-pill-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
}

.btn-pill-outline:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn-pill-soft {
    border: 1px solid rgba(255,255,255,.46);
    color: #fff;
    background: rgba(255,255,255,.16);
}

.btn-pill-soft:hover { background: rgba(255,255,255,.24); color: #fff; }

.btn-pill-accent {
    border: 1px solid #7cf0dd;
    color: #0f172a;
    background: linear-gradient(180deg, #99f6e4 0%, #5eead4 100%);
}

.btn-pill-accent:hover { background: linear-gradient(180deg, #7ff0df 0%, #3fd9bf 100%); color: #0f172a; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
}

.lang-btn {
    width: 34px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    display: block;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

.lang-btn.is-active {
    border-color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.22);
}

.table-card { overflow: hidden; }

.saas-table th,
.saas-table td {
    padding: 14px;
    vertical-align: middle;
}

.saas-table thead th {
    font-size: .79rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #5b6b85;
    background: #f5f8ff;
    border-bottom: 1px solid #e2e8f6;
}

.saas-table tbody tr {
    border-bottom: 1px solid #eaf0fb;
    transition: background-color .15s ease;
}

.saas-table tbody tr:hover { background: #f6f9ff; }

.btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-icon-soft {
    border: 1px solid #d8e1f3;
    color: #334155;
    background: #fff;
}

.btn-icon-soft:hover { background: #f8fbff; }

.btn-icon-danger {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fff;
}

.btn-icon-danger:hover { background: #fef2f2; }

.action-icon-wrap { display: inline-flex; gap: 6px; }

.status-chip {
    font-size: .74rem;
    font-weight: 700;
    border: 1px solid transparent;
    padding: .36rem .64rem;
}

.history-table th,
.history-table td {
    padding: .85rem .9rem;
}

.history-table td {
    vertical-align: middle;
}

.history-table .status-chip {
    background: #f3f4f6;
    color: #1f2937;
    border-color: #e5e7eb;
}

.history-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.history-actions .btn {
    min-width: 35px;
}

.status-brouillon { background: var(--warn-soft); color: #854d0e; border-color: #facc15; }
.status-envoye,
.status-envoyee { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-accepte,
.status-paye,
.status-payee { background: var(--accent-soft); color: #166534; border-color: #86efac; }

.badge-kind { background: #e0e7ff; color: #3730a3; }
.badge-kind-invoice { background: #dcfce7; color: #166534; }

.empty-state-card { overflow: hidden; }

.empty-state {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #e8eeff;
    color: #3a4ab3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.quote-mobile-card {
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.login-wrap { min-height: 62vh; }
.login-card, .login-side { padding: 26px; }
.login-side { background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); }

.landing-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #bfcbf5;
    background: #e8eeff;
    color: #2f3f94;
    font-size: .75rem;
    font-weight: 800;
    padding: 6px 11px;
}

.login-benefits {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: #334155;
}

.login-benefits i { color: #16a34a; margin-right: 8px; }

.shortcut-layout {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
    padding: 12px;
}

.shortcut-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.shortcut-title {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 0;
}

.trade-groups {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
    scrollbar-width: thin;
}

.trade-subgroups,
.trade-items,
.trade-favorites {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trade-subgroups { margin-top: 8px; }

.trade-favorites {
    margin-top: 10px;
}

.trade-items {
    margin-top: 8px;
}

.btn-chip {
    border: 1px solid #c9d4f8;
    background: #eef2ff;
    color: #25358f;
    border-radius: 999px;
    padding: .32rem .68rem;
    font-size: .78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-chip:hover { background: #e3e9ff; }
.btn-chip.is-active {
    background: #dbe7ff;
    border-color: #9bb6ff;
    color: #1e3a8a;
}

.trade-favorites-title {
    width: 100%;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.trade-item-btn {
    border: 1px solid rgba(59,130,246,.25);
    background: #ffffff;
}

.trade-item-btn:hover {
    background: rgba(59,130,246,.08);
}

.table-lines td:first-child .form-control {
    min-height: 44px;
    font-size: 0.98rem;
    padding: 10px 12px;
}

.fav-toggle {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(59,130,246,.3);
    background: #fff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0;
}

.fav-toggle.is-active {
    background: rgba(255, 138, 0, 0.18);
    border-color: rgba(255, 138, 0, 0.45);
    color: #b45309;
}

.trade-search .form-control {
    min-width: 220px;
}

@media (max-width: 768px) {
    .shortcut-head {
        flex-direction: column;
        align-items: stretch;
    }

    .trade-search .form-control {
        width: 100%;
        min-width: 0;
    }
}

.summary-card {
    border: 1px solid #d4ddf6;
    background: #f7f9ff;
}

.quote-side-panel { position: sticky; top: 90px; }

.preview-box {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: .95rem;
    background: #fff;
}

.preview-total-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #f7f9ff;
    padding: .95rem;
}

.app-footer {
    border-top: 1px solid var(--line);
    background: #fffffff2;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.landing-footer {
    margin-top: 24px;
}

.footer-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-text {
    margin: 0;
    font-size: 13px;
    color: var(--ink-500);
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-block strong {
    font-size: .95rem;
    color: #0f172a;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: .88rem;
    color: #1f2937;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0f766e;
}

.saas-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 56px 48px;
    margin-top: 6px;
    background:
        radial-gradient(circle at 12% 18%, rgba(20,184,166,.24), transparent 34%),
        radial-gradient(circle at 88% 16%, rgba(59,130,246,.2), transparent 32%),
        linear-gradient(130deg, #07161a 0%, #0a2629 48%, #113e44 100%);
    border: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 34px 64px rgba(2,6,23,.34);
}

.saas-hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(12px);
    opacity: .35;
}

.saas-hero-glow-a {
    left: -90px;
    top: -120px;
    background: #2dd4bf;
}

.saas-hero-glow-b {
    right: -80px;
    bottom: -110px;
    background: #60a5fa;
}

.saas-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    color: #d1fae5;
    background: rgba(255,255,255,.08);
    padding: 6px 12px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.saas-title {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    line-height: 1.02;
    color: #f8fafc;
    font-weight: 900;
    letter-spacing: -.02em;
}

.saas-subtitle {
    color: #dbeafe;
    font-size: 1.12rem;
    font-weight: 600;
}

.saas-screen {
    border: 1px solid rgba(148,163,184,.42);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15,23,42,.65);
    box-shadow: 0 26px 58px rgba(2,6,23,.44);
    backdrop-filter: blur(5px);
}

.saas-screen-head {
    height: 42px;
    padding: 12px;
    border-bottom: 1px solid rgba(148,163,184,.3);
    background: rgba(15,23,42,.7);
    display: flex;
    gap: 6px;
}

.saas-screen-head span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #94a3b8;
}

.saas-screen-body { padding: 16px; }

.screen-header-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.screen-header-row strong {
    color: #f8fafc;
    font-size: .95rem;
}

.screen-header-row span {
    color: #cbd5e1;
    font-size: .82rem;
}

.screen-lines {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.screen-lines div {
    border: 1px solid rgba(148,163,184,.3);
    border-radius: 10px;
    background: rgba(15,23,42,.48);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.screen-lines span {
    color: #cbd5e1;
    font-size: .83rem;
}

.screen-lines strong {
    color: #e2e8f0;
    font-size: .84rem;
}

.screen-total {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148,163,184,.45);
    display: flex;
    justify-content: space-between;
}

.screen-total span {
    color: #cbd5e1;
    font-size: .86rem;
}

.screen-total strong {
    color: #f8fafc;
}

.saas-section {
    margin-top: 40px;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.saas-card,
.saas-step,
.saas-panel,
.saas-faq {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 20px;
    box-shadow: var(--shadow-1);
}

.saas-card {
    height: 100%;
    padding: 22px;
}

.saas-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(180deg, #dcfce7 0%, #dbeafe 100%);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.saas-card h3,
.saas-step h3,
.saas-panel h3,
.saas-faq h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.saas-card p,
.saas-step p,
.saas-panel p,
.saas-faq p {
    margin: 0;
    color: #64748b;
}

.saas-step {
    height: 100%;
    padding: 22px;
}

.saas-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(180deg, #d1fae5 0%, #dbeafe 100%);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.saas-panel {
    height: 100%;
    padding: 24px;
}

.saas-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.saas-badges span {
    border: 1px solid #cee9e2;
    border-radius: 999px;
    background: #f2fcf9;
    color: #0f172a;
    font-size: .82rem;
    font-weight: 700;
    padding: 7px 12px;
}

.saas-pricing {
    margin-top: 44px;
    border-radius: 24px;
    border: 1px solid rgba(148,163,184,.32);
    padding: 28px;
    background: linear-gradient(100deg, #082f49 0%, #0f766e 58%, #155e75 100%);
    color: #f8fafc;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.saas-pricing h2 {
    font-size: 1.65rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.saas-pricing p {
    margin: 0;
    color: #dbeafe;
}

.saas-pricing .btn-primary {
    border-color: #e2e8f0;
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: none;
}

.saas-faq {
    height: 100%;
    padding: 20px;
}

/* Marketing V2 */
.mf-hero {
    margin-top: 12px;
    padding: 70px 54px 46px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(52,211,153,.24), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(59,130,246,.2), transparent 30%),
        linear-gradient(130deg, #060f13 0%, #0c242a 52%, #12353a 100%);
    border: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 34px 68px rgba(2,6,23,.4);
}

.mf-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 26px;
}

.mf-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    color: #d1fae5;
    background: rgba(255,255,255,.08);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 6px 12px;
}

.mf-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.01;
    color: #f8fafc;
    font-weight: 900;
    margin: 14px 0;
}

.mf-hero-sub {
    color: #dbeafe;
    font-size: 1.12rem;
    font-weight: 600;
    max-width: 520px;
}

.mf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mf-hero-right {
    background: rgba(2,6,23,.35);
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 18px;
    padding: 18px;
    color: #e2e8f0;
}

.mf-rating {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(125,211,252,.46);
    padding: 6px 11px;
    font-size: .83rem;
    font-weight: 700;
    color: #bae6fd;
}

.mf-stars {
    margin-top: 12px;
    color: #facc15;
    letter-spacing: 2px;
    font-size: 1rem;
}

.mf-generator-card {
    margin-top: 34px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #dce4f3;
    box-shadow: 0 20px 34px rgba(15,23,42,.18);
    padding: 18px;
}

.mf-generator-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.mf-generator-head h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.mf-generator-head span {
    font-size: .8rem;
    font-weight: 700;
    color: #64748b;
}

.mf-template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mf-template {
    border: 1px solid #dbe3f4;
    border-radius: 12px;
    padding: 10px;
}

.mf-template.selected {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34,197,94,.16);
}

.mf-template strong {
    font-size: .82rem;
}

.mf-thumb {
    height: 82px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #ebf2ff 100%);
    border: 1px solid #d9e3f7;
}

.mf-generator-foot {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.mf-section {
    margin-top: 66px;
}

.mf-section-head h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 900;
}

.mf-section-head p {
    margin: 0 0 16px;
    color: #64748b;
}

.mf-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mf-review-card {
    background: #fff;
    border: 1px solid #dfe6f2;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.mf-review-card p {
    margin: 10px 0;
    color: #475569;
}

.mf-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mf-showcase-card {
    background: #fff;
    border: 1px solid #dfe6f2;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.mf-showcase-shot {
    height: 190px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #d7e1f3;
    background:
        linear-gradient(160deg, rgba(22,150,127,.16) 0%, rgba(59,130,246,.15) 100%),
        #f8fbff;
}

.mf-feature-grid,
.mf-steps-grid,
.mf-faq-grid,
.mf-resources-grid {
    display: grid;
    gap: 14px;
}

.mf-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mf-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mf-resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mf-feature-card,
.mf-step-card,
.mf-community,
.mf-faq-grid article,
.mf-resources-grid article {
    background: #fff;
    border: 1px solid #dfe6f2;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.mf-feature-card i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #dcfce7 0%, #dbeafe 100%);
    color: #0f766e;
}

.mf-feature-card h3,
.mf-step-card h3,
.mf-faq-grid h3,
.mf-resources-grid h3 {
    margin: 0 0 8px;
    font-size: 1.03rem;
    font-weight: 800;
}

.mf-feature-card p,
.mf-step-card p,
.mf-faq-grid p,
.mf-resources-grid p {
    margin: 0;
    color: #64748b;
}

.mf-step-card span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

.mf-community {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.mf-community h2 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 900;
}

.mf-community p {
    margin: 0;
    color: #64748b;
}

.mf-lang-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mf-lang-buttons button {
    border: 1px solid #cde8e1;
    background: #f2fcf9;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .82rem;
    font-weight: 700;
    color: #0f172a;
}

.mf-pricing-band {
    margin-top: 66px;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.3);
    background: linear-gradient(100deg, #082f49 0%, #0f766e 58%, #155e75 100%);
    color: #f8fafc;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mf-pricing-band h2 {
    margin: 0 0 6px;
    font-size: 1.7rem;
    font-weight: 900;
}

.mf-pricing-band p {
    margin: 0;
    color: #dbeafe;
}

.mf-pricing-band .btn-primary {
    border-color: #e2e8f0;
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: none;
}

/* Landing V2 */
.hero-prime {
    position: relative;
    overflow: hidden;
    padding: 40px;
    color: #e2e8f0;
    background:
        radial-gradient(circle at 12% 12%, rgba(16,185,129,.28), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(59,130,246,.2), transparent 34%),
        linear-gradient(130deg, #061117 0%, #0a2326 46%, #12383d 100%);
    border-color: rgba(148,163,184,.28);
}

.hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 18px);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
    color: #d1fae5;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 6px 11px;
}

.hero-title {
    font-size: clamp(1.95rem, 4vw, 3.3rem);
    line-height: 1.04;
    font-weight: 900;
    color: #f8fafc;
}

.hero-sub {
    font-size: 1.06rem;
    color: #dbeafe;
    font-weight: 600;
}

.hero-sub-tr {
    font-size: .95rem;
    color: #99f6e4;
    font-weight: 700;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-bullets span {
    border: 1px solid rgba(191,219,254,.38);
    background: rgba(2,6,23,.32);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .83rem;
    font-weight: 700;
    color: #e2e8f0;
}

.hero-bullets i {
    margin-right: 6px;
    color: #34d399;
}

.hero-mockup {
    border: 1px solid rgba(148,163,184,.45);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15,23,42,.62);
    box-shadow: 0 28px 52px rgba(2,6,23,.42);
    backdrop-filter: blur(4px);
}

.hero-mockup-bar {
    height: 6px;
    background: linear-gradient(90deg, #10b981 0%, #60a5fa 100%);
}

.hero-mockup-body {
    padding: 14px;
}

.hero-mockup-header strong,
.hero-mockup-total strong {
    color: #f8fafc;
}

.hero-mockup-header span,
.hero-mockup-lines span,
.hero-mockup-total span {
    color: #cbd5e1;
    font-size: .84rem;
}

.hero-mockup-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-mockup-lines {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.hero-mockup-lines div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(148,163,184,.3);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(15,23,42,.48);
}

.hero-mockup-lines strong {
    color: #e2e8f0;
    font-size: .85rem;
}

.hero-mockup-total {
    margin-top: 12px;
    border-top: 1px dashed rgba(148,163,184,.45);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-block .block-head h2 {
    font-size: 1.72rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.landing-block .block-head p {
    margin: 0 0 14px;
    color: #64748b;
}

.feature-tile {
    height: 100%;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #ddf9f3 0%, #dbeafe 100%);
    color: #0f766e;
}

.feature-tile h3,
.panel-tile h3,
.step-tile h3,
.faq-tile h3 {
    font-size: 1.04rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-tile p,
.panel-tile p,
.step-tile p,
.faq-tile p {
    margin-bottom: 0;
    color: #64748b;
}

.panel-tile {
    height: 100%;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pill-cloud span {
    border: 1px solid #cfe7e2;
    background: #f3fdfa;
    color: #0f172a;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 11px;
}

.step-tile {
    height: 100%;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #dcfce7 0%, #dbeafe 100%);
    color: #0f766e;
}

.landing-cta-band {
    padding: 26px;
    background: linear-gradient(100deg, #082f49 0%, #0f766e 58%, #155e75 100%);
    color: #f8fafc;
    border-color: rgba(148,163,184,.3);
}

.landing-cta-band h2 {
    font-size: 1.58rem;
    margin: 0 0 6px;
    font-weight: 900;
}

.landing-cta-band p {
    margin: 0;
    color: #dbeafe;
}

.landing-cta-band .btn-primary {
    border-color: #e2e8f0;
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: none;
}

.faq-tile {
    height: 100%;
    padding: 18px;
}

.landing-hero-v2 {
    position: relative;
    overflow: hidden;
    padding: 38px;
    background:
        radial-gradient(circle at 10% 10%, rgba(78,99,217,.16), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(20,184,166,.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.landing-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(10px);
    opacity: .38;
}

.landing-orb-a { top: -100px; left: -80px; background: #bfdbfe; }
.landing-orb-b { right: -70px; bottom: -90px; background: #99f6e4; }

.landing-top-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #bfcbf5;
    background: #e8eeff;
    color: #2f3f94;
    font-size: .75rem;
    font-weight: 800;
    padding: 6px 11px;
}

.landing-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.02em;
    font-weight: 900;
}

.landing-subtitle {
    font-size: 1.08rem;
    color: #334155;
    font-weight: 600;
}

.landing-subtitle-tr {
    font-size: .97rem;
    color: #0f766e;
    font-weight: 700;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-proof-item {
    border: 1px solid #d3def8;
    background: #fff;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 700;
    color: #334155;
    padding: 7px 12px;
}

.hero-proof-item i {
    margin-right: 6px;
    color: #16a34a;
}

.saas-mockup {
    border: 1px solid #cfd9f3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 36px rgba(30, 64, 175, .14);
}

.saas-mockup-head {
    height: 38px;
    padding: 10px 12px;
    background: #f6f8ff;
    border-bottom: 1px solid #e2e8f4;
    display: flex;
    gap: 6px;
}

.saas-mockup-head span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
}

.saas-mockup-body { padding: 14px; }

.saas-mockup-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.saas-mockup-kpis article {
    border: 1px solid #dbe3f4;
    border-radius: 10px;
    background: #f8fbff;
    padding: 10px;
}

.saas-mockup-kpis small {
    display: block;
    font-size: .72rem;
    color: #64748b;
}

.saas-mockup-kpis strong {
    font-size: 1.1rem;
    color: #1e3a8a;
}

.saas-mockup-lines {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.saas-mockup-lines div {
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
}

.saas-mockup-total {
    margin-top: 12px;
    border-top: 1px dashed #cdd6eb;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #334155;
    font-size: .92rem;
}

.saas-mockup-total strong {
    font-size: 1rem;
    color: #0f172a;
}

.landing-section { margin-bottom: 2px; }

.section-head h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
    font-weight: 800;
}

.section-head p {
    margin: 0 0 14px;
    color: #64748b;
}

.feature-card-v2 {
    height: 100%;
    padding: 18px;
}

.feature-icon-v2 {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eeff;
    color: #30429b;
    margin-bottom: 9px;
}

.feature-card-v2 h3,
.landing-panel h3,
.step-card-v2 h3,
.faq-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-card-v2 p,
.landing-panel p,
.step-card-v2 p,
.faq-card p {
    margin-bottom: 0;
    color: #64748b;
    font-size: .95rem;
}

.landing-panel {
    height: 100%;
    padding: 20px;
}

.business-tags,
.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.business-tags span,
.lang-pills span {
    border: 1px solid #d2dcf5;
    background: #f6f9ff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .82rem;
    font-weight: 700;
    color: #334155;
}

.step-card-v2 {
    height: 100%;
    padding: 18px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #4258c7 0%, #2f3f94 100%);
    font-size: .84rem;
    font-weight: 800;
}

.pricing-card-v2 {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.pricing-card-v2 h3 {
    margin-bottom: 6px;
    font-size: 1.12rem;
    font-weight: 800;
}

.pricing-card-v2 p {
    margin: 0;
    color: #64748b;
}

.pricing-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-card {
    height: 100%;
    padding: 18px;
}

.preview-card-v2 {
    height: 100%;
    padding: 18px;
}

.preview-card-v2 h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.preview-card-v2 p {
    margin: 12px 0 0;
    color: #64748b;
}

.preview-bars {
    display: grid;
    gap: 8px;
}

.preview-bars div {
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbe5ff 0%, #e9f5ff 100%);
}

.landing-bottom-cta {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(90deg, #edf2ff 0%, #ecfeff 100%);
}

.landing-bottom-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 900;
}

.landing-bottom-cta p {
    margin: 0;
    color: #64748b;
}

@media (max-width: 991px) {
    .brand-subtitle { display: none; }
    .hero-card,
    .landing-hero-v2 { padding: 18px; }
    .quote-side-panel { position: static; }
    .app-tagline { font-size: .84rem; padding: 8px 0; }
    .card-body,
    .login-card,
    .login-side { padding: 16px; }
    .footer-inner {
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .hero-prime {
        padding: 20px;
    }
    .hero-title {
        font-size: 1.95rem;
    }
    .landing-cta-band {
        padding: 18px;
    }
    .app-navbar-floating {
        width: calc(100% - 12px);
        margin-top: 6px;
        border-radius: 12px;
    }
    .saas-hero {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .saas-title {
        font-size: 2rem;
    }
    .saas-pricing {
        padding: 18px;
        margin-top: 28px;
    }
    .footer-links {
        gap: 10px;
    }
    .pricing-card-v2 { flex-direction: column; align-items: flex-start; }

    .mf-hero {
        padding: 24px 16px 16px;
        border-radius: 18px;
    }

    .mf-hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mf-template-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mf-generator-foot {
        justify-content: stretch;
    }

    .mf-generator-foot .btn {
        width: 100%;
    }

    .mf-section {
        margin-top: 38px;
    }

    .mf-reviews,
    .mf-showcase-grid,
    .mf-feature-grid,
    .mf-steps-grid,
    .mf-faq-grid,
    .mf-resources-grid {
        grid-template-columns: 1fr;
    }

    .mf-community {
        flex-direction: column;
        align-items: flex-start;
    }

    .mf-pricing-band {
        margin-top: 40px;
        padding: 18px;
    }
}


/* =====================================
   Client Space Refresh (UI only)
   Practical + clean + readable
===================================== */
body.auth-ui {
    background: radial-gradient(1200px 520px at 100% -10%, rgba(30,58,138,.08), transparent 55%),
                linear-gradient(180deg, #f8fafc 0%, #f3f6fc 100%);
}

body.auth-ui .app-bg-shape {
    opacity: .45;
}

body.auth-ui .app-shell {
    max-width: 1280px;
}

body.auth-ui .app-tagline {
    background: transparent;
    color: #64748b;
    border-top: 1px solid #e5eaf4;
    border-bottom: 1px solid #e5eaf4;
    padding: 8px 0;
}

body.auth-ui .app-navbar {
    background: linear-gradient(102deg, #0b1220 0%, #13233f 46%, #1d3c67 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(8px);
}

body.auth-ui .app-navbar .nav-link {
    border-radius: 10px;
    padding: 8px 12px;
    transition: background-color .16s ease, color .16s ease;
}

body.auth-ui .app-navbar .nav-link:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

body.auth-ui .app-card,
body.auth-ui .card {
    border-radius: 18px;
    border: 1px solid #e4e9f3;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

body.auth-ui .hero-card {
    border-radius: 18px;
    border: 1px solid #dfe6f5;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

body.auth-ui .metric-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

body.auth-ui .btn {
    border-radius: 12px;
    font-weight: 700;
}

body.auth-ui .btn-primary {
    background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
    border-color: #0f766e;
}

body.auth-ui .btn-primary:hover {
    background: linear-gradient(180deg, #115e59 0%, #134e4a 100%);
    border-color: #115e59;
}

body.auth-ui .btn-outline-primary {
    border-color: #0f766e;
    color: #0f766e;
}

body.auth-ui .btn-outline-primary:hover {
    background: #0f766e;
    color: #fff;
}

body.auth-ui .btn-pill {
    border-radius: 999px;
}

body.auth-ui .form-control,
body.auth-ui .form-select,
body.auth-ui .input-group-text {
    border-radius: 12px;
    border-color: #d6deec;
    background: #fff;
}

body.auth-ui .form-control:focus,
body.auth-ui .form-select:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12);
}

body.auth-ui .saas-table thead th {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .78rem;
    color: #64748b;
    background: #f8fbff;
    border-bottom-width: 1px;
}

body.auth-ui .saas-table tbody tr:hover {
    background: #f8fbff;
}

body.auth-ui .status-chip {
    font-weight: 700;
    border-width: 1px;
}

body.auth-ui .empty-state {
    padding: 44px 20px;
}

body.auth-ui .empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    font-size: 1.35rem;
}

/* Client dashboard readability */
body.client-space .app-card .card-body {
    padding: 22px;
}

body.client-space .h4,
body.client-space .h6 {
    letter-spacing: -.01em;
}

@media (max-width: 991px) {
    body.auth-ui .app-shell {
        max-width: 100%;
    }

    body.auth-ui .app-navbar .nav-link {
        padding: 10px 12px;
        font-size: .95rem;
    }

    body.auth-ui .btn,
    body.auth-ui .btn-lg,
    body.auth-ui .btn-pill {
        min-height: 46px;
    }

    body.auth-ui .app-card,
    body.auth-ui .hero-card,
    body.auth-ui .card {
        border-radius: 15px;
    }
}


/* =====================================
   Quotes History Page - Premium UI
===================================== */
body.auth-ui .quotes-history-page {
    max-width: 1220px;
    margin: 0 auto;
}

body.auth-ui .quotes-history-page .qh-header {
    padding: 2px;
}

body.auth-ui .quotes-history-page .qh-main-cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.auth-ui .quotes-history-page .qh-metric {
    cursor: default;
    transition: transform .18s ease, box-shadow .2s ease;
}

body.auth-ui .quotes-history-page .qh-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15,23,42,.12);
}

body.auth-ui .quotes-history-page .metric-icon {
    border-radius: 12px;
}

body.auth-ui .quotes-history-page .qh-filter .card-body {
    padding: 14px 16px;
}

body.auth-ui .quotes-history-page .qh-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.auth-ui .quotes-history-page .qh-table-wrap .table-responsive {
    max-height: 68vh;
}

body.auth-ui .quotes-history-page .qh-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbff;
}

body.auth-ui .quotes-history-page .qh-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

body.auth-ui .quotes-history-page .qh-table tbody tr:hover {
    background: #f4f8ff;
}

body.auth-ui .quotes-history-page .action-icon-wrap {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

body.auth-ui .quotes-history-page .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
}

body.auth-ui .quotes-history-page .qh-mobile-card {
    border-radius: 16px;
    border: 1px solid #e3e8f2;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
    background: #fff;
}

body.auth-ui .quotes-history-page .empty-state {
    padding: 52px 20px;
}

body.auth-ui .quotes-history-page .empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
}

@media (max-width: 991px) {
    body.auth-ui .quotes-history-page {
        max-width: 100%;
    }

    body.auth-ui .quotes-history-page .qh-filter-actions {
        grid-template-columns: 1fr;
    }

    body.auth-ui .quotes-history-page .qh-main-cta {
        width: 100%;
        justify-content: center;
    }

    body.auth-ui .quotes-history-page .btn,
    body.auth-ui .quotes-history-page .btn-lg {
        min-height: 48px;
    }
}

/* =====================================
   FINAL THEME OVERRIDES (No blue/green)
===================================== */
:root {
    --bg-main: #f6f2ea;
    --bg-elevated: #ffffff;
    --bg-soft: #fbf7f0;
    --ink-900: #111118;
    --ink-700: #2d2833;
    --ink-500: #8b8693;
    --line: #e7e0d6;
    --brand-700: #5f1622;
    --brand-600: #7a1e2c;
    --brand-500: #8b1d2c;
    --brand-soft: #f4e6df;
    --accent-500: #d4af37;
    --accent-soft: #fff4d4;
    --warn-soft: #fff2cf;
    --danger-soft: #fde8ea;
    --shadow-1: 0 10px 24px rgba(17, 17, 24, .07);
    --shadow-2: 0 24px 44px rgba(17, 17, 24, .14);
}

body {
    color: var(--ink-900);
    background:
        radial-gradient(circle at 0% 0%, rgba(122,30,44,.08), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(212,175,55,.08), transparent 34%),
        linear-gradient(180deg, #faf6ef 0%, var(--bg-main) 100%);
}

.app-bg-shape {
    background: repeating-linear-gradient(130deg, rgba(139, 134, 147, .05) 0, rgba(139, 134, 147, .05) 1px, transparent 1px, transparent 22px);
}

.app-navbar {
    background: linear-gradient(102deg, #120f15 0%, #1a1319 45%, #2a171f 100%);
    border-bottom: 1px solid rgba(212, 175, 55, .2);
}

.app-navbar-landing {
    background: linear-gradient(102deg, rgba(18,15,21,.86) 0%, rgba(26,19,25,.84) 45%, rgba(42,23,31,.84) 100%);
}

.pro-badge {
    background: linear-gradient(180deg, #a7852e 0%, #86671d 100%);
    border-color: rgba(255,255,255,.35);
}

.app-tagline {
    background: linear-gradient(90deg, #f9f3e9 0%, #f6efe3 100%);
    border-bottom: 1px solid var(--line);
    color: var(--ink-700);
}

.app-card,
.card,
.hero-card,
.metric-card,
.table-card,
.quote-mobile-card,
.empty-state-card {
    border-color: var(--line) !important;
    box-shadow: var(--shadow-1);
}

.hero-card,
.summary-card,
.preview-total-card,
.shortcut-layout,
.login-side {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%) !important;
}

.form-control,
.form-select,
.input-group-text {
    border-color: #dfd7cb;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 .2rem rgba(122, 30, 44, .14);
}

.btn-primary,
body.auth-ui .btn-primary {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%) !important;
    box-shadow: 0 12px 22px rgba(122,30,44,.28);
}

.btn-primary:hover,
.btn-primary:focus,
body.auth-ui .btn-primary:hover {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%) !important;
}

.btn-outline-primary,
body.auth-ui .btn-outline-primary {
    color: var(--brand-600) !important;
    border-color: #d1a0a7 !important;
    background: #fff !important;
}

.btn-outline-primary:hover,
body.auth-ui .btn-outline-primary:hover {
    color: #fff !important;
    border-color: var(--brand-600) !important;
    background: var(--brand-600) !important;
}

.btn-pill-accent {
    border-color: #d1a0a7;
    color: #fff;
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%);
}

.btn-pill-accent:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%);
}

.saas-table thead th,
body.auth-ui .saas-table thead th {
    background: #f9f4ec;
    color: var(--ink-500);
    border-bottom-color: var(--line);
}

.saas-table tbody tr,
.saas-table tbody tr:hover,
body.auth-ui .saas-table tbody tr:hover {
    border-bottom-color: #eee7dc;
}

.saas-table tbody tr:hover {
    background: #f8f1e8;
}

.status-chip,
body.auth-ui .status-chip {
    border: 1px solid transparent;
}

.metric-blue .metric-icon,
.metric-green .metric-icon {
    background: #f4e6df;
    color: #7a1e2c;
}

.metric-amber .metric-icon {
    background: #fff2cf;
    color: #8a5a1f;
}

.metric-cyan .metric-icon {
    background: #f6eef5;
    color: #5f284f;
}

.status-brouillon {
    background: var(--warn-soft);
    color: #8a5a1f;
    border-color: #e9d189;
}

.status-envoye,
.status-envoyee {
    background: #f6eef5;
    color: #5f284f;
    border-color: #e5cce0;
}

.status-accepte,
.status-paye,
.status-payee {
    background: #f4e6df;
    color: #7a1e2c;
    border-color: #e8c0c5;
}

.badge-kind {
    background: #f6eef5;
    color: #5f284f;
}

.badge-kind-invoice {
    background: #f4e6df;
    color: #7a1e2c;
}

.empty-icon,
body.auth-ui .empty-icon {
    background: #f4e6df;
    color: #7a1e2c;
}

.landing-chip {
    border-color: #e3c4a2;
    background: #fff4d4;
    color: #6d5124;
}

.login-benefits i {
    color: #7a1e2c;
}

.btn-chip {
    border-color: #e3d2bb;
    background: #fbf7f0;
    color: #4a3542;
}

.btn-chip:hover {
    background: #f5ede1;
}

body.auth-ui {
    background: radial-gradient(1200px 520px at 100% -10%, rgba(122,30,44,.1), transparent 55%),
                linear-gradient(180deg, #faf6ef 0%, #f4eee4 100%);
}

body.auth-ui .app-tagline {
    color: #6b6573;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

body.auth-ui .app-navbar {
    background: linear-gradient(102deg, #120f15 0%, #1a1319 45%, #2a171f 100%);
    border-bottom: 1px solid rgba(212, 175, 55, .2);
}

.lang-switch {
    background: rgba(247,243,238,.1);
    border-color: rgba(247,243,238,.22);
    gap: 4px;
    padding: 3px;
}

.lang-btn {
    width: 30px;
    height: 24px;
}

.lang-btn img {
    width: 19px;
    height: 14px;
}

.lang-btn.is-active {
    border-color: rgba(212,175,55,.7);
    background: rgba(212,175,55,.18);
}

/* =====================================
   Premium SaaS 2026 (No blue/green)
===================================== */
:root {
    --bg-main: #f6f1ea;
    --bg-elevated: #ffffff;
    --bg-soft: #fbf7f0;
    --ink-900: #141414;
    --ink-700: #3a343b;
    --ink-500: #7b7280;
    --line: #e6dfd6;
    --brand-700: #5a1025;
    --brand-600: #6b1230;
    --brand-500: #7a1536;
    --brand-soft: #f4e6df;
    --accent-500: #c9a86a;
    --accent-soft: #fff4d8;
    --warn-soft: #fff2cf;
    --danger-soft: #fde8ea;
    --shadow-1: 0 12px 26px rgba(20, 20, 20, .08);
    --shadow-2: 0 28px 60px rgba(20, 20, 20, .14);
}

body {
    font-family: "Noto Sans", "Sora", sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 0% 0%, rgba(107,18,48,.08), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(201,168,106,.08), transparent 34%),
        linear-gradient(180deg, #faf6ef 0%, var(--bg-main) 100%);
}

.app-bg-shape {
    background: repeating-linear-gradient(130deg, rgba(123,114,128,.05) 0, rgba(123,114,128,.05) 1px, transparent 1px, transparent 22px);
}

.app-navbar {
    background: linear-gradient(102deg, #120f15 0%, #1a1319 45%, #2a171f 100%);
    border-bottom: 1px solid rgba(201, 168, 106, .24);
    box-shadow: 0 14px 30px rgba(10, 8, 10, .38);
}

.app-navbar .nav-link {
    border-radius: 999px;
}

.pro-badge {
    background: linear-gradient(180deg, #c9a86a 0%, #a17f45 100%);
    border-color: rgba(255,255,255,.35);
}

.app-tagline {
    background: linear-gradient(90deg, #f9f3e9 0%, #f6efe3 100%);
    border-bottom: 1px solid var(--line);
    color: var(--ink-700);
}

.app-card,
.card,
.hero-card,
.metric-card,
.table-card,
.quote-mobile-card,
.empty-state-card {
    border-color: var(--line) !important;
    box-shadow: var(--shadow-1);
    border-radius: 16px;
}

.hero-card,
.summary-card,
.preview-total-card,
.shortcut-layout,
.login-side {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%) !important;
}

.form-control,
.form-select,
.input-group-text {
    border-color: #dfd7cb;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 .2rem rgba(107, 18, 48, .14);
}

.btn-primary,
body.auth-ui .btn-primary {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%) !important;
    box-shadow: 0 12px 22px rgba(107,18,48,.28);
}

.btn-primary:hover,
.btn-primary:focus,
body.auth-ui .btn-primary:hover {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%) !important;
}

.btn-outline-primary,
body.auth-ui .btn-outline-primary {
    color: var(--brand-600) !important;
    border-color: #d1a0a7 !important;
    background: #fff !important;
}

.btn-outline-primary:hover,
body.auth-ui .btn-outline-primary:hover {
    color: #fff !important;
    border-color: var(--brand-600) !important;
    background: var(--brand-600) !important;
}

.saas-table thead th,
body.auth-ui .saas-table thead th {
    background: #f9f4ec;
    color: var(--ink-500);
    border-bottom-color: var(--line);
}

.saas-table tbody tr:hover {
    background: #f8f1e8;
}

.metric-blue .metric-icon,
.metric-green .metric-icon,
.metric-cyan .metric-icon {
    background: #f4e6df;
    color: #7a1e2c;
}

.metric-amber .metric-icon {
    background: #fff2cf;
    color: #8a5a1f;
}

.status-brouillon {
    background: var(--warn-soft);
    color: #8a5a1f;
    border-color: #e9d189;
}

.status-envoye,
.status-envoyee {
    background: #f6eef5;
    color: #5f284f;
    border-color: #e5cce0;
}

.status-accepte,
.status-paye,
.status-payee {
    background: #f4e6df;
    color: #7a1e2c;
    border-color: #e8c0c5;
}

.badge-kind,
.badge-kind-invoice {
    background: #f6eef5;
    color: #5f284f;
}

.empty-icon,
body.auth-ui .empty-icon {
    background: #f4e6df;
    color: #7a1e2c;
}

.lang-switch {
    background: rgba(247,243,238,.1);
    border-color: rgba(247,243,238,.22);
}

.lang-btn.is-active {
    border-color: rgba(201,168,106,.7);
    background: rgba(201,168,106,.18);
}

/* =====================================
   Premium SaaS v2 overrides
===================================== */
:root {
    --bg-main: #f6f1ea;
    --bg-elevated: #ffffff;
    --bg-soft: #fbf7f0;
    --ink-900: #171417;
    --ink-700: #3a343b;
    --ink-500: #7b7280;
    --line: #e6dfd6;
    --brand-700: #4f0c21;
    --brand-600: #6b1230;
    --brand-500: #7a1536;
    --brand-soft: #f4e6df;
    --accent-500: #c9a86a;
    --accent-soft: #fff4d8;
    --shadow-1: 0 12px 26px rgba(20, 20, 20, .08);
    --shadow-2: 0 28px 60px rgba(20, 20, 20, .14);
}

body.auth-ui {
    background: radial-gradient(1200px 520px at 100% -10%, rgba(107,18,48,.1), transparent 55%),
                linear-gradient(180deg, #faf6ef 0%, #f4eee4 100%);
}

.app-navbar {
    background: linear-gradient(102deg, #120f15 0%, #1a1319 45%, #2a171f 100%);
    border-bottom: 1px solid rgba(201, 168, 106, .24);
}

.btn-primary,
body.auth-ui .btn-primary {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%) !important;
    box-shadow: 0 12px 22px rgba(107,18,48,.28);
}

.btn-outline-primary,
body.auth-ui .btn-outline-primary {
    color: var(--brand-600) !important;
    border-color: #d1a0a7 !important;
    background: #fff !important;
}

/* =====================================
   Premium SaaS Sky Blue Overrides
===================================== */
:root {
    --bg-main: #f6f9ff;
    --bg-elevated: #ffffff;
    --bg-soft: #eef6ff;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --line: #dbe7f5;
    --brand-700: #1f7fd5;
    --brand-600: #2a8fe8;
    --brand-500: #58b5ff;
    --brand-soft: #dcefff;
    --accent-500: #58b5ff;
    --accent-soft: #e8f4ff;
    --shadow-1: 0 12px 26px rgba(15,23,42,.08);
    --shadow-2: 0 28px 60px rgba(15,23,42,.14);
}

body {
    font-family: "Noto Sans", "Inter", sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 0% 0%, rgba(88,181,255,.12), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(88,181,255,.1), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
}

.app-bg-shape {
    background: repeating-linear-gradient(130deg, rgba(148,163,184,.06) 0, rgba(148,163,184,.06) 1px, transparent 1px, transparent 24px);
}

.app-navbar {
    background: linear-gradient(102deg, #0c2035 0%, #12345a 45%, #1b4d85 100%);
    border-bottom: 1px solid rgba(88, 181, 255, .25);
    box-shadow: 0 14px 30px rgba(8, 20, 35, .35);
}

.pro-badge {
    background: linear-gradient(180deg, #7cc6ff 0%, #2a8fe8 100%);
    border-color: rgba(255,255,255,.35);
}

.app-tagline {
    background: linear-gradient(90deg, #f4f9ff 0%, #eef6ff 100%);
    border-bottom: 1px solid var(--line);
    color: var(--ink-700);
}

.app-card,
.card,
.hero-card,
.metric-card,
.table-card,
.quote-mobile-card,
.empty-state-card {
    border-color: var(--line) !important;
    box-shadow: var(--shadow-1);
    border-radius: 16px;
}

.form-control,
.form-select,
.input-group-text {
    border-color: #cfe0f2;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 .2rem rgba(88, 181, 255, .18);
}

.btn-primary,
body.auth-ui .btn-primary {
    border-color: var(--brand-700) !important;
    background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%) !important;
    box-shadow: 0 12px 22px rgba(42,143,232,.28);
}

.btn-outline-primary,
body.auth-ui .btn-outline-primary {
    color: var(--brand-600) !important;
    border-color: #9ccdf7 !important;
    background: #fff !important;
}

.saas-table thead th,
body.auth-ui .saas-table thead th {
    background: #f2f8ff;
    color: var(--ink-500);
    border-bottom-color: var(--line);
}

.saas-table tbody tr:hover {
    background: #eef6ff;
}

.metric-blue .metric-icon,
.metric-cyan .metric-icon,
.metric-green .metric-icon {
    background: #dcefff;
    color: #1f5f9f;
}

.status-brouillon {
    background: #fff2cf;
    color: #8a5a1f;
    border-color: #f0dca4;
}

.status-envoye,
.status-envoyee {
    background: #e8f4ff;
    color: #1f5f9f;
    border-color: #cfe6ff;
}

.status-accepte,
.status-paye,
.status-payee {
    background: #dcefff;
    color: #1f5f9f;
    border-color: #bcdfff;
}

.lang-switch {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.24);
}

.lang-btn.is-active {
    border-color: rgba(88,181,255,.7);
    background: rgba(88,181,255,.2);
}

/* Admin users premium table */
.admin-users-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 6px 0 24px;
    color: #101828;
}

.admin-users-premium {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-users-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}
\n.admin-users-hero-clean {\n    background: #ffffff;\n    color: #0f172a;\n    border: 1px solid #e5e7eb;\n    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);\n}\n\n.admin-users-hero-clean .admin-title-icon {\n    background: #e0f2fe;\n    color: #0f172a;\n}\n\n.admin-users-hero-clean .admin-title-wrap p {\n    color: #475569;\n}\n
.admin-users-hero .admin-title-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.admin-users-hero .admin-title-wrap p {
    color: #cbd5f5;
}

.admin-users-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-users-stats {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));\n    gap: 10px;\n}

.admin-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
}

.admin-stat-card .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 600;
}

.admin-stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 6px;
}

.admin-users-filters-premium {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.admin-users-table-premium {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.admin-users-table-premium .admin-data-table thead th {
    background: #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 2;
}

.admin-data-table tbody tr:hover {
    background: #f8fafc;
}

.admin-data-table-premium {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.admin-data-table-premium thead {
    display: none;
}

.admin-user-row td {
    padding: 0;
    border: none;
}

.admin-user-card {\n    background: #ffffff;\n    border-radius: 18px;\n    border: 1px solid #e2e8f0;\n    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);\n    padding: 14px;\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n}

.admin-user-card:hover {
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.admin-user-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-user-identity {
    display: grid;
    gap: 8px;
    min-width: 240px;
}

.admin-user-status {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-user-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));\n    gap: 12px;\n}

.admin-user-block {\n    background: #f8fafc;\n    border: 1px solid #e2e8f0;\n    border-radius: 14px;\n    padding: 10px;\n    display: grid;\n    gap: 8px;\n}

.admin-block-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
}

.admin-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #475569;
    gap: 8px;
}

.admin-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #94a3b8;
}

.admin-meta-value {
    font-weight: 700;
    color: #0f172a;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-user-actions .btn {
    white-space: nowrap;
}

.admin-data-table-premium .admin-input,
.admin-data-table-premium .admin-textarea {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    color: #0f172a;
}

.admin-data-table-premium .admin-input:focus,
.admin-data-table-premium .admin-textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.admin-data-table-premium .status-pill {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-data-table-premium .admin-actions-sticky {
    background: #ffffff;
}

.admin-muted {
    color: #94a3b8;
    font-weight: 600;
}

.admin-actions-sticky {
    position: sticky;
    right: 0;
    background: rgba(248, 250, 252, 0.9);
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.admin-users-head {
    margin-bottom: 14px;
}

.admin-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-title-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, rgba(216,181,109,.2), rgba(255,245,227,.95));
    color: #7a5a18;
    border: 1px solid rgba(216,181,109,.35);
}

.admin-title-wrap h1 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.admin-title-wrap p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: .95rem;
}

.admin-users-filters,
.admin-users-table-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(216,181,109,.24);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15,23,42,.08);
}

.admin-users-filters {
    padding: 14px;
    margin-bottom: 14px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.admin-filter-form .form-control {
    min-height: 42px;
    border-radius: 12px;
    border-color: #d6deec;
}

.admin-filter-form .form-control:focus,
.admin-filter-form .form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(125,95,47,.14);
    border-color: #c4a977;
}

.admin-filter-late {
    min-height: 42px;
    border: 1px solid #d8e0ee;
    border-radius: 12px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    background: #fff;
}

.admin-filter-submit .btn {
    min-height: 42px;
    min-width: 132px;
    border-radius: 12px;
    font-weight: 700;
}

.admin-users-table-card {
    overflow: hidden;
}

.admin-users-table-scroll {
    max-width: 100%;
}

.admin-data-table {
    margin: 0;
    min-width: 1460px;
    font-size: .92rem;
    table-layout: fixed;
}

.admin-data-table col.col-name { width: 190px; }
.admin-data-table col.col-email { width: 210px; }
.admin-data-table col.col-phone { width: 138px; }
.admin-data-table col.col-company { width: 280px; }
.admin-data-table col.col-siret { width: 150px; }
.admin-data-table col.col-plan { width: 120px; }
.admin-data-table col.col-max { width: 130px; }
.admin-data-table col.col-created { width: 106px; }
.admin-data-table col.col-due { width: 132px; }
.admin-data-table col.col-status { width: 110px; }
.admin-data-table col.col-actions { width: 242px; }

.admin-data-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: linear-gradient(180deg, #f6f9fc 0%, #f0f5fb 100%);
    border-bottom: 1px solid #d8e3f1;
    color: #334155;
    font-size: .79rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 800;
    padding: 12px 10px;
    vertical-align: middle;
}

.admin-data-table tbody tr:nth-child(even) {
    background: rgba(248,251,255,.65);
}

.admin-data-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #e8edf5;
    vertical-align: top;
}

.admin-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.admin-company-grid {
    display: grid;
    gap: 8px;
}

.admin-input,
.admin-textarea {
    min-height: 38px !important;
    height: auto;
    border-radius: 10px !important;
    border: 1px solid #d4ddec !important;
    font-size: .88rem !important;
    width: 100%;
}

.admin-textarea {
    min-height: 68px !important;
    resize: vertical;
}

.admin-input-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    letter-spacing: .01em;
}

.admin-cap-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .74rem;
    line-height: 1;
}

.admin-cap-pill {
    background: #f6f8fc;
    border: 1px solid #dce5f2;
    color: #334155;
}

.status-paid {
    background: #e8fbf0;
    color: #13643a;
    border: 1px solid #bcefd0;
}

.status-unpaid {
    background: #ffe9eb;
    color: #a8182f;
    border: 1px solid #ffc8cf;
}

.admin-date-cell {
    white-space: nowrap;
    font-weight: 600;
    color: #475569;
}

.admin-actions-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.admin-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
\n.admin-dashboard-head-compact {\n    padding: 14px 18px;\n}\n\n.admin-dashboard-grid-compact {\n    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n    gap: 12px;\n}\n\n.admin-users-compact {\n    margin-top: 4px;\n}\n
.admin-dashboard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.admin-dashboard-head .admin-title-wrap {
    align-items: center;
    color: inherit;
}

.admin-dashboard-head .admin-title-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.admin-actions-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-dashboard-metrics {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));\n    gap: 10px;\n}

.admin-metric-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
}

.admin-metric-card .metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 600;
}

.admin-metric-card .metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 6px;
}

.admin-metric-card.metric-accent {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.admin-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.admin-panel-compact {
    padding: 14px;
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
}

.admin-tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.admin-tool-title {
    font-weight: 700;
    color: #0f172a;
}

.admin-tool-sub {
    font-size: 12px;
    color: #64748b;
}
.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-panel-head h2 {
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #0f172a;
}

.admin-mini-table thead th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.admin-mini-table td {
    font-size: 13px;
}

.admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.admin-list .admin-list-sub {
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .admin-dashboard-head {
        padding: 16px;
    }
    .admin-actions-quick .btn {
        width: 100%;
    }
    .admin-users-hero {
        padding: 16px;
    }
\n.admin-users-hero-clean {\n    background: #ffffff;\n    color: #0f172a;\n    border: 1px solid #e5e7eb;\n    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);\n}\n\n.admin-users-hero-clean .admin-title-icon {\n    background: #e0f2fe;\n    color: #0f172a;\n}\n\n.admin-users-hero-clean .admin-title-wrap p {\n    color: #475569;\n}\n    .admin-users-hero-actions .btn {
        width: 100%;
    }
}

.action-fixed {
    min-width: 72px;
    min-height: 34px;
    font-size: .76rem;
    border-radius: 10px;
    font-weight: 700;
}

.admin-actions-main .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #dbe4f2;
    box-shadow: 0 12px 30px rgba(15,23,42,.14);
    padding: 6px;
}

.admin-actions-main .dropdown-item {
    border-radius: 8px;
    font-size: .86rem;
}

@media (max-width: 1200px) {
    .admin-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-submit {
        grid-column: 1 / -1;
    }

    .admin-filter-submit .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-users-shell {
        padding-bottom: 16px;
    }

    .admin-users-filters {
        padding: 12px;
    }

    .admin-filter-form {
        grid-template-columns: 1fr;
    }
}

body.rtl {
    direction: rtl;
    text-align: right;
    font-family: "Noto Sans", sans-serif;
}

body.rtl .navbar .nav-link,
body.rtl .form-control,
body.rtl .form-select {
    text-align: right;
}

/* Sky blue navbar adjustments (no dark blue) */
.app-navbar {
    background: linear-gradient(102deg, #f7fbff 0%, #eef6ff 45%, #e3f1ff 100%);
    border-bottom: 1px solid rgba(47,161,246,.2);
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
}

.app-navbar .nav-link,
.app-navbar .navbar-brand,
.app-navbar .brand-title,
.app-navbar .brand-subtitle {
    color: var(--ink-900) !important;
}

.app-navbar .navbar-toggler {
    border-color: rgba(15,23,42,.15);
}

.lang-switch {
    background: rgba(255,255,255,.8);
    border-color: rgba(47,161,246,.25);
}




.admin-dashboard-clean {
    max-width: 1280px;
    margin: 0 auto;
}

.admin-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #f8fafc;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.admin-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-stat-tile {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.admin-users-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-users-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.admin-users-toolbar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-users-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-users-grid {
    display: grid;
    gap: 14px;
}

.admin-user-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-user-rowhead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-user-main {
    display: grid;
    gap: 8px;
}

.admin-user-badges {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-user-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.admin-user-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.admin-panel-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 992px) {
    .admin-header-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
.admin-dashboard-clean {
    background: transparent;
}

.admin-header-bar {
    border: 1px solid #1f2937;
}

.admin-header-bar h1 {
    font-size: 1.15rem;
    margin: 0;
}

.admin-header-bar p {
    margin: 2px 0 0;
    color: #cbd5f5;
    font-size: 0.85rem;
}

.admin-stat-tile {
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.admin-users-panel {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.admin-users-toolbar {
    background: #f8fafc;
}

.admin-users-grid {
    gap: 12px;
}

.admin-user-card {
    border: 1px solid #e2e8f0;
    box-shadow: none;
    padding: 12px;
}

.admin-user-card::before {
    content: "";
    display: block;
    height: 3px;
    border-radius: 6px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    margin: -12px -12px 12px;
}

.admin-user-rowhead {
    align-items: center;
}

.admin-user-main {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.admin-user-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.admin-input,
.admin-textarea,
.admin-user-panel .form-select {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 6px 10px;
}

.admin-textarea {
    min-height: 64px;
}

.admin-user-actions {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.admin-user-actions .btn {
    border-radius: 10px;
}
