@font-face {
    font-family: 'BrittanySignature';
    src: url('../fonts/BrittanySignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Makcasa';
    src: url('../fonts/Makcasa-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {

    /* Primary Brand Colors */
    --primary: #7A0F24;
    --primary-dark: #370414;
    --primary-light: #A51D3B;

    /* Luxury Gold */
    --secondary: #D4AF37;
    --secondary-dark: #B88A18;
    --secondary-light: #F4D87A;

    /* Accent Colors */
    --accent: #F7E7B5;
    --accent-dark: #C9A227;

    /* Backgrounds */
    --bg: #FFFDF9;
    --bg-light: #FFF8F0;
    --bg-dark: #2A0D16;

    /* Text */
    --text: #2A2A2A;
    --text-light: #666666;
    --text-white: #FFFFFF;

    /* Borders */
    --border: #E9DDC1;
    --border-light: #F3EBD8;

    /* States */
    --success: #2E7D32;
    --warning: #F9A825;
    --danger: #C62828;
    --info: #1565C0;

    /* Shadows */
    --shadow-sm: rgba(122, 15, 36, 0.08);
    --shadow-md: rgba(122, 15, 36, 0.15);
    --shadow-lg: rgba(122, 15, 36, 0.25);

    /* Gradient */
    --gold-gradient: linear-gradient(135deg,
            #F7E7B5 0%,
            #E6C65A 30%,
            #D4AF37 60%,
            #B88A18 100%);

    --primary-gradient: linear-gradient(135deg,
            #540817,
            #7A0F24,
            #A51D3B);

    /* Typography */
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Makcasa', 'Playfair Display', serif;
    --font-script: 'BrittanySignature', cursive;

}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
}

.corner-scoop {
    corner-shape: scoop;
}

.scheme-facilities {
    background: linear-gradient(181deg, var(--accent), transparent);
    padding: 15px;
    border-radius: 10px;
    corner-shape: squircle;
    font-size: small;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.navbar {
    background: var(--primary);
}

.section-dark {
    background: var(--primary-dark);
    color: #fff;
}

.heading {
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 600;
}

.script {
    font-family: var(--font-script);
}

.highlight {
    color: var(--secondary);
}

.card {
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow-sm);
}

.logo {
    border-radius: 11px;
    corner-shape: scoop;
    z-index: 2;
}

.banners .item img {
    aspect-ratio: 2.4/1;
}

.banners .owl-nav {
    margin-top: -60px !important;
    text-align: left !important;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-inline: 20px;
}

.banners .owl-nav button svg {
    width: 40px;
    height: 40px;
}

.banners .owl-nav button:hover {
    background: transparent !important;
}

/* Quote card that overlaps the banner */
.quote-wrap {
    position: relative;
    padding: 0 1rem 3rem;
}

.quote-card {
    max-width: 980px;
    margin: 0 auto;
    margin-top: -60px;
    background: var(--bg);
    padding: 28px 24px;
    border-radius: 70px;
    box-shadow: 0px 9px 20px var(--shadow-md);
    text-align: center;
    position: relative;
    z-index: 5;
    corner-shape: scoop;
}

.quote-decor {
    width: 56px;
    height: 6px;
    background: var(--secondary);
    border-radius: 6px;
    margin: 0 auto 12px;
    corner-shape: scoop;
}

.quote-card .heading {
    font-size: 28px;
    line-height: 1.1;
    margin: 0;
}

.quote-card .script {
    font-size: 28px;
    margin-left: 8px;
}

.quote-sub {
    color: var(--text-light);
    margin-top: 8px;
}

@media (max-width: 640px) {
    .quote-card {
        margin-top: -30px;
        padding: 18px;
        box-shadow: 0px 4px 15px 0px var(--shadow-md);
    }

    .quote-sub {
        font-size: 13px;
        padding-inline: 35px;
    }

    .quote-card .heading,
    .quote-card .script {
        font-size: 20px;
    }
}

/* Footer styles */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-white);
}

.site-footer-inner {
    padding-block: 7rem;
}

.site-footer {
    position: relative;
    overflow: visible;
    border-radius: 20px;
    corner-shape: squircle;
}

.footer-notch {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 107px;
    height: 81px;
    z-index: 6;
    background: var(--primary-dark);
    corner-shape: scoop;
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-col h4 {
    color: var(--bg);
    margin-bottom: 0.6rem;
    font-family: var(--font-serif);
}

.footer-brand .footer-logo img {
    height: 10rem;
    width: auto;
    display: block;
    margin-bottom: 0.6rem;
    /* filter: brightness(0) invert(1); */
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    max-width: 260px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 0.4rem 0;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
}

.footer-contact .contact-phone {
    font-weight: 600;
    color: var(--secondary);
}

.socials {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.6rem;
}

.social {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 1.2rem;
    padding-top: 1rem;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.payments {
    opacity: 0.9
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-notch {
        height: 60px;
        top: -30px;
    }
}

.scheme-card {
    position: relative;
}

.scheme-gold-estimate {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(122, 15, 36, 0.05);
    color: #5c4a4a;
    font-size: 0.875rem;
    line-height: 1.45;
}

.scheme-gold-karat {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.scheme-gold-estimate strong {
    color: var(--primary);
}

.scheme-card:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 180px;
    height: 180px;
    background: url("../images/svg/flower.svg") no-repeat center;
    background-size: contain;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}
.scheme-card::after {
    content: "";
    position: absolute;
    bottom: 60%;
    left: -40px;
    width: 180px;
    height: 180px;
    background: url("../images/svg/branch.svg") no-repeat center;
    background-size: contain;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
}
.scheme-card:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -40px;
    width: 180px;
    height: 180px;
    background: url("../images/svg/flower.svg") no-repeat center;
    background-size: contain;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
}
.register-steps div{
    padding: 20px;
}
.register-steps div:hover{
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    corner-shape: scoop;
}

/* Jewellery collection slider */
.collection-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
    border-radius: 20px;
    corner-shape: squircle;
}

.jewelry-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px var(--shadow-sm); */
    height: 100%;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.jewelry-card:hover {
    /* transform: translateY(-6px); */
    border: 1px solid var(--secondary);
    /* box-shadow: 0 16px 40px var(--shadow-md); */
}

.jewelry-card-media {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.jewelry-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
    pointer-events: none;
}

.jewelry-icon {
    font-size: 2.75rem;
    color: var(--secondary);
    opacity: 0.55;
    position: relative;
    z-index: 1;
}

.jewelry-media-necklace { background: linear-gradient(145deg, #fff8f0 0%, var(--accent) 100%); }
.jewelry-media-ring { background: linear-gradient(145deg, #fff5f5 0%, #f7e7e7 100%); }
.jewelry-media-earring { background: linear-gradient(145deg, #f9f5ff 0%, #ede4f7 100%); }
.jewelry-media-bangle { background: linear-gradient(145deg, #f0faf5 0%, #dceee4 100%); }
.jewelry-media-pendant { background: linear-gradient(145deg, #fff8f8 0%, #f5e6e8 100%); }
.jewelry-media-bridal { background: linear-gradient(145deg, #fffbf0 0%, var(--accent) 100%); }
.jewelry-media-mangalsutra { background: linear-gradient(145deg, #f5f5f5 0%, #e8e0d4 100%); }
.jewelry-media-chain { background: linear-gradient(145deg, #fffaf0 0%, #f0e6cc 100%); }

.jewelry-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.jewelry-card-body .heading {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.jewelry-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
}

.jewelry-tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.collection-slider .owl-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.collection-slider .owl-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.collection-slider .owl-nav button:hover {
    background: var(--primary-light) !important;
}

.collection-slider .owl-nav button svg {
    width: 22px;
    height: 22px;
}

.collection-slider .owl-nav button svg path {
    stroke: var(--secondary-light);
}

.collection-slider .owl-dots {
    margin-top: 1.25rem;
}

.collection-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: var(--border);
    margin: 4px;
}

.collection-slider .owl-dots .owl-dot.active span {
    background: var(--secondary);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .jewelry-card-body .heading {
        font-size: 1.05rem;
    }

    .jewelry-desc {
        font-size: 0.9rem;
    }
}

/* Articles */
.page-hero {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.articles-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.article-card-media {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.4), transparent 55%);
    pointer-events: none;
}

.article-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    opacity: 0.55;
    position: relative;
    z-index: 1;
}

.article-gradient-gold { background: linear-gradient(145deg, #fff8f0 0%, var(--accent) 100%); }
.article-gradient-scheme { background: linear-gradient(145deg, #f0faf5 0%, #dceee4 100%); }
.article-gradient-bridal { background: linear-gradient(145deg, #fff5f5 0%, #f7e7e7 100%); }
.article-gradient-care { background: linear-gradient(145deg, #f9f5ff 0%, #ede4f7 100%); }
.article-gradient-diamond { background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%); }
.article-gradient-trend { background: linear-gradient(145deg, #fffbf0 0%, var(--accent) 100%); }

.article-card-body {
    padding: 1.25rem 1.35rem 1.5rem;
    border-top: 1px solid var(--border-light);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.article-excerpt {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.article-view-hero {
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
}

.article-back:hover {
    color: var(--primary-light);
}

.article-category-light {
    background: rgba(255, 255, 255, 0.65);
}

.article-view-title {
    max-width: 720px;
    margin: 0.75rem auto 0;
    line-height: 1.2;
}

.article-view-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.article-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 30px var(--shadow-sm);
}

.article-content p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.1rem;
}

.article-content h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.75rem 0 0.75rem;
}

.article-content h2:first-child {
    margin-top: 0;
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 1.35rem 1.25rem;
    }

    .article-view-title {
        font-size: 1.75rem;
    }
}

/* Auth — login & register */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 3.5rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.auth-wrap {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    box-shadow: 0 16px 40px var(--shadow-sm);
}

.auth-card-head {
    margin-bottom: 1.75rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.35rem;
    margin-bottom: 1.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 999px;
}

.auth-tab {
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.auth-tab.is-active {
    background: var(--primary);
    color: var(--text-white);
}

.auth-panel {
    display: none;
}

.auth-panel.is-active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-light);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input-wrap:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: var(--bg);
}

.auth-prefix {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

.auth-input-icon {
    color: var(--secondary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.auth-input-wrap input {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
}

.auth-input-wrap input::placeholder {
    color: var(--text-light);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    cursor: pointer;
}

.auth-check-block {
    margin-top: 0.15rem;
}

.auth-check input {
    margin-top: 0.15rem;
    accent-color: var(--primary);
}

.auth-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.auth-link:hover {
    color: var(--primary-light);
}

.auth-submit {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    border: none;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auth-submit:hover {
    opacity: 0.92;
}

.auth-switch {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.auth-link-btn {
    border: none;
    background: none;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.auth-link-btn:hover {
    color: var(--primary-light);
}

.auth-error {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--danger);
}

.auth-status {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
    font-size: 0.8125rem;
    text-align: center;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Customer dashboard */
.dashboard-section {
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.dashboard-shell {
    width: 100%;
}

.dashboard-mobile-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.dashboard-sidebar-panel {
    position: sticky;
    top: 1.5rem;
}

.dashboard-sidebar {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 16px 40px var(--shadow-sm);
}

.dashboard-sidebar-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dashboard-user-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.dashboard-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s, color 0.15s;
}

.dashboard-nav-link i {
    color: var(--secondary);
    font-size: 1rem;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.is-active {
    background: linear-gradient(135deg, rgba(122, 15, 36, 0.08), rgba(212, 175, 55, 0.12));
    color: var(--primary);
}

.dashboard-nav-link.is-active {
    font-weight: 600;
    border: 1px solid var(--border);
}

.dashboard-logout-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.dashboard-nav-logout {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.dashboard-nav-logout:hover {
    background: rgba(198, 40, 40, 0.08);
    color: var(--danger);
}

.dashboard-content {
    min-width: 0;
}

.dashboard-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 16px 40px var(--shadow-sm);
}

.dashboard-card-head {
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-size: 1.75rem;
    margin-top: 0.5rem;
}

.dashboard-subtitle {
    margin-top: 0.35rem;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-submit {
    align-self: flex-start;
    min-width: 180px;
}

.auth-input-wrap-textarea {
    align-items: stretch;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.auth-input-wrap textarea {
    width: 100%;
    border: none;
    background: transparent;
    resize: vertical;
    min-height: 88px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-stat {
    padding: 1rem 1.1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.dashboard-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.dashboard-stat-value {
    font-size: 1.05rem;
    color: var(--primary);
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.dashboard-table th,
.dashboard-table td {
    padding: 0.9rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    font-weight: 600;
}

.dashboard-table tbody tr:hover {
    background: rgba(247, 231, 181, 0.18);
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-badge-success {
    background: rgba(46, 125, 50, 0.12);
    color: var(--success);
}

.dashboard-badge-warning {
    background: rgba(249, 168, 37, 0.15);
    color: #9a6b00;
}

.dashboard-badge-danger {
    background: rgba(198, 40, 40, 0.12);
    color: var(--danger);
}

.dashboard-badge-muted {
    background: rgba(102, 102, 102, 0.12);
    color: var(--text-light);
}

.dashboard-table-btn {
    padding: 0.45rem 0.85rem;
    border: none;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.dashboard-table-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.dashboard-pay-methods {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    min-width: 11rem;
}

.dashboard-pay-methods .join-scheme-method {
    padding: 0.45rem 0.6rem;
    margin: 0;
}

.dashboard-pay-methods .join-scheme-method strong {
    font-size: 0.75rem;
}

.dashboard-pay-methods .join-scheme-method small {
    font-size: 0.65rem;
}
    cursor: not-allowed;
}

.dashboard-schemes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-scheme-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.dashboard-scheme-card-muted {
    opacity: 0.92;
}

.dashboard-scheme-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    font-size: 1.35rem;
}

.dashboard-scheme-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.dashboard-scheme-title {
    font-size: 1.2rem;
}

.dashboard-scheme-meta {
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.dashboard-progress {
    margin: 1rem 0;
}

.dashboard-progress-labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.dashboard-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(122, 15, 36, 0.08);
    overflow: hidden;
}

.dashboard-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gold-gradient);
}

.dashboard-scheme-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.dashboard-scheme-stats strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--primary);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-mobile-toggle {
        display: inline-flex;
    }

    .dashboard-sidebar-panel {
        display: none;
        position: static;
    }

    .dashboard-sidebar-panel.is-open {
        display: block;
    }

    .dashboard-stats,
    .dashboard-scheme-stats,
    .dashboard-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-card {
        padding: 1.25rem;
    }

    .dashboard-scheme-card {
        grid-template-columns: 1fr;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }
}

.join-scheme-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.join-scheme-card-col {
    position: sticky;
    top: 1.5rem;
}

.join-scheme-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 1.75rem;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.join-scheme-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.join-scheme-select,
.join-scheme-input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-light);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
}

.join-scheme-select:focus,
.join-scheme-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: var(--bg);
}

.join-scheme-hint {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.join-scheme-terms {
    max-height: 180px;
    overflow-y: auto;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-light);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text);
    white-space: pre-wrap;
}

.join-scheme-accept {
    margin-top: 0.75rem;
}

.join-scheme-methods {
    display: grid;
    gap: 0.75rem;
}

.join-scheme-method {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    background: var(--bg-light);
}

.join-scheme-method.is-active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: var(--bg);
}

.join-scheme-method input {
    margin-top: 0.2rem;
}

.join-scheme-method strong {
    display: block;
    font-size: 0.9rem;
}

.join-scheme-method small {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .join-scheme-grid {
        grid-template-columns: 1fr;
    }

    .join-scheme-card-col {
        position: static;
    }
}