/* ==========================================================================
 * Amenify 3D Spaces — shared theme.
 *
 * Lifted from the Moodboards / Floorplan tool so every Amenify 3D Spaces
 * surface (login, calculator, admin) shares one visual language:
 *  - DM Sans body + Playfair Display heros
 *  - Cool blue-on-white palette (#2563eb on #f4f7fc)
 *  - Glass-tinted topbar with primary accent line
 *  - 38px icon-btn chrome, gradient .btn-primary
 *  - 16px-radius .card with whisper-soft shadow
 * ========================================================================== */

:root {
    --bg:           #f4f7fc;
    --bg-2:         #ffffff;
    --panel:        #ffffff;
    --panel-soft:   #f7faff;
    --panel-tint:   #eef3fc;

    --ink:          #0b1727;
    --ink-soft:     #55678a;
    --ink-muted:    #8593af;

    --line:         #e4ebf5;
    --line-strong:  #c9d5ea;

    --primary:      #2563eb;
    --primary-2:    #3b82f6;
    --primary-soft: #eaf1ff;
    --primary-ring: rgba(37, 99, 235, .15);

    --success:      #10b981;
    --warn:         #f59e0b;
    --danger:       #ef4444;

    --shadow-sm:  0 1px 2px rgba(10, 24, 50, .06), 0 1px 1px rgba(10, 24, 50, .04);
    --shadow:     0 4px 14px rgba(10, 24, 50, .08), 0 1px 3px rgba(10, 24, 50, .05);
    --shadow-lg:  0 18px 40px rgba(10, 24, 50, .12);

    --radius:     12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
}

/* ---- Reset & base ------------------------------------------------------- */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at 100% -20%, rgba(59, 130, 246, .05), transparent 65%),
        var(--bg);
    background-attachment: fixed;
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    font-feature-settings: "cv11", "ss01", "ss03";
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}
body { min-height: 100vh; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--primary-soft); color: var(--primary); }

/* ---- Top bar (glass + primary accent) ----------------------------------- */
header.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    gap: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 100%),
        radial-gradient(400px 60px at 92% 50%, rgba(59, 130, 246, .05), transparent 70%);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(37, 99, 235, .08), 0 1px 2px rgba(10, 24, 50, .04);
}
header.topbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(37, 99, 235, .22) 20%,
        rgba(37, 99, 235, .28) 50%,
        rgba(37, 99, 235, .22) 80%,
        transparent 100%);
    pointer-events: none;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }

.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb 70%, #1d4ed8);
    display: grid; place-items: center;
    box-shadow:
        0 10px 24px rgba(37, 99, 235, .28),
        0 1px 2px rgba(10, 24, 50, .08),
        inset 0 1px 0 rgba(255, 255, 255, .4);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700; font-size: 19px; letter-spacing: -.02em;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
    text-decoration: none;
}
.brand-mark:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 30px rgba(37, 99, 235, .34),
        0 1px 2px rgba(10, 24, 50, .08),
        inset 0 1px 0 rgba(255, 255, 255, .4);
}
.brand-mark::after {
    content: ""; position: absolute; inset: 1px;
    border-radius: 11px; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 42%);
}
.brand-mark.has-logo {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.brand-mark.has-logo::after { content: none; }
.brand-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

.brand-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700; letter-spacing: -.018em;
    font-size: 17.5px; color: var(--ink);
    line-height: 1.15;
}
.brand-tag {
    font-size: 10px; letter-spacing: 2.2px;
    text-transform: uppercase; color: var(--ink-muted);
    font-weight: 600; margin-top: 3px;
    display: flex; align-items: center; gap: 6px;
}
.brand-tag::before {
    content: "";
    display: inline-block;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}

/* Topbar action cluster ----------------------------------------------------- */
.topbar .actions {
    display: flex; gap: 6px; align-items: center;
    flex-wrap: nowrap;
}

/* Currently-loaded-project chip — sits between the brand and the actions.
   Hidden by default; calculator.html shows it once a quote is loaded. */
.topbar-project-chip {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    margin-left: auto;
    margin-right: 8px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    transition: background .15s ease, border-color .15s ease, transform .08s ease, box-shadow .15s ease;
    max-width: 320px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}
