﻿/* ═══════════════════════════════════════════════════════════════
   Qlynic Patient · Forgot Password — Obsidian Dark Theme v2
   Matches Register/Login design system · Flatpickr styled
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-deep: #06080d;
    --bg-base: #0a0e17;
    --bg-raised: #0f1420;
    --bg-surface: #141a28;
    --bg-overlay: #1a2135;
    --glass: rgba(16, 22, 36, .72);
    --glass-hover: rgba(22, 30, 48, .78);
    --glass-edge: rgba(255, 255, 255, .06);
    --glass-edge2: rgba(255, 255, 255, .10);
    --text-primary: rgba(255, 255, 255, .94);
    --text-secondary: rgba(255, 255, 255, .58);
    --text-tertiary: rgba(255, 255, 255, .34);
    --accent: #38bdf8;
    --accent-2: #818cf8;
    --accent-soft: rgba(56, 189, 248, .12);
    --accent-glow: rgba(56, 189, 248, .25);
    --accent-text: #7dd3fc;
    --gradient-accent: linear-gradient(135deg, #38bdf8, #818cf8);
    --success: #34d399;
    --success-soft: rgba(52, 211, 153, .12);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, .12);
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, .12);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,.4);
    --shadow-lg: 0 24px 64px rgba(0,0,0,.5);
    --shadow-glow: 0 0 60px rgba(56, 189, 248, .08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Background ─── */
.fp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fp-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .35;
    will-change: transform;
}

.fp-bg__orb--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(56,189,248,.4), transparent 70%);
    top: -20%;
    left: -10%;
    animation: fp-orb1 28s ease-in-out infinite;
}

.fp-bg__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(129,140,248,.35), transparent 70%);
    bottom: -15%;
    right: -8%;
    animation: fp-orb2 32s ease-in-out infinite;
}

.fp-bg__orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(52,211,153,.25), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fp-orb3 24s ease-in-out infinite;
}

.fp-bg__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.fp-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    background-size: 256px;
    opacity: .6;
    mix-blend-mode: overlay;
}

@keyframes fp-orb1 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(60px,40px) scale(1.1);
    }

    66% {
        transform: translate(-30px,60px) scale(.95);
    }
}

@keyframes fp-orb2 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(-50px,-30px) scale(1.08);
    }

    66% {
        transform: translate(40px,-50px) scale(.92);
    }
}

@keyframes fp-orb3 {
    0%,100% {
        transform: translate(-50%,-50%) scale(1);
    }

    50% {
        transform: translate(-45%,-55%) scale(1.15);
    }
}

/* ─── Header ─── */
.fp-header {
    position: relative;
    z-index: 20;
    background: rgba(10,14,23,.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-edge);
}

.fp-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -.02em;
    color: var(--text-primary);
    text-decoration: none;
}

    .fp-brand img {
        width: 24px;
        height: 24px;
        opacity: .85;
    }

.fp-header__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all .2s;
}

    .fp-header__links a:hover {
        color: var(--text-primary);
        background: rgba(255,255,255,.05);
    }

/* ─── Layout ─── */
.fp-canvas {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 54px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px;
}

.fp-shell {
    width: min(520px, 100%);
}

/* ─── Card ─── */
.fp-card {
    background: var(--glass);
    border: 1px solid var(--glass-edge);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(40px);
    overflow: hidden;
    position: relative;
}

    .fp-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(56,189,248,.3) 30%, rgba(129,140,248,.4) 50%, rgba(56,189,248,.3) 70%, transparent);
        z-index: 2;
    }

.fp-card__inner {
    padding: 40px 36px 36px;
}

/* ─── Logo badge ─── */
.fp-logo-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(56,189,248,.2);
}

    .fp-logo-badge img {
        width: 28px;
        height: 28px;
    }

.fp-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.03em;
}

.fp-sub {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 28px;
}

.fp-accent {
    color: var(--accent-text);
    font-weight: 600;
}

