:root {
    --auth-green: #0b7a4e;
    --auth-green-dark: #08653f;
    --auth-navy: #173047;
    --auth-text: #53647a;
    --auth-muted: #8491a3;
    --auth-border: #d7dde5;
}

html,
body {
    min-height: 100%;
    background: #eef1f4;
}

.light-style .authentication-wrapper.authentication-bg,
.authentication-wrapper.authentication-cover,
.authentication-wrapper.authentication-cover .authentication-inner {
    min-height: 100vh;
    margin: 0 !important;
    background: #eef1f4 !important;
}

.authentication-wrapper.authentication-cover {
    height: 100vh;
    overflow: hidden;
}

.auth-banner-cover {
    margin: 0 !important;
    padding: 0;
}

.auth-bg-cover-custom {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.auth-bg-cover-custom .auth-illustration {
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.auth-panel-column {
    min-height: 100vh;
    padding: 0 12px;
    background: #eef1f4;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: clamp(38px, 6vh, 64px) clamp(24px, 3vw, 54px) 30px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(217, 224, 232, 0.85);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(31, 50, 68, 0.1);
}

.auth-panel-content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-logo {
    display: block;
    width: 168px;
    height: 82px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.auth-title {
    margin: 0 0 5px;
    color: var(--auth-navy);
    font-size: clamp(1.75rem, 2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.auth-title strong {
    color: var(--auth-green);
    font-weight: 700;
}

.auth-subtitle {
    margin: 0;
    color: #718097;
    font-size: 0.95rem;
}

.auth-feedback .alert {
    margin-bottom: 14px;
    font-size: 0.82rem;
}

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

.auth-field .form-label {
    margin-bottom: 7px;
    color: #33465a;
    font-size: 0.78rem;
    font-weight: 500;
}

.auth-input-group {
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--auth-border);
    border-radius: 7px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-input-group:focus-within {
    border-color: var(--auth-green);
    box-shadow: 0 0 0 3px rgba(11, 122, 78, 0.1);
}

.auth-input-group.is-invalid {
    border-color: #ea5455;
}

.auth-input-icon {
    flex: 0 0 auto;
    margin-left: 14px;
    color: #68798e;
    font-size: 1.05rem;
}

.auth-input-group input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    color: var(--auth-navy);
    font: inherit;
    font-size: 0.83rem;
    background: transparent;
    border: 0;
    outline: 0;
}

.auth-input-group input::placeholder {
    color: #a6b0bf;
}

.auth-password-toggle {
    display: inline-grid;
    flex: 0 0 46px;
    height: 46px;
    padding: 0;
    color: #68798e;
    background: transparent;
    border: 0;
    place-items: center;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    color: var(--auth-green);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -2px;
    font-size: 0.76rem;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #394c60;
    cursor: pointer;
}

.auth-remember input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--auth-green);
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    gap: 10px;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.auth-submit {
    margin-top: 10px;
    color: #fff;
    background: var(--auth-green);
    border: 1px solid var(--auth-green);
    box-shadow: 0 5px 12px rgba(11, 122, 78, 0.18);
}

.auth-submit:hover {
    background: var(--auth-green-dark);
    border-color: var(--auth-green-dark);
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-security-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 26px 0 0;
    color: var(--auth-muted);
    font-size: 0.72rem;
    line-height: 1.55;
    text-align: center;
}

.auth-security-note .ti {
    margin-top: 1px;
    color: #0aa06b;
    font-size: 1.15rem;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 420px;
    gap: 18px;
    margin: 42px auto 0;
    color: #7f8c9e;
    font-size: 0.65rem;
}

@media (max-width: 1199.98px) {
    .auth-panel {
        padding-right: 28px;
        padding-left: 28px;
    }

    .auth-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 991.98px) {
    .auth-panel-column {
        padding: 0 12px;
        background: #eef1f4;
    }

    .auth-panel {
        height: 100vh;
        min-height: 100vh;
        padding: 42px 24px 26px;
        border: 1px solid rgba(217, 224, 232, 0.85);
        border-radius: 18px;
        box-shadow: 0 14px 42px rgba(31, 50, 68, 0.1);
    }

    .auth-footer {
        align-items: center;
        flex-direction: row;
    }
}

@media (max-width: 479.98px) {
    .auth-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .auth-logo {
        width: 150px;
        height: 74px;
    }

    .auth-options,
    .auth-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