.topbar-project-chip.is-loaded { display: inline-flex; }
.topbar-project-chip:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 1px 2px rgba(37,99,235,.12);
}
.topbar-project-chip:active { transform: translateY(1px); }
.topbar-project-chip:focus-visible {
    outline: 2px solid var(--primary-ring);
    outline-offset: 2px;
}
.topbar-project-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}
.topbar-project-chip-text {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
    min-width: 0;
}
.topbar-project-chip-eyebrow {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.topbar-project-chip-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
@media (max-width: 767.98px) {
    .topbar-project-chip { max-width: 180px; padding: 5px 10px 5px 6px; }
    .topbar-project-chip-title { max-width: 110px; font-size: 11.5px; }
}
@media (max-width: 575.98px) {
    .topbar-project-chip-eyebrow { display: none; }
    .topbar-project-chip-title { max-width: 90px; }
}
.topbar .user-badge {
    font-size: 11.5px; font-weight: 600;
    padding: 5px 11px 5px 5px; border-radius: 99px;
    white-space: nowrap; letter-spacing: .01em;
    color: var(--ink); background: #fff;
    border: 1px solid var(--line-strong);
    font-family: 'DM Sans', sans-serif;
    display: inline-flex; align-items: center; gap: 6px;
}
.topbar .user-badge::before {
    content: attr(data-initial);
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 10px; font-weight: 700;
    box-shadow: 0 2px 4px rgba(37, 99, 235, .25);
}

.icon-btn {
    height: 38px; padding: 0 14px 0 11px; gap: 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    display: inline-flex; align-items: center; cursor: pointer;
    color: var(--ink-soft);
    font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -.005em;
    box-shadow: 0 1px 2px rgba(10, 24, 50, .04);
    transition: border-color .15s ease, color .15s ease, background .15s ease,
                transform .1s ease, box-shadow .15s ease;
    text-decoration: none;
}
.icon-btn:hover {
    border-color: var(--line-strong);
    color: var(--ink);
    background: var(--panel-soft);
    transform: translateY(-1px);
    text-decoration: none;
}
.icon-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.icon-btn.danger { color: var(--danger); }
.icon-btn.danger:hover { border-color: var(--danger); color: #fff; background: var(--danger); }

/* High-emphasis variant — used for the Save Quote button in the topbar */
.icon-btn.icon-btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(37, 99, 235, .25);
}
.icon-btn.icon-btn--primary:hover {
    background: var(--primary-2, #1d4ed8);
    border-color: var(--primary-2, #1d4ed8);
    color: #fff;
}

/* ---- Buttons ------------------------------------------------------------- */
button, .btn {
    font-family: inherit; cursor: pointer;
    border: none; border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600; font-size: 14px; letter-spacing: -.005em;
    transition: transform .08s ease, background .18s ease, opacity .15s ease,
                border-color .15s ease, box-shadow .18s ease, filter .18s ease;
}
button:active { transform: translateY(1px); }
button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .2);
}
.btn-primary:hover {
    background: var(--primary-2);
    box-shadow: 0 2px 6px rgba(37, 99, 235, .25);
}
.btn-primary:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 2px; }

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--panel-soft); color: var(--ink); border-color: var(--line-strong); }

.btn-danger {
    background: var(--danger); color: #fff;
}
.btn-danger:hover { filter: brightness(1.05); }

/* ---- Layout containers --------------------------------------------------- */
.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 28px 48px;
}
.wrap-narrow { max-width: 720px; }
.wrap-wide { max-width: 1320px; }

.hero {
    padding: 20px 0 24px;
    max-width: 760px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 38px; line-height: 1.08;
    margin: 0 0 10px; color: var(--ink);
    letter-spacing: -.015em;
    font-feature-settings: "liga", "dlig", "kern";
}
.hero h1 em { color: var(--primary); font-style: italic; font-weight: 600; }
.hero p {
    color: var(--ink-soft); font-size: 15px; line-height: 1.6;
    max-width: 62ch; font-weight: 400; margin: 0;
}

/* ---- Card -------------------------------------------------------------- */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
    position: relative;
}
.card h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700; font-size: 20px;
    margin: 0 0 6px; letter-spacing: -.015em; color: var(--ink);
}
.card h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600; font-size: 15px;
    margin: 0 0 4px; letter-spacing: -.01em; color: var(--ink);
}
.card .sub, .card-sub {
    color: var(--ink-soft); font-size: 13.5px;
    margin-bottom: 18px; line-height: 1.55; max-width: 64ch;
}

