/* /Components/Forms/PreferencesForm.razor.rz.scp.css */
/* --- 1. Container & Layout --- */
.izzy-form-container[b-lmv2q57f03] {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 3rem !important;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.brand-logo[b-lmv2q57f03] {
    max-width: 160px !important;
    height: auto;
    margin-bottom: 1rem;
}

/* --- 2. Input Fields (Email) --- */
[b-lmv2q57f03] .izzy-input,
.izzy-input[b-lmv2q57f03] {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 1.1rem !important;
    height: 48px !important;
    padding: 0 16px !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 1.5rem;
}

.izzy-label[b-lmv2q57f03],
.form-label[b-lmv2q57f03] {
    font-size: 1.05rem !important; /* Increased size */
    font-weight: 700 !important; /* Thicker font */
    color: #ffffff !important;
    margin-bottom: 12px !important;
    display: block;
}


.form-group[b-lmv2q57f03] {
    /* Reducing the bottom margin of the email group */
    margin-bottom: 1rem !important;
}

/* --- 3. Option Cards (Selection) --- */
.izzy-selection-list-compact[b-lmv2q57f03] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

    .izzy-selection-list-compact + p[b-lmv2q57f03] {
        margin-top: 1rem !important;
    }

.izzy-option-card-compact[b-lmv2q57f03] {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 0 !important;
}

    .izzy-option-card-compact:hover[b-lmv2q57f03] {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .izzy-option-card-compact.active[b-lmv2q57f03] {
        border-color: var(--izzy-blue);
        background: rgba(79, 143, 223, 0.1);
        box-shadow: inset 0 0 0 1px var(--izzy-blue);
    }

/* Shielding the Radio Dot */
[b-lmv2q57f03] .izzy-radio-hidden {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    accent-color: var(--izzy-blue);
    margin-right: 15px !important;
    cursor: pointer;
}

.option-title-compact[b-lmv2q57f03] {
    display: block;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    line-height: 1.2;
}

.option-desc-compact[b-lmv2q57f03] {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* --- 4. The Save Button --- */
.izzy-btn-pill[b-lmv2q57f03] {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #67a3ee, #4f8fdf);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 16px 40px;
    box-shadow: 0 10px 25px var(--izzy-blue-glow);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin-top: 2rem;
}

    .izzy-btn-pill:hover[b-lmv2q57f03] {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(79, 143, 223, 0.5);
    }

/* --- 5. Links & Footer --- */
.header-subtitle[b-lmv2q57f03] {
    color: #94a3b8 !important;
    margin-bottom: 1.5rem !important;
}

.recaptcha-text[b-lmv2q57f03] {
    margin-top: 3rem !important;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

[b-lmv2q57f03] a {
    color: #a5ccff !important;
    text-decoration: underline;
}


.izzy-btn-secondary[b-lmv2q57f03] {
    background: transparent !important;
    border: 1px solid rgba(79, 143, 223, 0.4) !important;
    color: var(--izzy-blue) !important;
    border-radius: 999px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: 1.5rem;
    display: inline-block;
}

    .izzy-btn-secondary:hover[b-lmv2q57f03] {
        background: rgba(79, 143, 223, 0.1) !important;
        border-color: var(--izzy-blue) !important;
        color: white !important;
        box-shadow: 0 0 15px var(--izzy-blue-glow);
    }


[b-lmv2q57f03] .validation-message,
[b-lmv2q57f03] .text-danger,
[b-lmv2q57f03] .invalid-feedback,
[b-lmv2q57f03] .validation-error {
    /* 1. Make it larger (closer to label size) */
    font-size: 1rem !important;
    font-weight: 600 !important;
    /* 2. Bring it closer to the input/options */
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    color: #ff6b6b !important;
    display: block !important;
    text-align: left !important;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.1);
}

/* --- 3. Input Text Size Fix --- */
/* Ensuring the typed text matches the Registration form's size */
[b-lmv2q57f03] .izzy-input,
.izzy-input[b-lmv2q57f03] {
    font-size: 1.15rem !important;
}

/* --- Success Icon Polish --- */
.success-checkmark-container[b-lmv2q57f03] {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Adds a soft green glow that fits the dark background */
    filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.4));
    /* Pop-in animation */
    animation: successPop-b-lmv2q57f03 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop-b-lmv2q57f03 {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2); /* Slight overshoot for a bouncy feel */
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optional: Pulse the glow slightly */
.success-checkmark-container svg[b-lmv2q57f03] {
    animation: glowPulse-b-lmv2q57f03 2s infinite ease-in-out;
}

@keyframes glowPulse-b-lmv2q57f03 {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.6));
    }
}
/* /Components/Forms/RegistrationForm.razor.rz.scp.css */
/* --- THE FIX: Reach inside Blazor components --- */
[b-i2t9878va5] .izzy-input,
.izzy-input[b-i2t9878va5] {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 1.15rem !important;
    height: 48px !important;
    padding: 0 16px !important;
    width: 100% !important;
    display: block !important;
}

