.auth-login-page {
    --sdp-green: #008751;
    --sdp-orange: #f18538;
    min-height: 70vh;
    background:
        radial-gradient(circle at 9% 14%, rgba(0, 135, 81, 0.08), transparent 27rem),
        #f5f8f6;
}

.auth-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
    max-width: 1020px;
    min-height: 540px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(21, 55, 39, 0.13);
}

.auth-login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    color: #fff;
    background: linear-gradient(145deg, #006d42 0%, #008751 55%, #087447 100%);
}

.auth-login-brand-panel::before,
.auth-login-brand-panel::after {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.auth-login-brand-panel::before {
    right: -130px;
    top: -80px;
}

.auth-login-brand-panel::after {
    right: -190px;
    top: -20px;
    width: 390px;
    height: 390px;
}

.auth-login-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 78px;
    margin-bottom: 2.5rem;
}

.auth-login-logo img {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 80px;
    object-fit: contain;
    object-position: left center;
}

.auth-login-wordmark {
    display: inline-flex;
    flex-direction: column;
    color: #fff;
    line-height: 1;
}

.auth-login-wordmark strong {
    font-size: 2.25rem;
    font-weight: 850;
    letter-spacing: -0.06em;
}

.auth-login-wordmark small {
    margin-top: 0.35rem;
    color: #ffb16e;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-login-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 0.7rem;
    color: #d8f3e6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-login-brand-panel h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.auth-login-brand-panel > p {
    position: relative;
    z-index: 1;
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.7;
}

.auth-login-brand-rule {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 4px;
    margin-top: 2rem;
    border-radius: 99px;
    background: var(--sdp-orange);
}

.auth-login-tagline {
    position: relative;
    z-index: 1;
    margin-top: 0.75rem;
    color: #ffb16e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.auth-login-form-panel {
    align-self: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
}

.auth-login-heading {
    margin-bottom: 2rem;
}

.auth-login-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    color: var(--sdp-green);
    background: #e8f5ee;
    font-size: 1.35rem;
}

.auth-login-heading h2 {
    margin: 0 0 0.55rem;
    color: #17251d;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -0.03em;
}

.auth-login-heading p {
    margin: 0;
    color: #6c7870;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-login-form-panel .form-label {
    margin-bottom: 0.5rem;
    color: #303b34;
    font-size: 0.88rem;
    font-weight: 650;
}

.auth-login-input-wrap {
    position: relative;
}

.auth-login-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1rem;
    color: #77847b;
    font-size: 1.05rem;
    transform: translateY(-50%);
}

.auth-login-input-wrap .form-control {
    min-height: 52px;
    padding: 0.8rem 1rem 0.8rem 2.85rem;
    border: 1px solid #dce5df;
    border-radius: 10px;
    background: #fbfdfc;
    box-shadow: none;
}

.auth-login-input-wrap .form-control:focus {
    border-color: var(--sdp-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.12);
}

.auth-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #526057;
    cursor: pointer;
    font-size: 0.88rem;
}

.auth-login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--sdp-green);
}

