body {
    margin: 0;
    padding: 0;
    font-family: 'Nexa-Regular', sans-serif;
}

.admin-login-container {
    min-height: 100vh;
    display: flex;
    background-color: #f5f5f5;
}

.admin-login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 100px 80px;
    background-color: #FDFDFD;
    padding-right: 0px !important;
}

.admin-login-logo {
    margin-bottom: 40px;
}

.admin-login-logo img {
    max-height: 50px;
    height: 28px;
    width: 150px;
}

.admin-login-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-illustration img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.admin-login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px;
    background-color: #FDFDFD;
    padding-left: 50px !important;
}

.admin-login-card {
    background: #FDFDFD;
    border-radius: 40px;
    padding: 100px 100px;
    width: 100%;
    max-width: 591px;
    backdrop-filter: blur(50px);
    border: 1px solid #FFF1EF;
    box-shadow: 10px 4px 100px 0px #FFF1EF;

}

.admin-login-card h2 {
    font-family: 'Montserrat';
    font-size: 24px;
    line-height: 34px;
    color: #140001;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.admin-login-card .login-instructions {
    font-family: 'Inter';
    font-size: 12px;
    line-height: 20px;
    color: #8E8F91;
    margin-bottom: 24px;
    white-space: nowrap;
    text-align: center;
    font-weight: 400;

}

.admin-login-form {
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
}

.admin-login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0px;
    margin-top: 12px;
}

.admin-login-form label {
    line-height: 24px;
    font-size: 16px;
    color: #140001;
    margin-bottom: 0px;
    display: block;
    font-weight: 600;
    font-family: 'Montserrat';
}

.admin-login-form .form-control {
    width: 100%;
    height: 46px;
    padding: 12px 20px;
    font-family: 'Inter';
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: #140001;
    background: #F7F7F8;
    border: 1px solid #EAEBEC;
    border-radius: 24px;
    box-shadow: none;
}

.admin-login-form .form-control:focus {
    outline: none;
    border: unset;

}

.admin-login-form .form-control:active {
    outline: none;
    border: none;

}

.admin-login-form .form-control:focus-visible {
    outline: none;
    border: none;

}

.admin-login-form .form-control:focus-within {
    outline: none;
    border: none;

}

.admin-login-form .form-control::placeholder {
    color: #B1B3B6 !important;
    font-size: 14px;
    font-family: 'Inter';
}

.admin-login-form .form-control::-webkit-input-placeholder {
    color: #B1B3B6 !important;
    font-size: 14px;
}

.admin-login-form .form-control::-moz-placeholder {
    color: #B1B3B6 !important;
    font-size: 14px;
}

.password-field-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #828282;
    font-size: 16px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle .password-icon {
    width: 14px;
    height: 14px;
    display: block;
}

.password-toggle.password-visible .password-icon {
    /* Slightly accent color when password visible */
    filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(2749%) hue-rotate(351deg) brightness(92%) contrast(101%);
}

.password-toggle:hover {
    color: #C7003B;
}

.forgot-password-link {
    text-align: right;
    margin-top: -20px;
    margin-bottom: 30px;
}

.forgot-password-link a {
    font-family: 'Inter';
    font-size: 14px;
    line-height: 17px;
    color: #828282;
    text-decoration: none;
}

.forgot-password-link a:hover {
    color: #C7003B;
    text-decoration: underline;
}

.admin-login-form .btn-signin {
    width: 100%;
    height: 50px;
    padding: 12px 24px;
    background: #C9331F;
    border-radius: 20px;
    border: none;
    color: #FDFDFD;
    font-family: 'Inter';
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .admin-login-form .btn-signin {
        padding: 8px 16px;
        font-size: 16px;
        height: 40px;
        line-height: 24px;
    }
}

.admin-login-form .btn-signin:hover {
    background: #C9331F;
}

.admin-login-form .btn-signin:focus,
.admin-login-form .btn-signin:focus-visible,
.admin-login-form .btn-signin:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.admin-login-form .invalid-feedback {
    color: #C7003B;
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

.admin-login-form .has-error .form-control {
    border-color: #C7003B;
}

/* Auth error pop-up (login & reset password) */
.auth-error-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 24px;
}

.auth-error-popup {
    background: #FDFDFD;
    border-radius: 16px;
    padding: 24px;
    max-width: 499px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.auth-error-popup__icon {
    flex-shrink: 0;
    border-radius: 50%;
    background: #FFF1EF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 16px;
}

.auth-error-popup__icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.auth-error-popup__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #140001;
    margin: 0 0 8px 0;
    text-align: center;
    text-transform: none
}

.auth-error-popup__message {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6B6C6D;
    margin: 0 0 24px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .auth-error-popup__message {
        font-size: 14px;
        margin: 0 0 16px 0;
    }
}

.auth-error-popup__btn {
    width: 100%;
    max-width: 451px;
    height: 50px;
    padding: 12px 24px;
    background: #C9331F;
    border: none;
    border-radius: 20px;
    color: #FDFDFD;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
    .auth-error-popup__btn {
        padding: 8px 16px;
        border-radius: 20px;
    }
}

.auth-error-popup__btn:hover {
    background: #C9331F;
}

@media (max-width: 768px) {
    .admin-login-container {
        flex-direction: column;
    }

    .admin-login-left {
        padding-top: 24px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 0px !important;
        min-height: auto;
    }

    .admin-login-logo {
        margin-bottom: 20px;
    }

    .admin-login-right {
        padding-top: 0px !important;
        padding-left: 16px !important;
        padding-bottom: 0px !important;
        padding-right: 16px !important;
    }

    .admin-login-card h2 {
        white-space: wrap;
        font-size: 20px;
        margin-bottom: 4px;
    }

    .admin-login-card .login-instructions {
        white-space: wrap;
        margin-bottom: 4px;
    }

    .admin-login-card {
        padding: 32px;
    }
}