h2[b-i2t9878va5], .header-title[b-i2t9878va5] {
    margin-bottom: 4px !important; /* Pulls the subtitle up */
    font-weight: 800; /* Ensuring it stays bold and prominent */
}

p[b-i2t9878va5], .header-subtitle[b-i2t9878va5] {
    margin-top: 0 !important; /* Removes the top gap */
    color: #94a3b8 !important; /* Keeping that premium silver color */
    font-size: 0.95rem;
    opacity: 0.85;
}


.h4.header-title[b-i2t9878va5] {
    margin-bottom: 4px !important; /* Pull subtitle closer */
}



    [b-i2t9878va5] .izzy-input:focus,
    .izzy-input:focus[b-i2t9878va5] {
        border-color: var(--izzy-blue) !important;
        box-shadow: 0 0 15px var(--izzy-blue-glow) !important;
        outline: none;
    }

/* --- Layout --- */
.izzy-form-container[b-i2t9878va5] {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 3rem; /* Return to the original 3rem for a more 'framed' look */
    width: 100%;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.form-group[b-i2t9878va5] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0.8rem !important; /* Reduced slightly to account for the error text */
}


.brand-logo[b-i2t9878va5] {
    max-width: 180px !important;
    height: auto;
}

.izzy-label[b-i2t9878va5] {
    color: white !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important; /* Gap between label and input */
    font-size: 0.95rem !important;
    display: block;
}

/* --- Password Toggle Centering --- */
.password-wrapper[b-i2t9878va5] {
    position: relative;
    width: 100%;
}

.password-toggle[b-i2t9878va5] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    height: 48px;
}

/* --- CTA Button --- */
.izzy-btn-pill[b-i2t9878va5] {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #67a3ee, #4f8fdf);
    color: #fff;
    font-size: 1.25rem !important;
    font-weight: 700;
    padding: 18px 40px !important;
    width: 100%;
    cursor: pointer;
    /* Animation foundation */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Initial Glow */
    box-shadow: 0 8px 20px var(--izzy-blue-glow);
}

    .izzy-btn-pill:hover:not(:disabled)[b-i2t9878va5] {
        /* The Lift */
        transform: translateY(-4px);
        /* The Enhanced Glow */
        box-shadow: 0 15px 35px rgba(79, 143, 223, 0.6);
        /* Slight brightness boost */
        filter: brightness(1.05);
    }

    .izzy-btn-pill:active:not(:disabled)[b-i2t9878va5] {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px var(--izzy-blue-glow);
    }

.checkbox-stack[b-i2t9878va5] {
    margin-top: 1.2rem !important;
    margin-bottom: 1rem !important;
}


.actions-area-compact[b-i2t9878va5] {
    margin-top: 1.5rem !important;
}

.otp-field-container[b-i2t9878va5] {
    margin-bottom: 2.5rem !important;
}


