* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.container {
    display: flex;
    width: 90%;
    max-width: 900px;
    height: auto;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.left-panel,
.right-panel {
    width: 50%;
    padding: 30px;
}

.left-panel {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.left-panel h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.left-panel p {
    color: #888;
    margin-bottom: 30px;
}

.left-panel a {
    color: #7b5aff;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
}

.left-panel .register {
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
}

.input-box {
    width: 100%;
    max-width: 350px;
    margin-bottom: 15px;
}

.input-box input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f5f3ff;
    margin-bottom: 2px;
}


.input-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.login-btn {
    background: linear-gradient(90deg, #7b5aff, #5a40f3);
    color: white;
    border: none;
    padding: 8px;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 5px 10px rgba(123, 90, 255, 0.3);
}

.right-panel {
    background: linear-gradient(135deg, #7b5aff, #5a40f3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.right-panel .message {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}

.right-panel .user-img {
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
}

.right-panel h5 {
    font-weight: 200;
    line-height: 1.5;
    margin-top: 10px;
    font-style: italic;
}

.mobile-input {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.mobile-input input {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 12px;
}

.send-otp-btn {
    padding: 12px 15px;
    border: none;
    background: #7b5aff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.otp-input-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.otp-field {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/* Resend OTP Section */
.resend-container {
    text-align: center;
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
}

/* Info Text */
.resend-text {
    font-size: 12px;
    color: #555;
    font-weight: 200;
    margin: 8px;
}

/* Resend OTP Button */
.resend-otp-btn {
    background: #ddd;
    color: #777;
    border: none;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: not-allowed;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Active Resend Button */
.resend-otp-btn.active {
    background: #7b5aff;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(123, 90, 255, 0.3);
}

/* Resend Options (SMS & Call) */
.resend-options {
    font-size: 13px;
    color: #7b5aff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Individual Resend Options */
.resend-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resend-option i {
    font-size: 12px;
}

/* Divider */
.divider {
    color: #aaa;
}

/* Hover Effect */
.resend-option:hover {
    text-decoration: underline;
    color: #5a40f3;
}

.iti__selected-flag {
    font-size: 12px !important;
}

.iti-mobile .iti__country {
    font-size: 12px !important;
}




@media (max-width: 768px) {
    
    .send-otp-btn {
        text-align: center;
    }

    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 20px;
    }

    .right-panel {
        padding: 40px 20px;
    }
}

@media (max-width: 468px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .send-otp-btn {
        width: 100%;
        padding: 6px 15px;
        font-size: 12px;
    }

    .iti {
        width: 100% !important; /* Override intl-tel-input's width */
    }
    
    .iti input {
        width: 100% !important; /* Force input field to take full width */
        flex: 1; /* Ensures input expands fully */
        padding: 10px;
        /* font-size: 14px; */
    }

    .mobile-input input {
        width: 100%;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .input-box input{
        padding: 8px;
    }

    .mobile-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-family: Arial, sans-serif;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 12px;
    }

    .right-panel {
        padding: 40px 20px;
    }

    /* Resend Options (SMS & Call) */
.resend-options {
    font-size: 12px;
    gap: 8px;
}

.left-panel h2 {
    font-size: 18px;
    margin: 0;
}

.left-panel p {
    margin-bottom: 25px;
    font-size: 12px;
}

.left-panel, .right-panel {
    margin-top: 16px;
}

}