/* Zoipler Discovery Marketplace — teal + coral */

:root {
    --color-teal-950: #042F35;
    --color-teal-900: #063940;
    --color-teal-800: #0A4A52;
    --color-teal-700: #0F5F6A;
    --color-teal-500: #1A8A96;
    --color-teal-100: #D7EEF1;
    --color-coral: #FF6A4D;
    --color-coral-dark: #E85A3F;
    --color-coral-soft: #FFE4DE;
    --color-ink: #0F1C1E;
    --color-ink-soft: #2A3C3F;
    --color-muted: #5A6E72;
    --color-bg: #E8F1F2;
    --color-bg-deep: #D5E6E9;
    --color-surface: #FFFFFF;
    --color-surface-2: #F3F8F9;
    --color-border: rgba(10, 74, 82, 0.12);
    --color-primary: #0A4A52;
    --color-primary-600: #063940;
    --color-accent: #FF6A4D;
    --color-danger: #D64545;
    --color-warning: #E0A106;
    --color-success: #1A8A96;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(6, 57, 64, 0.06);
    --shadow-md: 0 12px 32px rgba(6, 57, 64, 0.12);
    --shadow-lg: 0 28px 60px rgba(6, 57, 64, 0.18);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --transition-fast: 220ms;
    --font-display: "Syne", "Segoe UI", sans-serif;
    --font-body: "DM Sans", "Segoe UI", sans-serif;
    --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(26, 138, 150, 0.18), transparent 55%),
        radial-gradient(900px 420px at 90% 0%, rgba(255, 106, 77, 0.12), transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
    color: var(--color-ink);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.display-font {
    font-family: var(--font-display);
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 780; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
p { line-height: 1.6; color: var(--color-ink-soft); }

a {
    color: var(--color-teal-800);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}
a:hover { color: var(--color-coral-dark); }
a::after { display: none !important; }

img { border-radius: var(--radius-md); }

main.py-4 { padding-top: 0 !important; padding-bottom: var(--space-10) !important; }

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast) ease, filter var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(180deg, var(--color-coral) 0%, var(--color-coral-dark) 100%);
    border: 0;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(232, 90, 63, 0.28);
}
.btn-primary:hover {
    filter: brightness(1.04);
    color: #fff !important;
}

.btn-teal {
    background: var(--color-teal-800);
    border: 0;
    color: #F5FBFC !important;
}
.btn-teal:hover {
    background: var(--color-teal-700);
    color: #F5FBFC !important;
}

.btn-outline-success,
.btn-outline-teal {
    color: var(--color-teal-800) !important;
    border: 1.5px solid var(--color-teal-800);
    background: transparent;
}
.btn-outline-success:hover,
.btn-outline-teal:hover {
    background: var(--color-teal-100);
    color: var(--color-teal-950) !important;
    border-color: var(--color-teal-800);
}

.btn-danger { background-color: var(--color-danger); border: 0; color: #fff; }

/* Forms */
.form-control, .form-select {
    background-color: var(--color-surface);
    border: 1.5px solid var(--color-border);
    color: var(--color-ink);
    border-radius: var(--radius-sm);
}
.form-control::placeholder { color: var(--color-muted); }
.form-control:focus, .form-select:focus {
    border-color: var(--color-teal-500);
    box-shadow: 0 0 0 3px rgba(26, 138, 150, 0.22);
    color: var(--color-ink);
}

/* ========== Header ========== */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

header.site-header .navbar-main {
    background: rgba(245, 251, 252, 0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    min-height: var(--header-h);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

header.site-header .brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

header.site-header .brand-lockup img,
header.site-header .brand-lockup .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

header.site-header .brand-wordmark {
    font-family: var(--font-display);
    font-weight: 780;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--color-teal-800);
    line-height: 1;
}

header.site-header .navbar-main .nav-link {
    color: var(--color-ink-soft) !important;
    font-weight: 600;
    font-size: 0.95rem;
}
header.site-header .navbar-main .nav-link:hover {
    color: var(--color-teal-800) !important;
}

header.site-header .search-form {
    flex-grow: 1;
    max-width: 560px;
    display: flex;
    gap: 0.5rem;
}
header.site-header .search-form .form-control {
    border-radius: var(--radius-pill);
    padding-left: 1.1rem;
}
header.site-header .search-form .btn {
    border-radius: var(--radius-pill);
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

header.site-header .cart-badge {
    background: var(--color-coral) !important;
    color: #fff !important;
}

/* Category rail */
.category-rail {
    background: linear-gradient(90deg, var(--color-teal-900), var(--color-teal-700)) !important;
    border: 0 !important;
    padding: 0.15rem 0;
}
.category-rail .nav-link {
    color: #E8F6F8 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 0.95rem !important;
}
.category-rail .nav-link:hover,
.category-rail .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}
.category-rail .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
}
.category-rail .navbar-toggler-icon {
    filter: invert(1);
}

.dropdown-menu {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}
.dropdown-menu .dropdown-item {
    color: var(--color-ink) !important;
    border-radius: 8px;
    font-weight: 500;
}
.dropdown-menu .dropdown-item:hover {
    background: var(--color-teal-100);
    color: var(--color-teal-950) !important;
}

.navbar-nav .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s, opacity 0.2s ease;
}
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}
.account-dropdown-with-delay.account-menu-open .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute;
    top: 100%;
    z-index: 1000;
}

