:root {
    --bg: #F5F2EC;
    --surface: #FFFDF8;
    --border: #E2DDD4;
    --text: #1A1814;
    --muted: #9A9080;
    --accent: #2D5016;
    --accent-light: #4A7A28;
    --danger: #C0392B;
    --warning: #E67E22;
    --shadow: 0 1px 3px rgba(26,24,20,0.08), 0 4px 16px rgba(26,24,20,0.06);
    --toggle-bg: #E2DDD4;
    --toggle-knob: #FFFDF8;
    --toggle-icon-size: 11px;
}

[data-theme="dark"] {
    --bg: #0F0F0D;
    --surface: #1A1916;
    --border: #2C2A26;
    --text: #F0EDE6;
    --muted: #6B6658;
    --accent: #5A9E2F;
    --accent-light: #72C43A;
    --danger: #E05243;
    --warning: #F0923A;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.25);
    --toggle-bg: #2C2A26;
    --toggle-knob: #F0EDE6;
}

html {
    transition: background 0.25s, color 0.25s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 14px;
    transition: background 0.25s, color 0.25s;
}

/* LOGIN PAGE */
#login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.login-tagline {
    color: var(--muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.login-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

.login-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.login-submit {
    width: 100%;
    margin-top: 8px;
}

.user-info-name {
    font-weight: 500;
    font-size: 15px;
}

.user-info-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.login-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .login-link:hover {
        text-decoration: underline;
    }

.text-ignored {
    color: var(--muted);
}

/* DASHBOARD */
#dashboard-screen {
    min-height: 100vh;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 0 var(--border), 0 4px 12px rgba(26,24,20,0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.header-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    display: block;
}

.navbar-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.navbar-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    padding: 7px 14px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg);
}

.nav-link.active {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-logout {
    background: none;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: var(--muted);
    transition: all 0.15s;
}

    .btn-logout:hover {
        border-color: var(--text);
        color: var(--text);
    }

.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.dashboard-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.page-subtitle {
    color: var(--muted);
    margin-top: 4px;
    font-weight: 300;
}

.summary-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.stat-value {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    letter-spacing: -1px;
}

    .stat-value.green {
        color: var(--accent);
    }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    font-weight: 500;
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

    .btn-add:hover {
        background: var(--accent-light);
    }

/* BILL CARDS */
.bills-list {
    display: grid;
    gap: 10px;
}

.bill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.15s;
}

    .bill-card:hover {
        box-shadow: var(--shadow);
    }

.bill-day {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.bill-day-num {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
}

.bill-day-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

.bill-info {
    flex: 1;
    min-width: 0;
}

.bill-title {
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bill-meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.bill-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.bill-urgency {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bill-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.15s;
    font-size: 13px;
}

    .btn-icon:hover {
        background: var(--bg);
        color: var(--text);
        border-color: var(--text);
    }

    .btn-icon.danger:hover {
        background: #fef2f2;
        color: var(--danger);
        border-color: var(--danger);
    }

.empty-state {
    text-align: center;
    padding: 64px 32px;
    color: var(--muted);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.empty-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 6px;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,24,20,0.4);
    /* backdrop-filter: blur(4px) */;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

    .modal-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.billr-modal {
    background: var(--surface);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(26,24,20,0.2);
    transform: translateY(12px) scale(0.98);
    opacity: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: relative;
    z-index: 101;
}

.overlay.open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.modal-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.btn-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 16px;
    transition: all 0.15s;
    flex-shrink: 0;
}

    .btn-close:hover {
        background: var(--bg);
        color: var(--text);
    }

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 7px;
}

