/* =====================================
   LOGIN PAGE
======================================*/

.first-section {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(123, 0, 0, .98) 0%, rgba(123, 0, 0, .92) 20%, rgba(123, 0, 0, .82) 35%, rgba(123, 0, 0, .65) 50%, rgba(123, 0, 0, .35) 70%, rgba(123, 0, 0, .05) 100%),
        url("../images/login-bg.jpg") center center/cover no-repeat;
}

.first-section .container {
    max-width: 1100px;
}

.form-div {
    background: var(--white);
    padding: 20px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.login-title h3 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    text-shadow: 1px 0px 1px var(--overlay-4);
}

.login-title p {
    margin: 0;
}

.form-group {
    position: relative;
    margin-bottom: 12px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group select,
.form-group .select2-container .select2-selection--single {
    width: 100%;
    height: 50px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 0 15px;
    font-size: 15px;
    transition: .3s;
    background: var(--white);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 0, 0, .12);
}

/* ===================================
   SEELCT2
=================================== */
/* Align selected text vertically */
.form-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 0;
    color: var(--text);
}

/* Align dropdown arrow */
.form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

/* Remove default border */
.form-group .select2-container--default .select2-selection--single {
    border: 1px solid var(--primary);
}

/* Focus */
.form-group .select2-container--default.select2-container--focus .select2-selection--single,
.form-group .select2-container--open .select2-selection--single {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 0, 0, .12);
}

/* Make Select2 width responsive */
.form-group .select2-container {
    width: 100% !important;
}

.toggle-password {
    position: absolute;
    right: 25px;
    top: 18px;
    color: #999;
    cursor: pointer;
}

.biz-btn {
    min-width: 140px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

.biz-btn1 {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
}

.biz-btn1:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.back-button {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    text-decoration: none;
}

.back-button:hover {
    background: var(--primary-dark);
    color: var(--white);
}

button:disabled {
    background-color: #454242;
    color: var(--black);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    border: none;
}

.form-checkbox {
    margin-bottom: 5px !important;
}

.form-checkbox small {
    display: block;
    line-height: 1.6;
}

.form-checkbox label {
    margin-left: 6px;
    font-size: 15px;
    color: var(--text);
}

.form-checkbox a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.separator {
    text-align: center;
    margin: 10px 0;
    position: relative;
    color: var(--text);
}

.separator:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--text);
}

.separator:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--text);
}

.sign-up {
    margin-top: 10px;
    text-align: center;
}

.sign-up a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* ==========================
   PREMIUM CHECKBOX
========================== */

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    box-sizing: border-box;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -2px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}



.form-checkbox input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

/*=========================================
            SIGNUP PAGE
=========================================*/

.signup-section {
    min-height: 80dvh;
    align-items: center;
}

.signup-card {
    background: var(--white);
    overflow: hidden;
    display: flex;
}

/*=========================================
            LEFT PANEL
=========================================*/

.signup-left {
    width: 38%;
    border-right: 1px solid var(--border);
    padding: 10px 30px 0 30px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.signup-logo img {
    width: 180px;
    margin-bottom: 30px;
}

.signup-left h2 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.signup-left h2 span {
    color: #b20c0c;
}

.signup-left h4 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.signup-left p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.signup-couple {
    width: 100%;
    margin-top: auto;
}

/*=========================================
            RIGHT PANEL
=========================================*/

.signup-right {
    width: 62%;
    margin: 0% 2% !important;
    padding: 115px 70px 50px 70px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background-image: url("../images/ornament.png");
    background-position: 0 -1%;
    background-repeat: no-repeat;
    background-size: 100%; 
}

/*=========================================
            RADIO BUTTONS
=========================================*/

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 5px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    padding: 7px 14px;
    border: 2px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
    font-weight: 500;
    margin: 0;
    background: #fff;
    font-size: 13px;
}

.radio-group input[type="radio"]:checked+label {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

/*=========================================
            VALIDATION
=========================================*/

.error {
    color: #d60000;
    font-size: 13px;
    margin-top: 5px;
}

/*=========================
        OTP PAGE
=========================*/

.otp-card {
    max-width: 520px;
    margin: auto;
    border-radius: 14px;
    text-align: center;
}

.otp-logo {
    width: 170px;
}

.otp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 15px 0 15px;
}

.otp-steps .line {
    width: 90px;
    height: 2px;
    background: #ddd;
    margin-top: 18px;
}

.otp-steps .line.active {
    background: #2fb34d;
}

.otp-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
}

.otp-steps .step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #777;
    font-weight: 700;
}

.otp-steps .step small {
    margin-top: 8px;
    font-weight: 600;
    color: #777;
}

.otp-steps .completed span {
    background: #28a745;
    color: #fff;
}

.otp-steps .active span {
    background: var(--primary);
    color: #fff;
}

.otp-steps .active small {
    color: var(--primary);
}

.otp-box {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 10px 20px;
}

.otp-box h3 {
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
}

.otp-box p {
    margin-bottom: 5px;
}

.otp-box h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* OTP INPUT */

.otp-input-group {
    position: relative;
}

#otp {
    text-align: center;
    letter-spacing: 18px;
    font-size: 24px !important;
    font-weight: 700;
    padding-left: 20px !important;
}

#otp::placeholder {
    letter-spacing: 2px;
    font-size: 16px;
}



.otp-timer {
    margin-top: 10px;
    text-align: center;
}

#timerDiv {
    color: #777;
    font-size: 15px;
}

#timer {
    color: #d80000;
    font-weight: 700;
}

#resendOtp {
    display: none;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

#resendOtp:hover {
    text-decoration: underline;
}

.otp-btn {
    width: 100%;
    margin-top: 15px;
    height: 54px;
    font-size: 18px;
    border-radius: 8px;
}

.otp-back {
    display: block;
    margin-top: 18px;
    text-decoration: none;
    color: #666;
}

.otp-back:hover {
    color: var(--primary);
}

/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:991px) {

    .signup-card {
        flex-direction: column;
    }

    .signup-left,
    .signup-right {
        width: 97%;
    }

    .signup-left {
        display: none;
    }

    .signup-left h2 {
        font-size: 34px;
    }

    .signup-left h4 {
        font-size: 22px;
    }

    .signup-left p {
        font-size: 16px;
    }

    .signup-couple {
        max-width: 260px;
        margin-top: 30px;
    }

    .signup-right {
        padding: 80px 20px;
        margin:1% 2% !important;
    }

}

@media(max-width:767px) {
    .form-div {
        padding: 30px 20px;
    }

    .otp-box {
        padding: 25px 18px;
    }

    .otp-box h3 {
        font-size: 24px;
    }

    .otp-box h4 {
        font-size: 22px;
    }

    #otp {
        letter-spacing: 12px;
        font-size: 28px !important;
    }

    .otp-steps .line {
        width: 45px;
    }
}

@media(max-width:576px) {

    .radio-group {
        gap: 8px;
    }

    .radio-group label {
        max-width: 130px;
        width: auto;
        text-align: center;
    }

    .biz-btn {
        width: 100%;
    }

}