@media (max-width: 991px) {
    header.site-header .search-form {
        max-width: none;
        width: 100%;
        margin: 0.75rem 0;
        order: 3;
    }
    .dropdown-menu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        min-width: auto;
        box-shadow: none;
    }
}

/* ========== Hero ========== */
.home-hero {
    position: relative;
    min-height: clamp(480px, 68vh, 700px);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding-bottom: 2.5rem;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transform: scale(1.02);
    animation: heroDrift 18s ease-in-out infinite alternate;
}
.home-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 47, 53, 0.94) 0%, rgba(4, 47, 53, 0.82) 28%, rgba(4, 47, 53, 0.45) 55%, rgba(4, 47, 53, 0.18) 78%, rgba(4, 47, 53, 0.08) 100%),
        linear-gradient(180deg, rgba(4, 47, 53, 0.35) 0%, transparent 35%, rgba(4, 47, 53, 0.55) 100%);
}

.home-hero__inner {
    width: 100%;
    max-width: 40rem;
    margin-right: auto;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem);
    position: relative;
    z-index: 1;
}

.home-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    animation: riseIn 700ms ease both;
}
.home-hero__brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.home-hero__brand-name {
    font-family: var(--font-display);
    font-weight: 780;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #F5FBFC;
    letter-spacing: -0.03em;
    line-height: 1;
}

.home-hero h1 {
    color: #F5FBFC;
    max-width: 14ch;
    margin-bottom: 0.85rem;
    animation: riseIn 800ms 80ms ease both;
}
.home-hero__sub {
    color: #D7EEF1;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 42ch;
    margin-bottom: 1.5rem;
    animation: riseIn 800ms 140ms ease both;
}

.home-hero__search {
    display: flex;
    gap: 0.6rem;
    max-width: 560px;
    margin-bottom: 1.25rem;
    animation: riseIn 850ms 200ms ease both;
}
.home-hero__search .form-control {
    border-radius: var(--radius-pill);
    border: 0;
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
}
.home-hero__search .btn {
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.4rem;
    white-space: nowrap;
}

.home-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: riseIn 900ms 260ms ease both;
}
.home-hero__cta .btn-ghost {
    background: rgba(245, 251, 252, 0.12);
    border: 1.5px solid rgba(245, 251, 252, 0.45);
    color: #F5FBFC !important;
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.2rem;
}
.home-hero__cta .btn-ghost:hover {
    background: rgba(245, 251, 252, 0.22);
    color: #fff !important;
}

@keyframes heroDrift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.07) translate3d(-1.5%, -1%, 0); }
}
@keyframes riseIn {
    from { transform: translateY(14px); filter: blur(2px); }
    to { transform: translateY(0); filter: blur(0); }
}

/* Category discovery chips */
.discover-rail {
    margin-top: -1.25rem;
    position: relative;
    z-index: 2;
    margin-bottom: 2.25rem;
}
.discover-rail__inner {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.15rem;
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scrollbar-width: thin;
}
.discover-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    color: var(--color-teal-900) !important;
    font-weight: 650;
    font-size: 0.92rem;
    transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}
