/* ==========================================
   MICKEY LIVE - FORGOT PASSWORD
   ========================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 35, 35, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255, 35, 35, 0.08),
            transparent 35%
        ),
        #050507;

    color: #ffffff;
}


/* ==========================================
   MAIN CONTAINER
   ========================================== */

.auth-container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: stretch;

    background: #050507;
}


/* ==========================================
   LEFT IMAGE
   ========================================== */

.auth-image {
    width: 50%;
    min-height: 100vh;

    position: relative;

    overflow: hidden;

    background: #080808;
}

.auth-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.35)
        );

    pointer-events: none;
}

.auth-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* ==========================================
   RIGHT FORM AREA
   ========================================== */

.auth-form {
    width: 50%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 60px 9%;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 25, 25, 0.08),
            transparent 35%
        ),
        #08080b;
}


/* ==========================================
   MOBILE LOGO
   ========================================== */

.mobile-logo {
    display: none;
}


/* ==========================================
   TITLE
   ========================================== */

.auth-form h1 {
    margin: 0 0 10px;

    font-size: 36px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.7px;

    color: #ffffff;
}


/* ==========================================
   SUBTITLE
   ========================================== */

.subtitle {
    margin: 0 0 30px;

    color: #85858f;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================
   FORM
   ========================================== */

#forgotForm {
    width: 100%;

    max-width: 500px;
}


/* ==========================================
   INPUT BOX
   ========================================== */

.input-box {
    width: 100%;
    height: 56px;

    display: flex;
    align-items: center;

    margin-bottom: 16px;

    background: #15151d;

    border: 1px solid #2a2a35;

    border-radius: 11px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.input-box:hover {
    border-color: #3b3b48;
}

.input-box:focus-within {
    border-color: #ff3030;

    background: #181820;

    box-shadow:
        0 0 0 3px rgba(255, 48, 48, 0.10);
}


/* ==========================================
   INPUT ICON
   ========================================== */

.input-box span {
    width: 52px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #9b9ba5;

    font-size: 17px;
}


/* ==========================================
   INPUT
   ========================================== */

.input-box input {
    width: 100%;
    height: 100%;

    padding: 0 16px 0 0;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 14px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

.input-box input::placeholder {
    color: #686873;
}

.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:hover,
.input-box input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* ==========================================
   BUTTON
   ========================================== */

.login-btn {
    width: 100%;
    max-width: 500px;

    height: 56px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #ff3b3b,
            #ff2020
        );

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.4px;

    cursor: pointer;

    box-shadow:
        0 10px 28px rgba(255, 35, 35, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 34px rgba(255, 35, 35, 0.30);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* ==========================================
   MESSAGE
   ========================================== */

#message {
    width: 100%;
    max-width: 500px;

    margin-top: 20px;

    text-align: center;

    color: #ff4b4b;

    font-size: 13px;

    line-height: 1.6;

    min-height: 20px;
}

#message.error {
    color: #ff4b4b;
}

#message.loading {
    color: #aaaaaa;
}

#message.success {
    color: #ffffff;
}


/* ==========================================
   SUCCESS MESSAGE
   ========================================== */

.success-message {
    padding: 10px 5px;

    text-align: center;
}

.success-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: rgba(60, 210, 120, 0.10);

    border: 1px solid rgba(60, 210, 120, 0.35);

    color: #49d987;

    font-size: 25px;

    font-weight: 800;
}

.success-message h2 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 22px;

    font-weight: 700;
}

.success-message p {
    margin-top: 8px;

    color: #96969f;

    font-size: 12px;

    line-height: 1.7;
}

.success-message strong {
    color: #ffffff;
}


/* ==========================================
   REGISTER / LOGIN TEXT
   ========================================== */

.register-text {
    margin-top: 18px;

    color: #777781;

    font-size: 12px;

    line-height: 1.6;
}

.register-text a {
    color: #ff3939;

    text-decoration: none;

    font-weight: 700;

    margin-left: 3px;
}

.register-text a:hover {
    text-decoration: underline;
}


/* ==========================================
   BACK HOME
   ========================================== */

.back-home {
    display: inline-block;

    margin-top: 28px;

    color: #777781;

    font-size: 12px;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.back-home:hover {
    color: #ff3939;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {

    .auth-image {
        width: 42%;
    }

    .auth-form {
        width: 58%;

        padding:
            50px 6%;
    }

    .auth-form h1 {
        font-size: 32px;
    }
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 700px) {

    .auth-container {
        min-height: 100vh;

        display: block;

        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(255, 30, 30, 0.12),
                transparent 35%
            ),
            #070709;
    }


    /* Hide desktop image */

    .auth-image {
        display: none;
    }


    /* Form */

    .auth-form {
        width: 100%;
        min-height: 100vh;

        padding:
            30px 20px 35px;

        justify-content: center;

        background: transparent;
    }


    /* Mobile logo */

    .mobile-logo {
        display: block;

        width: 100px;
        height: 100px;

        object-fit: cover;

        object-position: center;

        border-radius: 18px;

        margin: 0 auto 25px;

        border: 1px solid rgba(255, 45, 45, 0.30);

        box-shadow:
            0 10px 35px rgba(0, 0, 0, 0.45);
    }


    .auth-form h1 {
        text-align: center;

        font-size: 29px;

        margin-bottom: 8px;
    }


    .subtitle {
        text-align: center;

        font-size: 13px;

        margin-bottom: 25px;
    }


    #forgotForm {
        max-width: none;
    }


    .login-btn {
        max-width: none;
    }


    #message {
        max-width: none;
    }


    .register-text {
        text-align: center;
    }


    .back-home {
        display: block;

        text-align: center;

        margin-top: 24px;
    }
}