.form-input, .form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s;
}

    .form-input:focus, .form-select:focus {
        border-color: var(--accent);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.btn-primary {
    flex: 1;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
}

    .btn-primary:hover {
        background: var(--accent-light);
    }

.btn-secondary {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: var(--muted);
    transition: all 0.15s;
}

    .btn-secondary:hover {
        border-color: var(--text);
        color: var(--text);
    }

/* DELETE MODAL */
.delete-modal .modal-title {
    color: var(--danger);
}

.delete-warning {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.delete-bill-name {
    font-weight: 500;
    color: var(--text);
}

.btn-danger {
    flex: 1;
    background: var(--danger);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.15s;
}

    .btn-danger:hover {
        opacity: 0.85;
    }

/* THEME TOGGLE */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
    cursor: pointer;
}

    .theme-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.toggle-track {
    position: absolute;
    inset: 0;
    background: var(--toggle-bg);
    border-radius: 999px;
    border: 1px solid var(--border);
    transition: background 0.25s, border-color 0.25s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
    overflow: hidden;
}

.toggle-icon {
    font-size: var(--toggle-icon-size);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--toggle-knob);
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), background 0.25s;
    z-index: 2;
}

.theme-toggle input:checked ~ .toggle-track .toggle-knob {
    transform: translateX(24px);
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] .urgent {
    background: rgba(240,146,58,0.08);
    border-left: 3px solid var(--warning);
}

[data-theme="dark"] .overdue {
    background: rgba(224,82,67,0.08);
    border-left: 3px solid var(--danger);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select {
    color-scheme: dark;
}

/* TRANSITIONS */
header, .stat-card, .bill-card, .modal, .user-btn,
.form-input, .form-select, .btn-icon, .btn-logout,
.btn-close, .btn-secondary, .user-chip, .bill-day, .toggle-track {
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.15s, transform 0.15s;
}

/* URGENCY */
.urgent {
    background: #fef9ec;
    border-left: 3px solid var(--warning);
}

.overdue {
    background: #fef2f2;
    border-left: 3px solid var(--danger);
}

.signup-color {
        width: 16px;
        height: 16px;
        border: none;
        padding: 0;
        margin-right: 8px;
        border-radius: 6px;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    header {
        padding: 0 16px;
        flex-wrap: wrap;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 250px;
        background: var(--surface);
        border-left: 1px solid var(--border);
        border-bottom: none;
        flex-direction: column;
        gap: 0;
        font-size: 16px;
        max-width: 0;
        overflow: hidden;
        transition: max-width 0.3s ease;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }

    .navbar.active {
        max-width: 250px;
        overflow-y: auto;
    }

    .navbar .nav-link {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border: none;
        border-radius: 0;
        text-align: left;
        border-bottom: 1px solid var(--border);
        margin: 0;
        line-height: 1.2;
    }

    .navbar .nav-link:hover {
        background: var(--bg);
    }

    .main {
        padding: 24px 16px;
    }

    .summary-bar {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bill-amount {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    header {
        padding: 0 16px;
    }

    .main {
        padding: 24px 16px;
    }

    .summary-bar {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bill-amount {
        font-size: 18px;
    }
}


/* ── Utility ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Banners ── */
.acct-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    font-family: 'DM Sans', sans-serif;
}

    .acct-banner svg {
        flex-shrink: 0;
        margin-top: 1px;
    }

.acct-banner--success {
    background: #f0fbe8;
    border-color: #a8d87a;
    color: var(--accent);
}

.acct-banner--error {
    background: #fef2f2;
    border-color: #f5a5a0;
    color: var(--danger);
}

[data-theme="dark"] .acct-banner--success {
    background: rgba(90,158,47,0.12);
    border-color: rgba(90,158,47,0.3);
    color: var(--accent-light);
}

[data-theme="dark"] .acct-banner--error {
    background: rgba(224,82,67,0.1);
    border-color: rgba(224,82,67,0.3);
    color: var(--danger);
}

/* ── Card — mirrors .stat-card ── */
.acct-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: background 0.25s, border-color 0.25s;
}

    .acct-card .section-label {
        margin-bottom: 14px;
    }

/* ── Field row ── */
.acct-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.acct-info {
    flex: 1;
    min-width: 0;
}

.acct-field-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    display: block;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
}

.acct-field-desc {
    font-size: 12px;
    color: var(--muted);
    margin: 3px 0 0;
    font-weight: 300;
}

.acct-field-error {
    display: block;
    font-size: 12px;
    color: var(--danger);
    margin-top: 8px;
}

/* ── Text input — extends .form-input ── */
.acct-input-wrap {
    position: relative;
}

.acct-input-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.acct-text-input {
    padding-left: 34px !important;
    width: 220px;
}

/* ── Radio pills ── */
.acct-radio-group {
    display: flex;
    gap: 8px;
}

.acct-radio {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

    .acct-radio input[type="radio"] {
        display: none;
    }

.acct-radio--on {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--surface);
}

.acct-radio:hover:not(.acct-radio--on) {
    border-color: var(--accent);
    color: var(--text);
}

.acct-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.acct-radio--on .acct-radio-dot::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* ── Color swatches ── */
.acct-color-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.acct-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sw);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: transform 0.15s, box-shadow 0.15s, outline-color 0.15s;
    position: relative;
}

    .acct-swatch input[type="radio"] {
        display: none;
    }

    .acct-swatch:hover {
        transform: scale(1.15);
    }

    .acct-swatch:focus-within {
        outline-color: var(--accent);
    }

