/* Styles for resources/views/auth/forgot.blade.php */
:root {
        --gold:       #C9A84C;
        --gold-lt:    #E2C06A;
        --gold-dim:   rgba(201,168,76,0.14);
        --teal-dark:  #071E27;

        /* Dark mode (default) */
        --fc-card-bg:      rgba(10, 22, 28, 0.97);
        --fc-card-border:  rgba(201,168,76,0.2);
        --fc-field-bg:     #0F2530;
        --fc-field-border: rgba(255,255,255,0.06);
        --fc-muted:        rgba(255,255,255,0.38);
        --fc-text:         #fff;
        --fc-icon:         rgba(255,255,255,0.2);
        --fc-placeholder:  rgba(255,255,255,0.16);
        --fc-error:        #ff6e6e;
        --fc-alert-err-bg:     rgba(255,80,80,0.1);
        --fc-alert-err-border: rgba(255,80,80,0.2);
        --fc-alert-err-text:   #ff8080;
        --fc-alert-ok-bg:      rgba(80,200,120,0.1);
        --fc-alert-ok-border:  rgba(80,200,120,0.2);
        --fc-alert-ok-text:    #60d080;
    }

    /* Light mode — clean white credential area */
    html.light {
        --fc-card-bg:      #ffffff;
        --fc-card-border:  rgba(15,23,42,0.08);
        --fc-field-bg:     #f8fafc;
        --fc-field-border: #e2e8f0;
        --fc-muted:        #64748b;
        --fc-text:         #0f172a;
        --fc-icon:         #94a3b8;
        --fc-placeholder:  #a3adbd;
        --fc-error:        #d1332a;
        --fc-alert-err-bg:     #fdecea;
        --fc-alert-err-border: #f5c2bd;
        --fc-alert-err-text:   #b3261e;
        --fc-alert-ok-bg:      #e8f7ee;
        --fc-alert-ok-border:  #bfe6cc;
        --fc-alert-ok-text:    #1e7a42;
    }

    .fdms-card {
        width: 100%;
        max-width: 400px;
        margin: 0 2rem;
        background: var(--fc-card-bg);
        border: 1px solid var(--fc-card-border);
        border-radius: 22px;
        padding: 2.8rem 2.4rem;
        box-shadow:
            0 0 0 1px rgba(201,168,76,0.04),
            0 30px 70px rgba(0,0,0,0.7),
            inset 0 1px 0 rgba(201,168,76,0.14);
        animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
        backdrop-filter: blur(20px);
        position: relative;
        transition: background .35s ease, border-color .35s ease;
    }
    html.light .fdms-card {
        box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 24px 48px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
    }

    .fdms-card::before {
        content: '';
        position: absolute; top:0; left:50%;
        transform: translateX(-50%);
        width: 50%; height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        border-radius: 0 0 2px 2px;
    }

    @keyframes cardIn {
        from { opacity:0; transform:translateX(24px) scale(0.98); }
        to   { opacity:1; transform:translateX(0) scale(1); }
    }

    .fc-head {
        text-align: center;
        margin-bottom: 1.9rem;
        animation: fUp 0.6s 0.15s both;
    }

    .fc-avatar {
        width: 58px; height: 58px;
        background: var(--gold-dim);
        border: 1px solid var(--fc-card-border);
        border-radius: 14px;
        display: inline-flex; align-items: center; justify-content: center;
        margin-bottom: 1.1rem;
        color: var(--gold);
        position: relative;
    }
    .fc-avatar::after {
        content: '';
        position: absolute; inset: -1px; border-radius: 14px;
        background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent 55%);
        pointer-events: none;
    }

    .fc-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.65rem; font-weight: 700;
        color: var(--fc-text); letter-spacing: -0.02em; margin: 0;
        transition: color .3s ease;
    }
    .fc-title em { color: var(--gold); font-style: normal; }

    .fc-sub {
        font-size: 0.76rem; font-weight: 300;
        color: var(--fc-muted); margin-top: 0.28rem;
        font-family: 'Outfit', sans-serif;
        line-height: 1.6;
    }

    .fc-div {
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 1.7rem;
    }
    .fc-div::before { content:''; flex:1; height:1px; background:linear-gradient(90deg,transparent,var(--fc-card-border)); }
    .fc-div::after  { content:''; flex:1; height:1px; background:linear-gradient(90deg,var(--fc-card-border),transparent); }
    .fc-dot { width:5px; height:5px; background:var(--gold); border-radius:50%; opacity:.5; }

    /* Alert messages */
    .fc-alert {
        border-radius: 10px;
        padding: 0.7rem 1rem;
        font-size: 0.78rem;
        font-family: 'Outfit', sans-serif;
        margin-bottom: 1.1rem;
        display: flex; align-items: center; gap: 8px;
        animation: fUp 0.5s both;
    }
    .fc-alert-err {
        background: var(--fc-alert-err-bg);
        border: 1px solid var(--fc-alert-err-border);
        color: var(--fc-alert-err-text);
    }
    .fc-alert-ok {
        background: var(--fc-alert-ok-bg);
        border: 1px solid var(--fc-alert-ok-border);
        color: var(--fc-alert-ok-text);
    }

    .fc-field {
        margin-bottom: 1.05rem;
        animation: fUp 0.6s 0.2s cubic-bezier(0.22,1,0.36,1) both;
    }

    .fc-label {
        display: block;
        font-family: 'Outfit', sans-serif;
        font-size: 0.68rem; font-weight: 500;
        color: var(--fc-muted);
        letter-spacing: 0.1em; text-transform: uppercase;
        margin-bottom: 0.4rem;
    }

    .fc-wrap { position: relative; }

    .fc-ico {
        position: absolute; left:13px; top:50%;
        transform: translateY(-50%);
        color: var(--fc-icon);
        pointer-events: none;
        transition: color 0.2s;
    }

    .fc-input {
        width: 100%;
        background: var(--fc-field-bg);
        border: 1px solid var(--fc-field-border);
        border-radius: 10px;
        color: var(--fc-text);
        font-family: 'Outfit', sans-serif;
        font-size: 0.875rem;
        padding: 0.76rem 1rem 0.76rem 2.5rem;
        outline: none;
        transition: border-color .22s, box-shadow .22s, background .22s, color .3s ease;
        display: block;
    }
    .fc-input::placeholder { color: var(--fc-placeholder); }
    .fc-input:focus {
        border-color: var(--gold);
        background: rgba(201,168,76,0.05);
        box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
    }
    .fc-wrap:focus-within .fc-ico { color: var(--gold); }

    .fc-err-text {
        font-size: 0.7rem; color: var(--fc-error);
        margin-top: 0.3rem;
        font-family: 'Outfit', sans-serif;
        display: flex; align-items: center; gap: 5px;
    }

    .fc-btn {
        width: 100%; margin-top: 1.5rem;
        padding: 0.84rem;
        background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 55%, #9B7020 100%);
        color: #071E27;
        font-family: 'Outfit', sans-serif; font-weight: 700;
        font-size: 0.83rem; letter-spacing: 0.12em; text-transform: uppercase;
        border: none; border-radius: 10px; cursor: pointer;
        position: relative; overflow: hidden;
        transition: transform .18s, box-shadow .18s;
        box-shadow: 0 4px 22px rgba(201,168,76,0.35);
        animation: fUp 0.6s 0.32s both;
        display: block;
    }
    .fc-btn::after {
        content: '';
        position: absolute; top:0; left:-120%;
        width: 55%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: skewX(-18deg);
        transition: left .5s ease;
    }
    .fc-btn:hover::after { left:160%; }
    .fc-btn:hover { transform:translateY(-2px); box-shadow: 0 10px 28px rgba(201,168,76,0.45); }
    .fc-btn:active { transform:translateY(0); }

    .fc-back {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        margin-top: 1.4rem;
        font-family: 'Outfit', sans-serif;
        font-size: 0.76rem; color: var(--fc-muted);
        text-decoration: none;
        transition: color 0.2s;
        animation: fUp 0.6s 0.38s both;
    }
    .fc-back:hover { color: var(--fc-text); }
    .fc-back svg { transition: transform 0.2s; }
    .fc-back:hover svg { transform: translateX(-3px); }

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