/* ─── Stepper ─── */
.fp-stepper {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
}

.fp-stepper__bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.fp-stepper__fill {
    width: 0;
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-accent);
    transition: width .6s cubic-bezier(.22,.68,0,1.12);
}

.fp-stepper__bar.is-active .fp-stepper__fill {
    width: 100%;
    animation: fp-stepper-fill .6s cubic-bezier(.22,.68,0,1.12) forwards;
}

.fp-stepper__bar.is-done .fp-stepper__fill {
    width: 100%;
    background: var(--success);
}

@keyframes fp-stepper-fill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ─── Alert ─── */
.fp-alert {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

    .fp-alert.is-show {
        display: block;
        animation: fp-alert-in .25s ease;
    }

    .fp-alert.is-danger {
        background: var(--danger-soft);
        color: var(--danger);
        border-color: rgba(248,113,113,.15);
    }

    .fp-alert.is-success {
        background: var(--success-soft);
        color: var(--success);
        border-color: rgba(52,211,153,.15);
    }

    .fp-alert.is-warn {
        background: var(--warn-soft);
        color: var(--warn);
        border-color: rgba(251,191,36,.15);
    }

@keyframes fp-alert-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ─── Steps ─── */
.fp-step {
    display: none;
}

    .fp-step.is-active {
        display: block;
        animation: fp-step-in .35s ease;
    }

@keyframes fp-step-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fp-step__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.fp-step__sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.5;
}

/* ─── Form elements ─── */
.fp-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-field__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-secondary);
}

.fp-control {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

    .fp-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-soft);
        background: rgba(255,255,255,.06);
    }

    .fp-control.is-invalid {
        border-color: var(--danger);
        box-shadow: 0 0 0 3px var(--danger-soft);
    }

    .fp-control::placeholder {
        color: var(--text-tertiary);
    }

/* ── Select — fully styled ── */
select.fp-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.4)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    background-color: rgba(255,255,255,.04);
}

    select.fp-control option {
        background: #141a28;
        color: var(--text-primary);
        padding: 10px 14px;
        font-family: 'Outfit', system-ui, sans-serif;
    }

        select.fp-control option:checked {
            background: rgba(56,189,248,.18);
        }

textarea.fp-control {
    resize: vertical;
    min-height: 80px;
}

.fp-hint {
    font-size: 11.5px;
    color: var(--text-tertiary);
}

.fp-phone-row {
    display: flex;
    gap: 8px;
}

    .fp-phone-row .fp-control:first-child {
        width: 72px;
        flex-shrink: 0;
        text-align: center;
        font-weight: 600;
        background: rgba(255,255,255,.06);
    }

    .fp-phone-row .fp-control:last-child {
        flex: 1;
    }

.fp-otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.fp-row {
    display: flex;
    gap: 14px;
}

    .fp-row > .fp-field {
        flex: 1;
        min-width: 0;
    }

/* ─── Buttons — animated, elegant ─── */
.fp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.fp-actions__left, .fp-actions__right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s cubic-bezier(.22,.68,0,1.12);
    position: relative;
    overflow: hidden;
}

    .fp-btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
        opacity: 0;
        transition: opacity .25s;
    }

    .fp-btn:hover {
        background: rgba(255,255,255,.09);
        color: var(--text-primary);
        border-color: rgba(255,255,255,.16);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0,0,0,.3);
    }

        .fp-btn:hover::after {
            opacity: 1;
        }

    .fp-btn:active {
        transform: translateY(0);
        box-shadow: none;
    }

    .fp-btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        transition: transform .2s;
    }

    .fp-btn:hover svg {
        transform: translateX(2px);
    }

        .fp-btn:hover svg:first-child {
            transform: translateX(-2px);
        }

    .fp-btn.is-loading {
        opacity: .6;
        pointer-events: none;
    }

    .fp-btn:disabled {
        opacity: .35;
        pointer-events: none;
    }

