/* Modern Login Form Styles */
.woocommerce #customer_login {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Input Fields */
.woocommerce #customer_login input[type="email"],
.woocommerce #customer_login input[type="text"],
.woocommerce #customer_login input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
    margin-bottom: 15px;
}

.woocommerce #customer_login input[type="email"]:focus,
.woocommerce #customer_login input[type="text"]:focus,
.woocommerce #customer_login input[type="password"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
    background-color: #fff;
}

/* Labels */
.woocommerce #customer_login label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

/* Form Selector Buttons */
.form-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.form-selector-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f3f4f6;
    color: #6b7280;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.form-selector-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-selector-btn:hover::before {
    width: 200%;
    height: 200%;
}

.form-selector-btn.active {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 
                0 2px 4px -1px rgba(37, 99, 235, 0.06);
}

.form-selector-btn:not(.active) {
    background-color: white;
    border: 2px solid #e5e7eb;
}

.form-selector-btn:hover:not(.active) {
    background-color: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.form-selector-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* OTP Input */
#otp_code {
    letter-spacing: 4px;
    font-size: 18px;
    text-align: center;
}

/* Resend OTP Link */
.resend-otp a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resend-otp a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Submit Button */
.woocommerce #customer_login .button {
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    margin-top: 10px;
}

.woocommerce #customer_login .button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

/* Error Messages */
.woocommerce-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #b91c1c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Success Messages */
.woocommerce-message {
    background-color: #dcfce7;
    border: 1px solid #22c55e;
    color: #15803d;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Logo Container */
.woocommerce #customer_login .logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce #customer_login .logo-container img {
    max-height: 200px;
    width: auto;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce #customer_login {
        padding: 20px;
        margin: 0 15px;
    }
    
    .form-selector-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}
