/* Frontend Styles for OTP Plugin */
.uosl-verification-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.uosl-verification-form h3 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.uosl-form-group {
    margin-bottom: 20px;
}

.uosl-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.uosl-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.uosl-form-control:focus {
    outline: none;
    border-color: #6b002a;
    box-shadow: 0 0 0 3px rgba(107, 0, 42, 0.1);
}

.uosl-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #6b002a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.uosl-btn:hover {
    background: #5a0022;
    transform: translateY(-2px);
}

.uosl-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.uosl-btn-secondary {
    background: transparent;
    color: #6b002a;
    border: 2px solid #6b002a;
}

.uosl-btn-secondary:hover {
    background: #6b002a;
    color: white;
}

.uosl-otp-inputs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.uosl-otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.uosl-otp-input:focus {
    border-color: #6b002a;
    box-shadow: 0 0 0 3px rgba(107, 0, 42, 0.1);
    outline: none;
}

.uosl-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 14px;
}

.uosl-message.success {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.uosl-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.uosl-message.warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.uosl-countdown {
    text-align: center;
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.uosl-resend-link {
    text-align: center;
    margin-top: 15px;
}

.uosl-resend-link a {
    color: #6b002a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.uosl-resend-link a:hover {
    text-decoration: underline;
}

.uosl-social-login {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.uosl-social-login p {
    text-align: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.uosl-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uosl-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uosl-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.uosl-social-btn.google {
    border-color: #db4437;
    color: #db4437;
}

.uosl-social-btn.facebook {
    border-color: #4267B2;
    color: #4267B2;
}

.uosl-social-btn .icon {
    font-size: 18px;
}

/* Mobile Verification Required */
.uosl-mobile-required {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.uosl-mobile-modal {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    animation: uoslSlideIn 0.3s ease;
}

@keyframes uoslSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .uosl-verification-form {
        padding: 20px;
    }
    
    .uosl-otp-inputs {
        gap: 5px;
    }
    
    .uosl-otp-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}