.fp-btn--primary {
    background: var(--gradient-accent);
    color: #0a0e17;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(56,189,248,.15);
}

    .fp-btn--primary::after {
        background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
    }

    .fp-btn--primary:hover {
        box-shadow: 0 6px 24px rgba(56,189,248,.3), 0 0 0 1px rgba(56,189,248,.2);
        transform: translateY(-2px);
        filter: brightness(1.08);
    }

    .fp-btn--primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(56,189,248,.2);
    }

.fp-btn--success {
    background: linear-gradient(135deg, #34d399, #22d3ee);
    color: #0a0e17;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(52,211,153,.15);
}

    .fp-btn--success:hover {
        box-shadow: 0 6px 24px rgba(52,211,153,.3), 0 0 0 1px rgba(52,211,153,.2);
        transform: translateY(-2px);
        filter: brightness(1.08);
    }

.fp-btn--full {
    width: 100%;
    justify-content: center;
    padding: 14px;
}

/* ─── Method cards ─── */
.fp-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.fp-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .25s cubic-bezier(.22,.68,0,1.12);
}

    .fp-method:hover {
        background: rgba(255,255,255,.07);
        border-color: rgba(255,255,255,.12);
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(0,0,0,.25);
    }

    .fp-method:active {
        transform: translateY(0);
    }

    .fp-method.is-disabled {
        opacity: .3;
        pointer-events: none;
    }

.fp-method__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .fp-method__icon svg {
        width: 20px;
        height: 20px;
    }

.fp-method__icon--email {
    background: rgba(56,189,248,.12);
    color: var(--accent);
}

.fp-method__icon--phone {
    background: rgba(52,211,153,.12);
    color: var(--success);
}

.fp-method__icon--id {
    background: rgba(251,191,36,.12);
    color: var(--warn);
}

.fp-method__info {
    flex: 1;
    min-width: 0;
}

.fp-method__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.fp-method__desc {
    font-size: 12px;
    color: var(--text-tertiary);
}

.fp-method__arrow {
    color: var(--text-tertiary);
    transition: transform .2s;
}

.fp-method:hover .fp-method__arrow {
    transform: translateX(3px);
    color: var(--text-secondary);
}

.fp-method__arrow svg {
    width: 16px;
    height: 16px;
}

/* ─── Upload zones (div-based, not label) ─── */
.fp-upload-zone {
    border: 2px dashed rgba(255,255,255,.10);
    border-radius: var(--radius-sm);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .fp-upload-zone:hover {
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.03);
    }

    .fp-upload-zone.has-file {
        border-color: var(--success);
        border-style: solid;
        background: var(--success-soft);
    }

    .fp-upload-zone svg {
        width: 32px;
        height: 32px;
        color: var(--text-tertiary);
        margin-bottom: 8px;
        pointer-events: none;
    }

    .fp-upload-zone.has-file svg {
        color: var(--success);
    }

.fp-upload-zone__text {
    font-size: 13px;
    color: var(--text-secondary);
    pointer-events: none;
}

.fp-upload-zone.has-file .fp-upload-zone__text {
    color: var(--success);
    font-weight: 600;
}

.fp-upload-zone__hint {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 4px;
    pointer-events: none;
}

/* ─── Success ─── */
.fp-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--success-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fp-success-pop .5s cubic-bezier(.22,.68,0,1.12);
}

    .fp-success-icon svg {
        width: 32px;
        height: 32px;
        color: var(--success);
    }

@keyframes fp-success-pop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ─── Password meter ─── */
.fp-pw-meter {
    margin-top: 6px;
}