.acct-swatch--active {
    border-color: var(--text);
    box-shadow: inset 0 0 0 2.5px var(--surface), 0 1px 3px rgba(0,0,0,0.2);
}

    .acct-swatch input[type="color"] {
        position: absolute;
        width: 28px;
        height: 28px;
        opacity: 0;
        cursor: pointer;
        border: none;
        padding: 0;
        margin: 0;
    }

    .acct-swatch input[type="color"]::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    .acct-swatch input[type="color"]::-webkit-color-swatch {
        border: none;
        border-radius: 50%;
    }

/* ── Save button — extends .btn-primary ── */
.acct-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
}

@@media (max-width: 600px) {
    .acct-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .acct-text-input {
        width: 100%;
    }

    .acct-radio-group {
        flex-wrap: wrap;
    }
}

/* FEATURE REQUEST SECTION */
.section-feature-request {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 2px solid var(--border);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-request-form {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(74, 122, 40, 0.02) 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .feature-request-form::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(90,158,47,0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .feature-request-form:hover {
        border-color: var(--accent);
        box-shadow: 0 8px 32px rgba(90,158,47,0.1);
        transform: translateY(-2px);
    }

    .feature-request-form > * {
        position: relative;
        z-index: 1;
    }

/* Dark mode adjustments for feature request form */
[data-theme="dark"] .feature-request-form {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(90, 158, 47, 0.03) 100%);
    box-shadow: inset 0 1px 2px rgba(90, 158, 47, 0.1);
}

[data-theme="dark"] .feature-request-form::before {
    background: radial-gradient(circle, rgba(90,158,47,0.08) 0%, transparent 70%);
}

[data-theme="dark"] .feature-request-form:hover {
    box-shadow: inset 0 1px 2px rgba(90, 158, 47, 0.1), 0 8px 32px rgba(90,158,47,0.15);
}

.feature-textarea {
    resize: none;
    min-height: 100px;
    padding: 14px 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    transition: all 0.2s ease;
}

    .feature-textarea::placeholder {
        color: var(--muted);
    }

    .feature-textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(90,158,47,0.1);
        background: var(--surface);
    }

/* Dark mode textarea */
[data-theme="dark"] .feature-textarea:focus {
    box-shadow: 0 0 0 3px rgba(90,158,47,0.2);
}

.char-count {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    text-align: right;
    transition: color 0.2s ease;
}

.feature-request-form .form-group:last-child {
    margin-top: 20px;
    margin-bottom: 0;
}

.feature-request-form .btn-primary {
    position: relative;
    overflow: hidden;
    padding: 12px 28px;
    width: auto;
    flex: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

    .feature-request-form .btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .feature-request-form .btn-primary:hover::before {
        width: 300px;
        height: 300px;
    }

    .feature-request-form .btn-primary:active {
        transform: scale(0.95);
    }

/* SECTION HEADER STYLING FOR FEATURE REQUEST */
.section-feature-request .section-header {
    margin-bottom: 24px;
}

.section-feature-request .section-label {
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: capitalize;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .section-feature-request {
        margin-top: 40px;
        padding-top: 40px;
    }

    .feature-request-form {
        padding: 24px;
    }

    .feature-request-form .btn-primary {
        width: 100%;
    }
}