.auth-login-reset-link,
.auth-login-register a {
    color: var(--sdp-green);
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.auth-login-reset-link:hover,
.auth-login-register a:hover {
    color: #006d42;
    text-decoration: underline;
}

.auth-login-submit {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--sdp-green);
    font-size: 0.98rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-login-submit:hover,
.auth-login-submit:focus {
    color: #fff;
    background: #006d42;
    box-shadow: 0 8px 18px rgba(0, 135, 81, 0.2);
    transform: translateY(-1px);
}

.auth-login-register {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.5rem;
    color: #707c74;
    font-size: 0.9rem;
}

.auth-login-form-panel .alert {
    border: 0;
    border-radius: 10px;
    font-size: 0.88rem;
}

@media (max-width: 767.98px) {
    .auth-login-page .container {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .auth-login-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 520px;
    }

    .auth-login-brand-panel {
        min-height: 265px;
        padding: 1.75rem 2rem;
    }

    .auth-login-logo {
        min-height: 52px;
        margin-bottom: 1.3rem;
    }

    .auth-login-logo img {
        max-width: 180px;
        max-height: 54px;
    }

    .auth-login-brand-panel h1 {
        font-size: 2rem;
    }

    .auth-login-brand-panel > p {
        max-width: 440px;
        font-size: 0.9rem;
    }

    .auth-login-brand-rule {
        margin-top: 1.1rem;
    }

    .auth-login-form-panel {
        padding: 2rem;
    }
}

@media (max-width: 420px) {
    .auth-login-form-panel {
        padding: 1.5rem;
    }

    .auth-login-brand-panel {
        padding: 1.5rem;
    }
}

.auth-password-page {
    --sdp-green: #008751;
    --sdp-orange: #f18538;
    min-height: 70vh;
    background:
        radial-gradient(circle at 91% 80%, rgba(241, 133, 56, 0.08), transparent 25rem),
        #f5f8f6;
}

.auth-password-card {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
    max-width: 960px;
    min-height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(21, 55, 39, 0.13);
}

.auth-password-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    background: linear-gradient(145deg, #006d42 0%, #008751 58%, #087447 100%);
}

.auth-password-brand::before,
.auth-password-brand::after {
    position: absolute;
    right: -160px;
    top: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.auth-password-brand::after {
    right: -210px;
    top: -25px;
    width: 410px;
    height: 410px;
}

.auth-password-wordmark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 3rem;
    color: #fff;
    line-height: 1;
    text-decoration: none;
}

.auth-password-wordmark strong {
    font-size: 2.4rem;
    font-weight: 850;
    letter-spacing: -0.06em;
}

.auth-password-wordmark small {
    margin-top: 0.4rem;
    color: #ffb16e;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-password-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 0.7rem;
    color: #d8f3e6;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.auth-password-brand h1 {
    position: relative;
    z-index: 1;
    max-width: 370px;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.auth-password-brand > p {
    position: relative;
    z-index: 1;
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    line-height: 1.7;
}

.auth-password-accent {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 4px;
    margin-top: 2rem;
    border-radius: 99px;
    background: var(--sdp-orange);
}

.auth-password-content {
    align-self: center;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem);
}

.auth-password-heading {
    margin-bottom: 1.8rem;
}

.auth-password-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    color: var(--sdp-green);
    background: #e8f5ee;
    font-size: 1.35rem;
}

.auth-password-heading h2 {
    margin: 0 0 0.55rem;
    color: #17251d;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    font-weight: 750;
    letter-spacing: -0.03em;
}

.auth-password-heading p {
    margin: 0;
    color: #6c7870;
    font-size: 0.92rem;
    line-height: 1.65;
}

.auth-password-content .form-label {
    margin-bottom: 0.5rem;
    color: #303b34;
    font-size: 0.88rem;
    font-weight: 650;
}

.auth-password-input-wrap {
    position: relative;
}

.auth-password-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1rem;
    color: #77847b;
    font-size: 1.05rem;
    transform: translateY(-50%);
}

.auth-password-input-wrap .form-control {
    min-height: 52px;
    padding: 0.8rem 1rem 0.8rem 2.85rem;
    border: 1px solid #dce5df;
    border-radius: 10px;
    background: #fbfdfc;
    box-shadow: none;
}

.auth-password-input-wrap .form-control:focus {
    border-color: var(--sdp-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.12);
}

.auth-password-input-wrap .form-control[readonly] {
    color: #5d6a62;
    background: #f3f6f4;
}

.auth-password-submit {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--sdp-green);
    font-size: 0.96rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-password-submit:hover,
.auth-password-submit:focus {
    color: #fff;
    background: #006d42;
    box-shadow: 0 8px 18px rgba(0, 135, 81, 0.2);
    transform: translateY(-1px);
}

.auth-password-content .alert {
    border: 0;
    border-radius: 10px;
    font-size: 0.88rem;
}

.auth-password-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
}

.auth-password-navigation a {
    color: var(--sdp-green);
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.auth-password-navigation a:hover {
    color: #006d42;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .auth-password-page .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .auth-password-card {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 540px;
    }

    .auth-password-brand {
        min-height: 225px;
        padding: 1.6rem 2rem;
    }

    .auth-password-wordmark {
        margin-bottom: 1.3rem;
    }

    .auth-password-wordmark strong {
        font-size: 2rem;
    }

    .auth-password-brand h1 {
        max-width: 450px;
        font-size: 1.9rem;
    }

    .auth-password-brand > p {
        max-width: 440px;
        font-size: 0.9rem;
    }

    .auth-password-accent {
        margin-top: 1.2rem;
    }

    .auth-password-content {
        padding: 2rem;
    }

    .auth-password-navigation {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .auth-password-brand {
        min-height: 210px;
        padding: 1.4rem 1.5rem;
    }

    .auth-password-content {
        padding: 1.5rem;
    }
}