.discover-chip:hover {
    background: var(--color-teal-100);
    border-color: rgba(10, 74, 82, 0.25);
    transform: translateY(-2px);
    color: var(--color-teal-950) !important;
}
.discover-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-coral);
}

/* Sections */
.market-section {
    margin-bottom: 2.75rem;
}
.market-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.market-section__head h2 {
    margin: 0;
}
.market-section__head p {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}
.market-section__link {
    font-weight: 700;
    color: var(--color-teal-800) !important;
    white-space: nowrap;
}

.promise-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.5rem 0 1rem;
}
.promise-item {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, rgba(10, 74, 82, 0.08), rgba(255, 106, 77, 0.08));
    border: 1px solid var(--color-border);
}
.promise-item strong {
    display: block;
    font-family: var(--font-display);
    color: var(--color-teal-900);
    margin-bottom: 0.2rem;
}
.promise-item span {
    color: var(--color-ink-soft);
    font-size: 0.92rem;
}

@media (max-width: 767px) {
    .promise-strip { grid-template-columns: 1fr; }
    .home-hero__search { flex-direction: column; }
}

/* Product cards — interaction containers */
.product-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
    color: var(--color-ink);
}
.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-tile__media {
    background: var(--color-surface-2);
    aspect-ratio: 1 / 1.05;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 400ms ease;
}
.product-tile:hover .product-tile__media img {
    transform: scale(1.04);
}
.product-tile__body {
    padding: 0.9rem 0.95rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-tile__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--color-ink);
    margin: 0 0 0.25rem;
    line-height: 1.25;
}
.product-tile__brand {
    color: var(--color-muted);
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}
.product-tile__price {
    margin-top: auto;
    font-weight: 750;
    color: var(--color-teal-900);
    font-size: 1.05rem;
}
.product-tile__footer {
    padding: 0.65rem 0.95rem 0.95rem;
    background: var(--color-surface);
}

.fixed-image { height: 220px; object-fit: cover; }

/* Cards (general) */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--color-ink);
}
.card .card-body,
.card .card-title { color: var(--color-ink); }

.list-group-item {
    background: var(--color-surface);
    color: var(--color-ink);
    border-color: var(--color-border);
}
.list-group-item-action:hover {
    background: var(--color-teal-100);
    color: var(--color-teal-950);
}

/* Filter / tables / pagination */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.pagination-links { display: flex; justify-content: center; margin: 20px 0; }
.pagination .page-link {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    border-radius: var(--radius-sm);
}
.pagination .page-link:hover { background-color: var(--color-teal-100); }
.pagination .active .page-link {
    background-color: var(--color-teal-800);
    border-color: var(--color-teal-800);
    color: #F5FBFC;
}

table.table { color: var(--color-ink); }
table.table thead th { color: var(--color-muted); border-bottom: 1px solid var(--color-border); }
table.table tbody td { border-color: var(--color-border); }

/* Footer */
.site-footer {
    margin-top: 3rem;
    background: linear-gradient(180deg, var(--color-teal-900), var(--color-teal-950));
    color: #D7EEF1;
    padding: 2.5rem 0 1.75rem;
    border-top: 3px solid var(--color-coral);
}
.site-footer a {
    color: #E8F6F8 !important;
    font-weight: 600;
}
.site-footer a:hover { color: #fff !important; }
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.site-footer__brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}
.site-footer__name {
    font-family: var(--font-display);
    font-weight: 780;
    color: #F5FBFC;
    font-size: 1.25rem;
}
.site-footer__tag {
    color: #A9CED4;
    max-width: 36ch;
    margin-bottom: 1rem;
}

