/* ==========================================================================
   Intelsense — Premium Auth pages (Login · Register)
   Scoped under .auth-premium. Appearance only — form actions, field names/ids
   and validation are untouched. Base #00256b. WCAG 2.1 AA.
   ========================================================================== */

.auth-premium{
    --t-navy:      #00256b;
    --t-navy-deep: #001a4d;
    --t-navy-mid:  #143a86;
    --t-ink:       #1d2b47;
    --t-ink-soft:  #45577a;
    --t-amber:     #f99e1e;
    --t-surface:   #ffffff;
    --t-line:      rgba(0, 37, 107, .12);
    --t-radius:    18px;
    --t-ease:      cubic-bezier(.4, 0, .2, 1);

    font-family: 'Poppins', sans-serif;
    color: var(--t-ink);
}

/* full-height navy backdrop so the white logo + card sit on brand colour */
.auth-premium .login-img,
.auth-premium .page{
    float: none;
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(1000px 460px at 50% -8%, rgba(255, 255, 255, .08), transparent 60%),
        linear-gradient(160deg, var(--t-navy) 0%, var(--t-navy-deep) 100%);
}

.auth-premium .col-login{ padding-top: 8px; }
.auth-premium .header-brand-img{ max-height: 54px; width: auto; }

.auth-premium .container-login100{
    display: flex;
    justify-content: center;
    padding: 8px 16px 60px;
}

.auth-premium .wrap-login100{
    width: 100%;
    max-width: 460px;
    background: var(--t-surface);
    border-radius: var(--t-radius);
    box-shadow: 0 24px 60px rgba(0, 12, 40, .45);
    padding: 40px 38px 34px !important;
}

.auth-premium .login100-form-title{
    display: block;
    text-align: center;
    color: var(--t-navy);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -.01em;
    padding-bottom: 26px !important;
}

/* register uses field labels above each input */
.auth-premium .panel label{
    display: block;
    margin: 14px 0 6px;
    color: var(--t-ink);
    font-size: 13.5px;
    font-weight: 600;
}

/* input groups (icon + field) */
.auth-premium .wrap-input100{
    margin-bottom: 14px;
    border: 1px solid #7c8aa8;   /* 3.47:1 on white — meets 1.4.11 non-text AA */
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .18s var(--t-ease), box-shadow .18s var(--t-ease);
}

.auth-premium .wrap-input100:focus-within{
    border-color: var(--t-navy-mid);
    box-shadow: 0 0 0 3px rgba(20, 58, 134, .15);
}

.auth-premium .input-group-text{
    border: 0 !important;
    background: #f4f7fc !important;
    color: var(--t-navy) !important;
    padding: 0 14px;
}

.auth-premium .input-group-text i{ color: var(--t-navy); }

.auth-premium .input100{
    border: 0 !important;
    box-shadow: none !important;
    height: 48px;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--t-ink);
    background: var(--t-surface);
}

.auth-premium .input100:focus{ outline: none; box-shadow: none !important; }

/* submit button */
.auth-premium .container-login100-form-btn{ margin-top: 22px; }

.auth-premium .login100-form-btn{
    width: 100%;
    background: var(--t-navy) !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 10px 24px rgba(0, 37, 107, .28);
    transition: transform .18s var(--t-ease), box-shadow .18s var(--t-ease);
}

.auth-premium .login100-form-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 37, 107, .36);
    color: #fff !important;
}

/* helper links / text */
.auth-premium .login-text{ color: var(--t-ink-soft); font-size: 14px; }

/* inline text links (Login / Sign UP / Forgot Password) sit inside sentences,
   so they need a non-colour cue — keep them underlined at all times, and
   thicken on hover. */
.auth-premium a{
    color: var(--t-navy-mid) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-premium a:hover,
.auth-premium a:focus{
    color: var(--t-navy) !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* the icon "buttons" inside input groups shouldn't look like links */
.auth-premium .input-group-text{ text-decoration: none !important; }

.auth-premium .is-danger p,
.auth-premium .is-danger{ color: #b3261e; font-size: 14px; margin: 6px 0 0; }

.auth-premium .is-success p{ color: #1a7f4b; font-size: 14px; }

/* -------------------------------------------------------------- a11y focus */

.auth-premium .login100-form-btn:focus-visible,
.auth-premium a:focus-visible{
    outline: 3px solid var(--t-amber);
    outline-offset: 3px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce){
    .auth-premium .login100-form-btn,
    .auth-premium .wrap-input100{ transition: none; }
    .auth-premium .login100-form-btn:hover{ transform: none; }
}
