﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
}

.main-wrapper-auth {
    width: 100%;
    min-height: 100vh;
}

/* BACKGROUND */
.login-section {
    width: 100%;
    min-height: 100vh;
    background: url('../img/login-background.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
}

    .login-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.22);
        z-index: 0;
    }

/* CARD */
.login-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 36px 32px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 10;
}

/* LOGO ROW */
.form-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

    .form-logo img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        display: block;
        flex-shrink: 0;
    }

    .form-logo .logo-text {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        display: inline-block;
        line-height: 1;
    }

/* HEADING */
.form-title {
    margin-bottom: 24px;
}

    .form-title h4 {
        font-size: 26px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 6px;
        line-height: 1.2;
    }

        .form-title h4 span {
            color: #8C2AC4;
            font-weight: 700;
        }

    .form-title p {
        font-size: 13px;
        color: #555;
        font-weight: 400;
        line-height: 1.4;
    }

/* FIELD LABEL */
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 7px;
}

/* INPUT WRAPPER */
.input {
    position: relative;
    margin-bottom: 16px;
}

    .input input {
        width: 100%;
        padding: 11px 40px 11px 14px;
        border-radius: 10px;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        color: #333;
        outline: none;
        background: #fff;
        transition: border-color 0.2s;
        font-family: 'Poppins', sans-serif;
    }

        .input input:focus {
            border-color: #8C2AC4;
            box-shadow: 0 0 0 3px rgba(140, 42, 196, 0.08);
        }

        .input input::placeholder {
            color: #c0c0c0;
            font-size: 12.5px;
        }

/* Eye icon */
.eye-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    display: flex;
    align-items: center;
}

    .eye-icon:hover {
        color: #8C2AC4;
    }

/* OPTIONS ROW */
.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 2px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #333;
    cursor: pointer;
}

    .remember-me input[type="checkbox"] {
        width: 14px;
        height: 14px;
        accent-color: #8C2AC4;
        cursor: pointer;
        flex-shrink: 0;
    }

.forgot-password a {
    color: #8C2AC4;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
}

    .forgot-password a:hover {
        text-decoration: underline;
    }

/* BUTTON */
.custom-btn {
    width: 100%;
    padding: 13px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(90deg, #9333C8 0%, #B55EE0 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.1s;
    display: block;
    font-family: 'Poppins', sans-serif;
}

    .custom-btn:hover {
        opacity: 0.92;
        transform: translateY(-1px);
    }

    .custom-btn:active {
        transform: translateY(0);
    }

/* TERMS - outside card */
.form-line {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .login-form {
        padding: 30px 22px 26px 22px;
        border-radius: 16px;
    }

    .form-title h4 {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .login-form {
        padding: 24px 16px 20px 16px;
    }

    .form-title h4 {
        font-size: 20px;
    }

    .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}




/* OTP WRAPPER */
.otp-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* CARD */
.otp-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

    .logo img {
        width: 25px;
    }

/* TITLE */
.otp-card h3 {
    font-weight: 600;
}

    .otp-card h3 span {
        color: #8C2AC4;
    }

/* SUBTEXT */
.sub-text {
    font-size: 13px;
    color: gray;
    margin-bottom: 15px;
}

/* EMAIL BOX */
.email-box {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* OTP INPUT */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.otp-box {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* RESEND */
.resend {
    font-size: 12px;
    color: gray;
}

    .resend span {
        color: #8C2AC4;
        font-weight: 500;
    }

/* BUTTON */
.login-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(90deg,#8C2AC4,#A94BDB);
    color: white;
}
.login-section::after {
    pointer-events: none; /* 🔥 THIS FIXES INPUT BLOCK */
}
.login-form,
.otp-card {
    position: relative;
    z-index: 10;
}