/* =====================================================================
   TabX - Security UI Brand Overrides
   ---------------------------------------------------------------------
   Layered ON TOP OF the centralized framework Security CSS package
   (MeyerTechnologies.Security.Web.Views assets: login.css / admin.css /
   passwordStrength.css). The package ships the shared baseline (primary
   #102D6F); this file contains ONLY TabX's brand deltas and MUST load
   AFTER the package CSS (wired in _LayoutLogin) so these rules win.

   Brand: TabX orange #FFA31A (hover #E69218), link #C77F12.
   ===================================================================== */

/* Branded login header banner (if rendered above the card). */
.login-header {
    background-color: #FFA31A;
    padding: 15px 0;
}

.login-header img {
    height: 45px;
}

/* Card accent rule. The framework login.css applies a 4px solid #102D6F border on
   all four sides; neutralize the navy on the other three sides to a light card
   border and keep only the TabX orange top accent. */
.account-card-box .card {
    border: 1px solid #E5E7EB;
    border-top: 4px solid #FFA31A;
}

/* Primary button + checked controls. */
.account-card-box .btn-primary,
.loginForm .btn-primary,
.account-card-box .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #FFA31A;
    border-color: #FFA31A;
    color: #FFFFFF;
}

    .account-card-box .btn-primary:hover,
    .loginForm .btn-primary:hover {
        background-color: #E69218;
        border-color: #E69218;
    }

/* Links + header icon accent. */
.account-card-box a,
.loginForm a {
    color: #C77F12;
}

.login-wrapper .header-text i {
    color: #FFA31A;
}

/* =====================================================================
   TabX password-requirements checklist (used by the local ChangePassword
   override). Not part of the shared package, so styled here with literal
   values (the old login.css design tokens no longer exist).
   ===================================================================== */
.password-requirements {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 8px 0 20px 0;
}

.password-requirement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

    .password-requirement i {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: #D5D7DA;
        background-color: #D5D7DA;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .password-requirement i.fa-check-circle::before {
        content: "\f00c";
        font-size: 12px;
        color: #FFFFFF;
    }

    .password-requirement.valid i {
        background-color: #12B76A;
        color: #FFFFFF;
    }

    .password-requirement span {
        font-size: 14px;
        line-height: 20px;
        color: #535862;
        flex: 1;
    }

/* =====================================================================
   TabX custom auth header (used by the local Login override and other
   auth screens). Ported from the retired login.css with literal values,
   since the old design tokens (--spacing-*, --gray-*, --brand-*) no
   longer exist. Brand orange #FFA31A / hover #E69218, link #C77F12.
   ===================================================================== */
.auth-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 32px;
}

.auth-header-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-featured-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-color: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px inset rgba(10, 13, 18, 0.18),
                0 -2px 0 0 inset rgba(10, 13, 18, 0.05);
}

    .auth-featured-icon i {
        font-size: 16px;
        color: #FFA31A;
    }

.auth-header-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #181D27;
    margin: 0;
    white-space: nowrap;
}

.auth-header-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #535862;
    margin: 0;
    width: 100%;
}

.auth-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 24px;
}

.auth-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #C77F12;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

    .auth-link:hover {
        color: #E69218;
        text-decoration: none;
    }

@media (max-width: 767.98px) {
    .auth-header-title {
        font-size: 18px;
        line-height: 26px;
    }
}
