.logo-img img{
    height: 60px;
}

.auth-card .logo-img img {
    display: block;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    width: auto;
}

body.link-sidebar {
    background: #f4f7fb;
    color: #40516a;
}

.auth-login-side {
    background:
        radial-gradient(circle at 12% 12%, rgba(39, 194, 233, 0.18), transparent 22rem),
        linear-gradient(145deg, #041126 0%, #071a35 52%, #0b3f80 100%) !important;
}

.auth-login-shell {
    padding: clamp(2.5rem, 5vw, 5rem) !important;
}

.auth-login-note {
    border-radius: 9px !important;
    color: #d9edff !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase;
}

.auth-login-title {
    max-width: 17ch !important;
}

.auth-login-title-top {
    color: #b8cae1 !important;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem) !important;
    font-weight: 650 !important;
}

.auth-login-title-brand {
    font-size: clamp(2.8rem, 4.7vw, 4.75rem) !important;
}

.auth-login-lead {
    color: #b3c5dc !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

.auth-trust-grid {
    display: grid;
    gap: 12px;
    max-width: 34rem;
}

.auth-trust-grid > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: 38px 1fr;
    padding: 12px 14px;
}

.auth-trust-grid > div > i {
    align-items: center;
    background: rgba(39, 194, 233, 0.13);
    border: 1px solid rgba(110, 220, 245, 0.18);
    border-radius: 10px;
    color: #6bd8f1;
    display: inline-flex;
    font-size: 1.1rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.auth-trust-grid strong,
.auth-trust-grid small {
    display: block;
}

.auth-trust-grid strong {
    color: #ffffff;
    font-size: 0.78rem;
}

.auth-trust-grid small {
    color: #9fb2cb;
    font-size: 0.66rem;
    margin-top: 3px;
}

.auth-card {
    max-width: 430px !important;
}

#main-wrapper.auth-login-root,
.auth-login-page {
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-login-page {
    background: var(--brand-dark, #071a35);
    padding: clamp(1rem, 4vw, 3rem);
}

.auth-card.auth-login-box {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 420px !important;
    padding: 36px 32px 32px;
}

.auth-login-content {
    max-width: 360px;
    width: 100%;
}

.auth-login-heading {
    margin-bottom: 28px;
    text-align: center;
}

.auth-login-box .logo-img {
    margin-bottom: 24px;
}

.auth-card.auth-login-box .logo-img img {
    max-height: 44px;
    max-width: 80%;
    object-fit: contain;
    width: 190px;
}

.auth-login-box .auth-access-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.auth-login-box .auth-access-subtitle {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0;
}

.auth-login-form {
    display: grid;
    gap: 20px;
}

.auth-card.auth-login-box .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-login-password-label {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.auth-card.auth-login-box .auth-login-password-label .form-label {
    margin-bottom: 0;
}

.auth-card.auth-login-box .form-control {
    font-size: 1rem;
    min-height: 50px;
}

.auth-card.auth-login-box .btn {
    font-size: 0.875rem;
    min-height: 50px;
}

@media (max-width: 767.98px), (max-height: 500px) and (pointer: coarse) {
    .auth-login-page {
        background: #ffffff;
        padding: 0;
    }

    .auth-card.auth-login-box {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: none !important;
        min-height: 100vh;
        min-height: 100dvh;
        padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    }
}

.auth-card .logo-img img {
    max-height: 48px;
}

.auth-secure-label {
    align-items: center;
    background: #eaf8f2;
    border: 1px solid #c1e6d8;
    border-radius: 999px;
    color: #08745b;
    display: inline-flex;
    font-size: 0.65rem;
    font-weight: 800;
    gap: 5px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.auth-access-title {
    color: #0a1930;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.auth-access-subtitle {
    color: #6d7c91;
    font-size: 0.83rem;
}

.auth-card .form-label {
    color: #42536b !important;
    font-size: 0.72rem;
    font-weight: 750;
    margin-left: 0 !important;
}

.auth-card .form-control {
    background: #fbfdff;
    border: 1px solid #d5deea;
    border-radius: 10px !important;
    color: #0a1930;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
}

.auth-card .form-control:focus {
    background: #ffffff;
    border-color: #0875eb;
    box-shadow: 0 0 0 4px rgba(8, 117, 235, 0.1);
}

.auth-card .btn {
    border-radius: 10px !important;
    font-weight: 750;
    min-height: 46px;
}

.auth-card .btn-primary {
    background: linear-gradient(135deg, #075bd8, #1689f7);
    border-color: #075bd8;
    box-shadow: 0 10px 22px rgba(8, 117, 235, 0.18);
}

.auth-card .form-check-label,
.auth-card a,
.auth-card .text-muted {
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .auth-card {
        max-width: 460px !important;
    }
}

@media (max-width: 575.98px) {
    .auth-card .logo-img img {
        max-height: 42px;
    }

    .auth-access-title {
        font-size: 1.35rem;
    }
}
