/* Custom Login Popup Style */

/* Overlay */
.login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}
input#verification_code::placeholder {
    color: #a4a2a2;
}
/* Login Modal */
.login-popup-modal {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 900px;
    max-width: 95%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Left sidebar */
.login-popup-sidebar {
    background-color: rgb(225 216 27);
    width: 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.login-popup-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(225 216 27);
    z-index: 1;
}

.login-popup-sidebar .login-popup-logo,
.login-popup-sidebar h2,
.login-popup-sidebar p {
    position: relative;
    z-index: 2;
}

.login-popup-logo {
    margin-bottom: 30px;
}

.login-popup-logo img {
    max-width: 150px;
    height: auto;
}

.login-popup-sidebar h2 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.login-popup-sidebar p {
    font-size: 16px;
    opacity: 0.9;
}

/* Right side - Form container */
.login-popup-form-container {
    width: 60%;
    padding: 40px;
    position: relative;
}

/* Close button */
.login-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    padding: 0;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    color: #333;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

.login-popup-close:hover {
    background-color: #e0e0e0;
}

/* Form styling */
.login-popup-form-wrapper {
    padding: 20px 0;
}

.login-popup-form-wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.login-popup-description {
    font-size: 16px;
    color: #666;
    padding: 0;
    margin-bottom: 30px;
}

#login-popup-message {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

#login-popup-message.error {
    background-color: #fff2f2;
    color: #d63638;
    border: 1px solid #ffcaca;
    display: block;
}

#login-popup-message.success {
    background-color: #f0f8e6;
    color: #2e7d32;
    border: 1px solid #dcedc8;
    display: block;
}

.login-popup-form-row {
    margin-bottom: 20px;
}

.login-popup-form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.login-popup-form-row input[type="text"], .login-popup-form-row input[type="password"], .login-popup-form-row input[type="email"], .login-popup-form-row input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.login-popup-form-row input[type="text"]:focus,
.login-popup-form-row input[type="password"]:focus, 
.login-popup-form-row input[type="email"]:focus,
.login-popup-form-row input[type="tel"]:focus {
    border-color: #eeee22;
    outline: none;
    box-shadow: 0 0 0 1px #eeee22;
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

.login-popup-button {
    width: 100%;
    padding: 14px;
    background-color: #eeee22;
    color: #4a4a4a;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-popup-button:hover {
    background-color: #eeee22;
    color: #4a4a4a;
}

.login-popup-links {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.login-popup-links a {
    color: #4a4a4a;
    text-decoration: none;
}

.login-popup-links a:hover {
    text-decoration: underline;
}

.login-popup-links .separator {
    margin: 0 8px;
    color: #ddd;
}

/* Trigger button */
.login-popup-trigger-button {
    padding: 10px 20px;
    background-color: #eeee22;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-popup-trigger-button:hover {
    background-color: #135e96;
}

/* Loader */
.login-popup-loader {
    width: 40px;
    height: 40px;
    margin: 40px auto;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #eeee22;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .login-popup-sidebar {
        display: none;
    }
    .login-popup-modal {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .login-popup-sidebar,
    .login-popup-form-container {
        width: auto;
    }
    
    .login-popup-sidebar {
        padding: 30px;
        text-align: center;
    }
    
    .login-popup-form-container {
        padding: 30px 20px;
    }
}













/**
 * Add these CSS styles to your custom-login-popup.css file
 */

/* OTP Verification Form Styles */
.otp-inputs-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#verification_code {
    font-size: 20px;
    letter-spacing: 8px;
    text-align: center;
    font-weight: 600;
    padding: 12px 15px;
}

.resend-otp {
    cursor: pointer;
    color: #2271b1;
}

/* Message Styles */
#login-popup-message.success {
    background-color: #f0f8e6;
    color: #2e7d32;
    border: 1px solid #dcedc8;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

#login-popup-message.error {
    background-color: #fff2f2;
    color: #d63638;
    border: 1px solid #ffcaca;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Counter for resend OTP */
.countdown-timer {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    color: #777;
}



.login-popup-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animation for OTP verification success */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#login-popup-message.success {
    animation: successPulse 0.5s ease-in-out;
}

.phone-format-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.phone-error-message {
    display: block;
    font-size: 12px;
    color: #d63638;
    margin-top: 5px;
}