/* ---- Forms -------------------------------------------------------------- */
input[type="password"], input[type="text"], input[type="email"], input[type="search"],
input[type="url"], input[type="number"], input[type="tel"], input[type="date"],
textarea, select {
    padding: 11px 13px;
    background: var(--panel); color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-family: inherit; font-size: 14px; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    width: 100%;
}
input:hover, textarea:hover, select:hover { border-color: var(--ink-muted); }
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-ring);
}

/* Smaller input variant */
.input-sm, input.input-sm, select.input-sm {
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 8px;
}

label.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ---- Badges & chips ----------------------------------------------------- */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    color: var(--ink-soft);
    background: var(--bg-2);
    font-weight: 500;
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* ---- Footer ------------------------------------------------------------- */
footer.app-footer {
    padding: 28px 30px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
    background: rgba(255, 255, 255, .5);
}
footer.app-footer .sep { color: var(--line-strong); margin: 0 8px; }

/* ---- Utilities ---------------------------------------------------------- */
.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

.hidden { display: none !important; }

/* ─── Component refinements (rebuild pass) ─────────────────────────────── */

/* Eyebrow label — small uppercase tag above a heading */
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 10px;
}
.eyebrow::before {
    content: ""; width: 5px; height: 5px;
    border-radius: 50%; background: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* Section header — eyebrow + display-serif title pattern used on every page */
.section-head { margin-bottom: 18px; }
.section-head h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 26px; line-height: 1.15;
    margin: 0 0 4px; letter-spacing: -.015em;
    color: var(--ink);
}
.section-head h2 em { color: var(--primary); font-style: italic; font-weight: 600; }
.section-head p {
    margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55;
    max-width: 64ch;
}

/* Refined card variants */
.card.card-flat   { box-shadow: none; }
.card.card-soft   { background: var(--panel-soft); border-color: var(--line); }
.card.card-tinted {
    background: var(--panel-tint);
    border-color: var(--line-strong);
}
.card.card-accent {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
}
.card-header-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.card-header-row h2, .card-header-row h3 { margin: 0; }

/* Divider — gradient hairline that's lighter than a plain border */
.divider-soft {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
    border: 0;
    margin: 22px 0;
}

/* Chip variants for status badges */
.chip-primary {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: rgba(37, 99, 235, .25);
}
.chip-success {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}
.chip-warn {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}
.chip-danger {
    color: #7a1e1e;
    background: #fef2f2;
    border-color: #fecaca;
}

/* Empty state — used by admin tables, history list etc. */
.empty-state {
    padding: 32px 20px;
    text-align: center;
    background: var(--panel-tint);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--ink-soft);
}
.empty-state .es-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--ink-muted);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.empty-state .es-title { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 14px; }
.empty-state .es-body { font-size: 13px; max-width: 40ch; margin: 0 auto; }

/* Skeleton — animated placeholder while data loads */
.skeleton {
    background: linear-gradient(90deg,
        var(--panel-soft) 0%,
        var(--panel-tint) 40%,
        var(--panel-soft) 80%);
    background-size: 200% 100%;
    border-radius: 6px;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
    color: transparent;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toast / pill notification */
.toast-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    font-size: 13px; color: var(--ink);
    transition: opacity .2s ease, transform .2s ease;
}
.toast-pill.success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.toast-pill.warn    { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.toast-pill.danger  { border-color: #fecaca; background: #fef2f2; color: #7a1e1e; }

/* Stronger button micro-interaction */
.btn-primary, button.btn-primary,
.btn-ghost,  button.btn-ghost,
.btn-danger, button.btn-danger {
    transition:
        transform .08s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .2s ease,
        opacity .15s ease;
}
.btn-primary:not(:disabled):hover { transform: translateY(-1px); }
.btn-primary:not(:disabled):active { transform: translateY(0); }

/* Smaller / compact buttons */
.btn-sm {
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 8px;
}

/* Refine form fields with floated label option */
.field-stack {
    display: flex; flex-direction: column; gap: 5px;
}
.field-stack label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: .03em;
}
.field-stack .hint {
    font-size: 11.5px;
    color: var(--ink-muted);
    margin-top: 2px;
}
.field-stack.invalid input,
.field-stack.invalid select,
.field-stack.invalid textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}
.field-stack.invalid .hint { color: var(--danger); }