.fp-pw-bar {
    height: 3px;
    background: rgba(255,255,255,.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

    .fp-pw-bar span {
        display: block;
        height: 100%;
        width: 0;
        background: var(--danger);
        border-radius: 3px;
        transition: width .3s, background .3s;
    }

        .fp-pw-bar span.good {
            background: var(--warn);
        }

        .fp-pw-bar span.strong {
            background: var(--success);
        }

.fp-pw-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.fp-pw-reqs {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 16px;
    font-size: 11.5px;
    color: var(--text-tertiary);
}

    .fp-pw-reqs li {
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color .2s;
    }

    .fp-pw-reqs .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,.15);
        flex-shrink: 0;
        transition: background .2s, transform .2s;
    }

    .fp-pw-reqs li.ok {
        color: var(--success);
    }

        .fp-pw-reqs li.ok .dot {
            background: var(--success);
            transform: scale(1.3);
        }

/* ─── Footer ─── */
.fp-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 11.5px;
    color: var(--text-tertiary);
}

/* ─── Busy overlay ─── */
.fp-busy {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(6,8,13,.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fp-busy.is-hidden {
        display: none;
    }

.fp-busy__box {
    text-align: center;
}

.fp-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    border: 3px solid rgba(255,255,255,.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: fp-spin .7s linear infinite;
}

@keyframes fp-spin {
    to {
        transform: rotate(360deg);
    }
}

.fp-busy__text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ─── Utility ─── */
.d-none {
    display: none !important;
}

/* ─── Flatpickr Dark Theme ─── */
.flatpickr-calendar {
    background: var(--bg-surface) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.6) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

.flatpickr-months {
    border-bottom: 1px solid rgba(255,255,255,.06);
}

    .flatpickr-months .flatpickr-month {
        color: var(--text-primary) !important;
        fill: var(--text-primary) !important;
        background: transparent !important;
    }

    .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
        color: var(--text-secondary) !important;
        fill: var(--text-secondary) !important;
    }

        .flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover {
            color: var(--accent) !important;
            fill: var(--accent) !important;
        }

        .flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
            fill: currentColor !important;
        }

.flatpickr-current-month {
    font-weight: 600 !important;
    font-size: 14px !important;
}

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
        border: 1px solid rgba(255,255,255,.08) !important;
    }

    .flatpickr-current-month input.cur-year {
        color: var(--text-primary) !important;
    }

span.flatpickr-weekday {
    color: var(--text-tertiary) !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}

.flatpickr-day {
    color: var(--text-secondary) !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all .15s !important;
}

    .flatpickr-day:hover {
        background: rgba(255,255,255,.08) !important;
        color: var(--text-primary) !important;
    }

    .flatpickr-day.selected, .flatpickr-day.selected:hover {
        background: var(--accent) !important;
        color: var(--bg-deep) !important;
        font-weight: 700 !important;
    }

    .flatpickr-day.today {
        border: 1px solid rgba(56,189,248,.4) !important;
    }

        .flatpickr-day.today:hover {
            background: var(--accent-soft) !important;
        }

    .flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
        color: var(--text-tertiary) !important;
        opacity: .4;
    }

.numInputWrapper span {
    border: none !important;
}

    .numInputWrapper span:hover {
        background: rgba(255,255,255,.06) !important;
    }

    .numInputWrapper span svg {
        fill: var(--text-secondary) !important;
    }

/* ─── Responsive ─── */
@media (max-width: 560px) {
    .fp-card__inner {
        padding: 28px 18px 24px;
    }

    .fp-row {
        flex-direction: column;
        gap: 14px;
    }

    .fp-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .fp-actions__left, .fp-actions__right {
        width: 100%;
    }

    .fp-actions__left {
        justify-content: center;
    }

    .fp-actions__right {
        justify-content: center;
    }

        .fp-actions__right .fp-btn {
            width: 100%;
            justify-content: center;
        }

    .fp-otp-input {
        font-size: 20px;
        letter-spacing: 6px;
    }

    .fp-method {
        padding: 14px 12px;
        gap: 10px;
    }

    .fp-upload-zone {
        padding: 20px 16px;
    }

    .fp-sub {
        font-size: 13px;
    }
}
