.login__section {
    padding: 35px 20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(224, 66, 107, .07), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(224, 66, 107, .05), transparent 30%),
        #f8f8fa;
}

/* Login Card */
.login__section--grid {
    width: 100%;
    max-width: 1080px;
    min-height: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .09),
        0 4px 15px rgba(0, 0, 0, .03);
}

/* Image Side */
.login__section--image__side {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #222;
}

.login__section--image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .8s ease;
}

.login__section--grid:hover .login__section--image {
    transform: scale(1.035);
}

.login__image--overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, .04) 0%,
            rgba(0, 0, 0, .12) 35%,
            rgba(0, 0, 0, .76) 100%);
}

.login__image--content {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 38px;
    z-index: 2;
    color: #fff;
}

.login__image--badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.login__image--content h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 40px;
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -1px;
}

.login__image--content h2 span {
    color: #ff7f9d;
}

.login__image--content p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.6;
}

.login__image--dots {
    display: flex;
    gap: 6px;
    margin-top: 20px;
}

.login__image--dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
}

.login__image--dots span:first-child {
    width: 22px;
    border-radius: 10px;
    background: #fff;
}

/* Form Side */
.login__section--form__side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    background: #fff;
}

.login__section--form__wrap {
    width: 100%;
    max-width: 390px;
}

/* Brand */
.login__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    color: #202020;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.login__brand--icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #e0426b, #f56d91);
    box-shadow: 0 7px 18px rgba(224, 66, 107, .22);
    font-size: 17px;
}

/* Header */
.account__login--header {
    margin-bottom: 22px;
}

.login__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #e0426b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.account__login--header__title {
    margin: 0 0 6px;
    color: #202020;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -1px;
}

.account__login--header__title span {
    font-size: 22px;
}

.account__login--header__desc {
    margin: 0;
    color: #858585;
    font-size: 13px;
    line-height: 1.5;
}

/* Error Alert */
.login__alert {
    display: flex;
    gap: 10px;
    padding: 11px 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(220, 53, 69, .14);
    border-radius: 10px;
    background: #fff5f5;
    color: #842029;
    font-size: 11px;
    line-height: 1.4;
}

.login__alert--icon {
    flex-shrink: 0;
    font-size: 18px;
}

.login__alert strong {
    display: block;
    margin-bottom: 2px;
}

.login__alert ul {
    padding-left: 15px;
    margin: 0;
}

/* Form Field */
.login__field {
    margin-bottom: 14px;
}

.login__field label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: 12px;
    font-weight: 650;
}

.login__input--wrapper {
    position: relative;
}

.login__input--wrapper>i:first-child {
    position: absolute;
    left: 15px;
    top: 35%;
    z-index: 2;
    transform: translateY(-50%);
    color: #a3a3a3;
    font-size: 17px;
    transition: color .2s ease;
    pointer-events: none;
}

/* Input */
.account__login--input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 45px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    color: #222 !important;
    font-size: 13px !important;
    outline: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.account__login--input::placeholder {
    color: #aaa;
}

.account__login--input:focus {
    border-color: #e0426b !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(224, 66, 107, .07) !important;
}

.login__input--wrapper:focus-within>i:first-child {
    color: #e0426b;
}

.account__login--input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .06) !important;
}

.login__input--error {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
}

/* Password Toggle */
.login__password--toggle {
    position: absolute;
    right: 8px;
    top: 38%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: all .2s ease;
}

.login__password--toggle:hover {
    color: #e0426b;
    background: rgba(224, 66, 107, .07);
}

/* Remember / Forgot */
.login__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 18px;
}

.login__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #777;
    font-size: 11px;
    cursor: pointer;
    user-select: none;
}

.login__remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login__checkbox {
    width: 17px;
    height: 17px;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all .2s ease;
}

.login__remember input:checked+.login__checkbox {
    border-color: #e0426b;
    background: #e0426b;
    box-shadow: inset 0 0 0 4px #fff;
}

.account__login--forgot {
    color: #e0426b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease;
}

.account__login--forgot:hover {
    opacity: .7;
}

/* Login Button */
.login__submit {
    width: 100%;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #e0426b, #ed547c) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(224, 66, 107, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.login__submit i {
    font-size: 17px;
    transition: transform .2s ease;
}

