@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

.wtv-login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.wtv-login-popup-container {
    background: #fff;
    padding: 30px 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
}

.wtv-login-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.wtv-login-popup-close:hover {
    color: #333;
}

.wtv-login-popup-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}

/* Tab Styles */
.wtv-login-popup-tabs {
    display: none;
}

.wtv-tab-link {
    display: none;
}
/* End Tab Styles */

.wtv-login-popup-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.wtv-login-popup-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wtv-login-popup-btn:hover {
    background-color: #005bbd;
}

/* Google Login Button Styles - ACCESSIBILITY FIX v2 */
.wtv-google-login-btn {
    background-color: #1A73E8; /* FIX: Aur gehra neela rang behtar contrast ke liye */
    color: white;
}

.wtv-google-login-btn:hover {
    background-color: #1765cc; /* Hover ke liye thora aur gehra */
}

.wtv-google-icon {
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    display: inline-block;
    vertical-align: middle;
}

.wtv-google-icon path {
    fill: #4285F4;
}
/* End Google Button Styles */


.wtv-popup-divider {
    margin: 25px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    line-height: 0.1em;
}

.wtv-popup-divider span {
    background: #fff;
    padding: 0 10px;
    color: #767676; /* FIX: Gehra grey rang behtar contrast ke liye */
    font-weight: 700;
}

.wtv-popup-message {
    margin-top: 15px;
    font-weight: 700;
    display: none;
}

.wtv-popup-message.success {
    color: #28a745;
}

.wtv-popup-message.error {
    color: #dc3545;
}

.wtv-login-spinner {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: none;
    margin: 20px auto 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#wtv-otp-view {
    display: none;
}

.wtv-remember-me {
    text-align: left;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.wtv-remember-me input {
    margin-right: 8px;
}

/* New toggle button styles */
.wtv-toggle-flow {
    margin-top: 20px;
    font-size: 14px;
}

.wtv-toggle-flow span {
    color: #0073e6;
    font-weight: 700;
    cursor: pointer;
}

.wtv-toggle-flow span:hover {
    text-decoration: underline;
}

/* NEW: Name fields styling */
.wtv-name-fields {
    display: flex;
    gap: 10px;
    width: 100%;
}

.wtv-name-fields .wtv-login-popup-input {
    flex: 1;
    margin-bottom: 0; /* Margin will be on the container now */
}

#wtv-name-field-container {
    margin-bottom: 15px; /* Add margin below the name fields */
}

/* NEW: OTP Note Styling */
.wtv-otp-note {
    font-size: 13px;
    color: #555;
    margin-top: 12px;
    margin-bottom: 0;
}