.custom-check[b-i2t9878va5] {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem !important; /* Increased space between checkboxes */
}

    [b-i2t9878va5] a,
    .izzy-link[b-i2t9878va5],
    .custom-check a[b-i2t9878va5]
     {
        color: #a5ccff !important; /* Bright cyan-blue for visibility */
        text-decoration: underline !important;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        [b-i2t9878va5] a:hover,
        .izzy-link:hover[b-i2t9878va5] {
            color: #ffffff !important;
            text-shadow: 0 0 10px var(--izzy-blue-glow);
        }

/* --- OTP Action Area Centering --- */
.actions-area-otp[b-i2t9878va5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem; /* Slight extra lead-in */
}

.resend-container[b-i2t9878va5] {
    margin-top: 0.5rem;
}

/* --- Clean Link-Style Buttons --- */
.izzy-link-btn[b-i2t9878va5] {
    background: transparent !important; /* Kills the white box */
    border: none !important;
    color: var(--izzy-blue) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .izzy-link-btn:hover:not(:disabled)[b-i2t9878va5] {
        color: white !important;
        text-shadow: 0 0 10px var(--izzy-blue-glow);
    }

    .izzy-link-btn:disabled[b-i2t9878va5] {
        color: rgba(255, 255, 255, 0.3) !important;
        cursor: not-allowed;
    }

/* --- Change Email Link --- */
.change-email-link[b-i2t9878va5] {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

    .change-email-link:hover[b-i2t9878va5] {
        color: #94a3b8 !important;
    }

/* --- OTP Input Polish --- */
.otp-field[b-i2t9878va5] {
    text-align: center;
    font-size: 2rem !important;
    letter-spacing: 12px !important;
    height: 60px !important;
    font-weight: 700;
}

/* --- OTP Error Styling --- */
.otp-error-message[b-i2t9878va5] {
    /* Pushing it away from both the input above and the button below */
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    color: #ff6b6b !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    /* Background and border for the 'alert' feel */
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 12px 15px;
    border-radius: 12px;
    /* Animation foundation */
    animation: shake-b-i2t9878va5 0.4s ease-in-out;
}}

@keyframes shake-b-i2t9878va5 {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Ensure the OTP field itself highlights if there is an error */
/* (You can add a conditional class to the input for this) */
.otp-field-error[b-i2t9878va5] {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.2) !important;
}


.recaptcha-text[b-i2t9878va5] {
    /* Pushes the fine print much further down */
    margin-top: 4rem !important;
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    text-align: center;
    /* Adds a bit of padding to the very bottom of the card */
    padding-bottom: 0.5rem;
}

    /* Also ensure the links in the footer stay the subtle silver-blue */
    .recaptcha-text a[b-i2t9878va5] {
        color: rgba(165, 204, 255, 0.6) !important;
        text-decoration: underline;
    }

        .recaptcha-text a:hover[b-i2t9878va5] {
            color: #ffffff !important;
        }

/* --- Validation Messages --- */

/* Target both the default Blazor class and your custom error class */
/* --- FORCE RED VALIDATION --- */

/* This targets the div/span that Blazor generates for validation */
[b-i2t9878va5] .validation-message,
[b-i2t9878va5] .text-danger,
[b-i2t9878va5] .invalid-feedback,
.validation-error[b-i2t9878va5] {
    color: #ff6b6b !important; /* The IZZY Red */
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
    display: block !important;
    text-align: left !important;
    /* Adding a slight glow to ensure it breaks through the navy background */
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.2);
}

.izzy-form-container[b-i2t9878va5]  [class*="validation"] {
    color: #ff6b6b !important;
}

/* Tighten spacing when an error appears so it doesn't push the form too far */
.form-group[b-i2t9878va5] {
    margin-bottom: 0.8rem !important; /* Reduced slightly to account for the error text */
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-yblpjxgu6i] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-yblpjxgu6i] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