/* Focus ring used everywhere — universal accessibility */
:focus-visible {
    outline: 3px solid var(--primary-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Number-aligned tabular figures for prices, totals etc. */
.tabular { font-variant-numeric: tabular-nums; }

/* Currency display — stronger weight + Playfair italic for emphasis numbers */
.amt-strong {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    letter-spacing: -.01em;
}
.amt-strong em { color: var(--primary); font-style: normal; }

/* ---- Checkbox / radio (browser default with primary accent) ------------ */
input[type="checkbox"], input[type="radio"] {
    accent-color: var(--primary);
    cursor: pointer;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 991px) {
    .wrap { padding: 20px 18px 40px; }
    .hero h1 { font-size: 32px; }
    .card { padding: 24px 22px; }
}

@media (max-width: 767px) {
    header.topbar { padding: 12px 16px; gap: 12px; }
    .brand-name { font-size: 16px; }
    .icon-btn { height: 36px; padding: 0 12px; font-size: 12.5px; }
    .icon-btn svg { width: 15px; height: 15px; }
    .topbar .user-badge { font-size: 11px; padding: 4px 9px 4px 4px; }
    .wrap { padding: 18px 14px 36px; }
    .hero { padding: 14px 0 18px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 14px; }
    .card { padding: 20px 18px; border-radius: var(--radius); }
    .card h2 { font-size: 17px; }
    button, .btn { padding: 9px 16px; font-size: 13.5px; }
    /* Make labelled icon-btns iconic on phones to save horizontal space. */
    .icon-btn .label { display: none; }
    .icon-btn { padding: 0 10px; }
}

@media (max-width: 480px) {
    body { font-size: 14px; }
    header.topbar { padding: 10px 12px; gap: 8px; }
    .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
    .brand-name { font-size: 14px; }
    .brand-tag { font-size: 9px; letter-spacing: 1.6px; }
    .wrap { padding: 14px 12px 28px; }
    .hero h1 { font-size: 22px; }
    .card { padding: 18px 14px; }
    button, .btn { padding: 8px 14px; font-size: 13px; }
    footer.app-footer { padding: 18px 12px; font-size: 11px; }
}

/* Print */
@media print {
    header.topbar, footer.app-footer { display: none !important; }
    body { background: #fff !important; }
}

/* ======================================================================
   .btn-interiors-* button family
   Lifted out of calculator.html's inline <style> so every page (login,
   admin, customer-share quote-public) gets the same button look without
   each one duplicating the rules. Hierarchy via fill intensity:
     primary   = solid royal blue   (Save, primary CTAs)
     secondary = soft primary tint  (Open, Create New)
     outline   = white + blue text  (Cancel, low-emphasis)
   All three share the same shape, hover lift, focus ring.
   ====================================================================== */
.btn-interiors-primary,
.btn-interiors-secondary,
.btn-interiors-outline {
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 16px;
    letter-spacing: -.005em;
    transition: background .18s ease, color .18s ease, border-color .18s ease,
                transform .08s ease, box-shadow .18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-interiors-primary:active,
.btn-interiors-secondary:active,
.btn-interiors-outline:active { transform: translateY(0) !important; }
.btn-interiors-primary:focus-visible,
.btn-interiors-secondary:focus-visible,
.btn-interiors-outline:focus-visible {
    outline: 3px solid var(--primary-ring);
    outline-offset: 2px;
}
.btn-interiors-primary:disabled,
.btn-interiors-secondary:disabled,
.btn-interiors-outline:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .12);
}
/* Primary — solid blue */
.btn-interiors-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 1px 2px rgba(37, 99, 235, .2);
}
.btn-interiors-primary:hover {
    background: var(--primary-2);
    border-color: var(--primary-2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, .28);
}
/* Secondary — soft fill, blue text */
.btn-interiors-secondary {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, .25);
    box-shadow: 0 1px 2px rgba(37, 99, 235, .08);
}
.btn-interiors-secondary:hover {
    background: #dde9ff;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, .16);
}
/* Outline — white background, blue text/border */
.btn-interiors-outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, .35);
    box-shadow: 0 1px 2px rgba(37, 99, 235, .06);
}
.btn-interiors-outline:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, .14);
}
/* Bootstrap-style btn-sm sizing modifier */
.btn-interiors-primary.btn-sm,
.btn-interiors-secondary.btn-sm,
.btn-interiors-outline.btn-sm {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 8px;
}