/* Seller shell */
body.seller-app {
    background:
        radial-gradient(900px 400px at 0% 0%, rgba(26, 138, 150, 0.14), transparent 55%),
        var(--color-bg);
}
.seller-topbar {
    background: var(--color-teal-900) !important;
    border-bottom: 3px solid var(--color-coral);
    padding: 0.4rem 0;
}
.seller-topbar .navbar-brand,
.seller-topbar .nav-link {
    color: #E8F6F8 !important;
    font-weight: 600;
}
.seller-topbar .nav-link:hover {
    color: #fff !important;
}
.seller-topbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 780;
}
.seller-topbar .navbar-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}
.seller-topbar .dropdown-menu .dropdown-item {
    color: var(--color-ink) !important;
}
.seller-stat {
    text-align: center;
    padding: 0.75rem;
}
.seller-stat .value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 780;
    color: var(--color-teal-900);
}
.seller-stat .label {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* Product detail leftovers */
.product-detail-page .offers-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}
.product-detail-page .offer-option {
    padding: var(--space-3);
    margin-bottom: var(--space-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-surface-2);
}
.product-detail-page .store-name { color: var(--color-muted) !important; }
.product-detail-page .feel-good-section .text-success {
    color: var(--color-teal-700) !important;
}

.modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-ink);
}
.modal-header, .modal-body, .modal-footer { border-color: var(--color-border); }

.shadow-soft { box-shadow: var(--shadow-md); }
.rounded-md { border-radius: var(--radius-md); }
.text-muted-2 { color: var(--color-muted) !important; }
.price-accent { color: var(--color-teal-800) !important; }

a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--color-coral);
    outline-offset: 2px;
}

.visually-hidden-focusable:not(:focus):not(:active) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.api-quick-ref .api-code-block,
.api-quick-ref .api-code-block code {
    background-color: #0F1C1E !important;
    color: #E8F6F8 !important;
}

.w-100px { width: 100px !important; }

/* ========== Auth (register / sign-in) ========== */
.auth-shell {
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.auth-panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: min(640px, calc(100vh - 220px));
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}
.auth-panel--compact {
    min-height: min(520px, calc(100vh - 220px));
}
.auth-actions {
    display: grid;
    gap: 0.75rem;
}
.auth-success {
    background: #E7F6F4;
    border: 1px solid rgba(26, 138, 150, 0.35);
    color: #0A4A52;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
}
.auth-visual {
    position: relative;
    min-height: 280px;
    isolation: isolate;
}
.auth-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.auth-visual__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(160deg, rgba(4, 47, 53, 0.88) 0%, rgba(4, 47, 53, 0.55) 55%, rgba(4, 47, 53, 0.72) 100%);
}
.auth-visual__copy {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #F5FBFC;
}
.auth-visual__copy > img {
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.auth-visual__brand {
    font-family: var(--font-display);
    font-weight: 780;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    margin: 0 0 0.4rem;
    color: #F5FBFC;
}
.auth-visual__line {
    margin: 0;
    max-width: 26ch;
    color: #D7EEF1;
    font-size: 1.05rem;
    line-height: 1.45;
}
.auth-form {
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(500px 220px at 100% 0%, rgba(255, 106, 77, 0.08), transparent 60%),
        var(--color-surface);
    color: var(--color-ink);
}
.auth-eyebrow {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-coral-dark);
    margin: 0 0 0.45rem;
}
.auth-form h1 {
    margin: 0 0 0.5rem;
    color: var(--color-teal-900);
}
.auth-lede {
    color: var(--color-muted);
    margin: 0 0 1.35rem;
    max-width: 38ch;
}
.auth-form .form-label {
    font-weight: 650;
    color: var(--color-ink-soft);
    margin-bottom: 0.35rem;
}
.auth-form .form-control {
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
}
.auth-submit {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 1.02rem;
}
.auth-links {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-ink-soft);
    font-size: 0.95rem;
}
.auth-links a {
    font-weight: 700;
    color: var(--color-teal-800);
}
.auth-links a:hover {
    color: var(--color-coral-dark);
}
.auth-alert {
    background: #FFF1EE;
    border: 1px solid rgba(232, 90, 63, 0.35);
    color: #7A2E1F;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 0.92rem;
}
.auth-alert strong {
    color: #5C2216;
}

@media (max-width: 991px) {
    .auth-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .auth-visual {
        min-height: 200px;
    }
    .auth-visual__copy {
        justify-content: center;
        padding: 1.25rem 1.35rem;
    }
    .auth-visual__line {
        display: none;
    }
}