.login__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(224, 66, 107, .28);
}

.login__submit:hover i {
    transform: translateX(3px);
}

.login__submit:active {
    transform: translateY(0);
}

/* Divider */
.login__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 15px;
    color: #bbb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.login__divider::before,
.login__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

/* Signup */
.account__login--signup__text {
    margin: 0;
    text-align: center;
    color: #777;
    font-size: 12px;
}

.account__login--signup__text a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 3px;
    color: #e0426b;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.account__login--signup__text a:hover {
    color: #c82f58;
}

.account__login--signup__text a i {
    font-size: 13px;
}

/* Security */
.login__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    color: #aaa;
    font-size: 10px;
}

.login__secure i {
    color: #55a86a;
    font-size: 14px;
}

/* Tablet */
@media (max-width: 1100px) {
    .login__section--form__side {
        padding: 30px 35px;
    }

    .login__image--content {
        left: 30px;
        right: 30px;
        bottom: 30px;
    }

    .login__image--content h2 {
        font-size: 34px;
    }
}

/* Mobile - Hide Image */
@media (max-width: 991.98px) {
    .login__section {
        padding: 20px 12px;
    }

    .login__section--grid {
        display: block;
        max-width: 550px;
        min-height: auto;
        border-radius: 20px;
    }

    .login__section--image__side {
        display: none !important;
    }

    .login__section--form__side {
        width: 100%;
        padding: 35px 30px 40px;
    }

    .login__brand {
        margin-bottom: 22px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .login__section {
        padding: 10px;
    }

    .login__section--grid {
        border-radius: 16px;
    }

    .login__section--form__side {
        padding: 30px 20px 35px;
    }

    .account__login--header__title {
        font-size: 27px;
    }

    .login__options {
        align-items: flex-start;
    }

    .account__login--forgot {
        text-align: right;
    }
}

/* =========================================================
   FORGOT PASSWORD MODAL
========================================================= */

.forgot__modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot__modal.active {
    display: flex;
}

.forgot__modal--overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 25, .62);
    backdrop-filter: blur(5px);
    animation: forgotOverlayIn .2s ease;
}

.forgot__modal--content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    padding: 38px 40px 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .18);
    animation: forgotModalIn .25s ease;
}

.forgot__modal--close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f7f7f8;
    color: #777;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
}

.forgot__modal--close:hover {
    background: #e0426b;
    color: #fff;
    transform: rotate(90deg);
}

.forgot__modal--icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0426b, #f56d91);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(224, 66, 107, .22);
}

.forgot__modal--header {
    margin-bottom: 24px;
}

.forgot__modal--eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #e0426b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.forgot__modal--header h2 {
    margin: 0 0 8px;
    color: #202020;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.7px;
}

.forgot__modal--header p {
    margin: 0;
    color: #858585;
    font-size: 13px;
    line-height: 1.6;
}

.forgot__field {
    margin-bottom: 18px;
}

.forgot__field label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 12px;
    font-weight: 650;
}

.forgot__input--wrapper {
    position: relative;
}

.forgot__input--wrapper>i {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #a3a3a3;
    font-size: 18px;
    pointer-events: none;
    transition: color .2s ease;
}

.forgot__input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 45px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background: #fafafa;
    color: #222;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.forgot__input::placeholder {
    color: #aaa;
}

.forgot__input:focus {
    border-color: #e0426b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(224, 66, 107, .07);
}

.forgot__input--wrapper:focus-within>i {
    color: #e0426b;
}

.forgot__submit {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0426b, #ed547c);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(224, 66, 107, .20);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.forgot__submit i {
    font-size: 17px;
    transition: transform .2s ease;
}

.forgot__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(224, 66, 107, .28);
}

.forgot__submit:hover i {
    transform: translateX(3px);
}

.forgot__modal--back {
    margin-top: 20px;
    text-align: center;
}

.forgot__modal--back button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 12px;
    cursor: pointer;
    transition: color .2s ease;
}

.forgot__modal--back button:hover {
    color: #e0426b;
}

.forgot__modal--back i {
    font-size: 15px;
}