/* ==========================================
   SMALL MOBILE
   ========================================== */

@media (max-width: 380px) {

    .auth-form {
        padding:
            25px 15px 30px;
    }

    .mobile-logo {
        width: 85px;
        height: 85px;

        margin-bottom: 20px;
    }

    .auth-form h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 12px;
    }

    .input-box {
        height: 52px;
    }

    .login-btn {
        height: 52px;
    }
}

/* ==========================================
   PASSWORD RESET OTP MODAL
   ========================================== */

.otp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.otp-modal-card {
    width: 100%;
    max-width: 460px;

    padding: 32px 30px;

    position: relative;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 40, 40, 0.09),
            transparent 42%
        ),
        #101014;

    border: 1px solid #2b2b35;
    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.65);

    animation:
        otpModalIn 0.25s ease;
}


@keyframes otpModalIn {

    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================
   CLOSE BUTTON
   ========================================== */

.otp-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #2c2c35;
    border-radius: 9px;

    background: #18181e;
    color: #9999a3;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.otp-close:hover {
    background: #202027;
    border-color: #44444e;
    color: #ffffff;
}


/* ==========================================
   OTP ICON
   ========================================== */

.otp-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 16px;

    background:
        rgba(255, 48, 48, 0.10);

    border: 1px solid
        rgba(255, 48, 48, 0.25);

    font-size: 26px;
}


/* ==========================================
   MODAL TITLE
   ========================================== */

.otp-modal-card h2 {
    margin: 0;

    text-align: center;

    color: #ffffff;

    font-size: 24px;
    line-height: 1.3;

    font-weight: 800;

    letter-spacing: -0.3px;
}


/* ==========================================
   SUBTITLE
   ========================================== */

.otp-subtitle {
    margin: 10px 0 4px;

    text-align: center;

    color: #85858f;

    font-size: 13px;
    line-height: 1.6;
}


.otp-email {
    display: block;

    max-width: 100%;

    margin-bottom: 25px;

    text-align: center;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    overflow-wrap: anywhere;
}


/* ==========================================
   FORM SECTION
   ========================================== */

.otp-form-section {
    width: 100%;
}


.otp-form-section label {
    display: block;

    margin-bottom: 8px;

    color: #b8b8c2;

    font-size: 12px;

    font-weight: 700;
}


/* ==========================================
   OTP / PASSWORD INPUT
   ========================================== */

.otp-input {
    width: 100%;
    height: 52px;

    display: block;

    padding: 0 15px;

    border: 1px solid #2d2d38;
    border-radius: 10px;

    outline: none;

    background: #16161d;
    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.otp-input::placeholder {
    color: #666672;
}


.otp-input:focus {
    border-color: #ff3030;

    background: #1a1a22;

    box-shadow:
        0 0 0 3px
        rgba(255, 48, 48, 0.10);
}


/* OTP specific */

#resetOtpInput {
    text-align: center;

    font-size: 22px;

    font-weight: 800;

    letter-spacing: 7px;
}


/* ==========================================
   OTP MESSAGE
   ========================================== */

.otp-message {
    min-height: 20px;

    margin-top: 8px;

    color: #ff4b4b;

    font-size: 12px;

    line-height: 1.5;

    text-align: center;
}


/* ==========================================
   RESET PASSWORD BUTTON
   ========================================== */

.otp-verify-btn {
    width: 100%;
    height: 52px;

    margin-top: 22px;

    border: none;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #ff3b3b,
            #ff2020
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.5px;

    cursor: pointer;

    box-shadow:
        0 9px 25px
        rgba(255, 35, 35, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.otp-verify-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 13px 30px
        rgba(255, 35, 35, 0.28);
}


.otp-verify-btn:active {
    transform: translateY(0);
}


.otp-verify-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* ==========================================
   RESEND BUTTON
   ========================================== */

.otp-resend-btn {
    width: 100%;
    height: 45px;

    margin-top: 10px;

    border: 1px solid #2c2c36;
    border-radius: 10px;

    background: transparent;

    color: #9d9da7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.otp-resend-btn:hover {
    background: #18181f;

    border-color: #41414c;

    color: #ffffff;
}


.otp-resend-btn:disabled {
    opacity: 0.45;

    cursor: not-allowed;
}


/* ==========================================
   MOBILE OTP MODAL
   ========================================== */

@media (max-width: 500px) {

    .otp-modal-overlay {
        padding: 15px;
    }


    .otp-modal-card {
        max-width: 100%;

        padding: 28px 20px;

        border-radius: 16px;
    }


    .otp-modal-card h2 {
        font-size: 21px;
    }


    .otp-subtitle {
        font-size: 12px;
    }


    .otp-email {
        font-size: 12px;

        margin-bottom: 22px;
    }


    .otp-input {
        height: 50px;
    }


    #resetOtpInput {
        font-size: 20px;

        letter-spacing: 6px;
    }


    .otp-verify-btn {
        height: 50px;
    }

}


/* ==========================================
   VERY SMALL MOBILE
   ========================================== */

@media (max-width: 380px) {

    .otp-modal-card {
        padding: 25px 16px;
    }


    .otp-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 15px;

        font-size: 23px;
    }


    .otp-modal-card h2 {
        font-size: 20px;
    }


    #resetOtpInput {
        letter-spacing: 5px;
    }

}