/* REGISTRATION FORM STYLES */

.hero-form {
    flex: 0 0 34%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    padding: 20px;
}

.registration-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-sizing: border-box;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   REGISTER / LOGIN TABS
========================================================= */

.form-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-button {
    border: none;
    outline: none;
    background: #f5f5f5;
    color: #AAAAAA;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 26px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-button.active {
    background: #004740;
    color: #ffffff;
    font-weight: 600;
}

/* =========================================================
   FORM ELEMENTS & FIELDS
========================================================= */

.registration-form {
    width: 100%;
}

.login-form {
    display: none;
}

.login-options {
    text-align: center;
    margin-top: 20px;
}

.login-options a {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    text-decoration: underline;
}

/* Individual Form Field Container */
.form-field {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    height: 46px;
    padding: 0 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field:focus-within {
    border-color: #004740;
    box-shadow: 0 0 0 3px rgba(0, 71, 64, 0.08);
}

.form-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #333333;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.form-field input::placeholder {
    color: #CCCCCC;
    font-weight: 400;
}

/* Icon inside field */
.field-icon {
    width: 15px;
    height: 15px;
    margin-right: 12px;
    flex-shrink: 0;
    object-fit: contain;
}

/* =========================================================
   ROW LAYOUT (2 COLUMNS)
========================================================= */

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.form-row .form-field {
    margin-bottom: 0;
}

/* =========================================================
   CUSTOM SELECT DROPDOWNS
========================================================= */

.select-field {
    flex: 1;
    position: relative;
    padding: 0 12px;
    cursor: pointer;
}

.select-field select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #CCCCCC;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 18px;
}

.select-field select:valid {
    color: #333333;
}

.select-icon {
    position: absolute;
    right: 14px;
    width: 10px;
    height: 6px;
    pointer-events: none;
}

/* =========================================================
   VERIFICATION ROW (EMAIL / MOBILE)
========================================================= */

.verification-wrapper {
    width: 100%;
    margin-bottom: 12px;
}

.verification-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.verification-row .email-field,
.verification-row .phone-field {
    flex: 1;
}

.verification-row .otp-box {
    flex: 0 0 92px;
}

.verification-row .form-field {
    margin-bottom: 0;
}

/* OTP BOX */
.otp-box {
    display: flex;
}

.otp-box input {
    text-align: center;
    letter-spacing: 2px;
    width: 100%;
}

/* SEND OTP BUTTON */
.send-otp {
    height: 46px;
    padding: 0 16px;
    background: #CFEBE9;
    color: #004740;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

.send-otp:hover {
    background: #BDE7E1;
}

.send-otp:active {
    transform: scale(0.95);
}

/* VERIFY BUTTON */
.verify-btn {
    height: 46px;
    padding: 0 16px;
    background: #004740;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

.verify-btn:hover {
    background: #003630;
}

.verify-btn:active {
    transform: scale(0.95);
}

/* OTP INFO */
.otp-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 2px 0;
    font-size: 11px;
}

.otp-message {
    color: #92979b;
}

/* RESEND */
.resend-wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
}

.resend-btn {
    border: 0;
    padding: 0;
    background: transparent;
    color: #004740;
    font-family: 'Poppins', sans-serif;
    text-decoration: underline;
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
}

.resend-btn:disabled {
    color: #aaaaaa;
    cursor: default;
}

.timer {
    color: #999999;
    font-size: 11px;
}


/* =========================================================
   PASSWORD FIELD & EYE TOGGLE
========================================================= */

.password-field {
    position: relative;
    padding-right: 10px;
}

.eye-toggle-button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}

.eye-icon {
    width: 18px;
    height: 12px;
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.eye-toggle-button:hover .eye-icon {
    opacity: 1;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-button {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 48px;
    margin-top: 20px;
    border: none;
    border-radius: 10px;
    background: #004740;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-button:hover {
    background: #003630;
}

.submit-button:active {
    transform: scale(0.99);
}

.submit-arrow {
    width: 18px;
    height: 14px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.submit-button:hover .submit-arrow {
    transform: translateX(3px);
}


/* =========================================================
   COURSE BADGES
========================================================= */

.course-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap:wrap;
}

.course-badge {
    color: #212121;
    border: 1px solid #E4E4E4;
    padding: 4px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 800px) {
    .course-badges {
        justify-content: center;
    }
}


/* Form Media Query */

@media (max-width: 1024px) {
    .hero-form {
        flex-basis: 50%;
    }
}


@media (max-width: 1000px) {
    .hero-form {
        flex-basis: 50%;
    }
}

@media (max-width: 800px) {
    .hero-form {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-form {
        margin-top: 20px;
        order: 2;
    }
}

@media (max-width: 450px) {
    .verification-row .otp-box {
        flex: 0 0 80px;
    }

    .verification-row .send-otp {
        padding: 0 10px;
    }
}