@keyframes forgotOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes forgotModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575.98px) {
    .forgot__modal {
        padding: 15px;
    }

    .forgot__modal--content {
        padding: 32px 22px 25px;
        border-radius: 17px;
    }

    .forgot__modal--header h2 {
        font-size: 24px;
    }
}

body.forgot-modal-open {
    overflow: hidden;
}

/* =========================================================
   FORGOT PASSWORD MESSAGE
========================================================= */

.forgot__message {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.45;
}

.forgot__message.show {
    display: flex;
}

.forgot__message i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 16px;
}

.forgot__message.error {
    border: 1px solid rgba(220, 53, 69, .15);
    background: #fff5f5;
    color: #842029;
}

.forgot__message.error i {
    color: #dc3545;
}

.forgot__message.success {
    border: 1px solid rgba(25, 135, 84, .15);
    background: #f1faf5;
    color: #146c43;
}

.forgot__message.success i {
    color: #198754;
}

/* =========================================================
   INVALID EMAIL INPUT
========================================================= */

.forgot__input.is-invalid {
    border-color: #dc3545 !important;
    background: #fffafa !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .06);
}

.forgot__input.is-success {
    border-color: #198754 !important;
    background: #fafffc !important;
}

/* =========================================================
   SUBMIT LOADING
========================================================= */

.forgot__submit--loader {
    display: none;
    font-size: 17px;
    animation: forgotSpinner .8s linear infinite;
}

.forgot__submit.loading {
    pointer-events: none;
    opacity: .8;
}

.forgot__submit.loading .forgot__submit--text,
.forgot__submit.loading .forgot__submit--icon {
    display: none;
}

.forgot__submit.loading .forgot__submit--loader {
    display: inline-block;
}

@keyframes forgotSpinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   FORGOT PASSWORD STEPS
========================================================= */

.forgot__step {
    display: none;
}

.forgot__step.active {
    display: block;
}

/* =========================================================
   FORGOT MESSAGE
========================================================= */

.forgot__message {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.45;
}

.forgot__message.show {
    display: flex;
}

.forgot__message>i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 16px;
}

.forgot__message.error {
    border: 1px solid rgba(220, 53, 69, .15);
    background: #fff5f5;
    color: #842029;
}

.forgot__message.error>i {
    color: #dc3545;
}

.forgot__message.success {
    border: 1px solid rgba(25, 135, 84, .15);
    background: #f1faf5;
    color: #146c43;
}

.forgot__message.success>i {
    color: #198754;
}

/* =========================================================
   FORGOT INPUT
========================================================= */

.forgot__input.is-invalid {
    border-color: #dc3545 !important;
    background: #fffafa !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .06);
}

.forgot__input.is-success {
    border-color: #198754 !important;
    background: #fafffc !important;
}

.forgot__otp {
    letter-spacing: 6px;
    text-align: center;
    font-size: 18px !important;
    font-weight: 700;
}

/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.forgot__password--toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: all .2s ease;
}

.forgot__password--toggle:hover {
    color: #e0426b;
    background: rgba(224, 66, 107, .07);
}

/* =========================================================
   LOADING
========================================================= */

.forgot__submit--loader {
    display: none;
    font-size: 17px;
    animation: forgotSpinner .8s linear infinite;
}

.forgot__submit.loading {
    pointer-events: none;
    opacity: .8;
}

.forgot__submit.loading .forgot__submit--text,
.forgot__submit.loading .forgot__submit--icon {
    display: none;
}

.forgot__submit.loading .forgot__submit--loader {
    display: inline-block;
}

@keyframes forgotSpinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   SUCCESS
========================================================= */

.forgot__success--icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1faf5;
    color: #198754;
    font-size: 34px;
}

.forgot__step .text-center {
    text-align: center;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .forgot__modal {
        padding: 15px;
    }

    .forgot__modal--content {
        padding: 32px 22px 25px;
        border-radius: 17px;
    }

    .forgot__modal--header h2 {
        font-size: 24px;
    }
}

.login__submit--loader {
    display: none;
    font-size: 17px;
    animation: forgotSpinner .8s linear infinite;
}

.login__submit.loading {
    pointer-events: none;
    opacity: .8;
}

.login__submit.loading .login__submit--text,
.login__submit.loading .login__submit--icon {
    display: none;
}

.login__submit.loading .login__submit--loader {
    display: inline-block;
}
