/* Phone Verification Pro - Frontend Styles */
.pv-pro-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pv-pro-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pv-pro-popup-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pv-pro-popup-overlay.active .pv-pro-popup-container {
    transform: translateY(0);
}

.pv-pro-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.pv-pro-popup-close:hover {
    color: #333;
}

.pv-pro-popup-content {
    text-align: center;
}

.pv-pro-popup-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

.pv-pro-popup-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.pv-pro-verification-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pv-pro-form-group {
    text-align: left;
}

.pv-pro-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.pv-pro-form-group input,
.pv-pro-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.pv-pro-form-group input:focus,
.pv-pro-form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.pv-pro-button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pv-pro-button.pv-pro-primary {
    background-color: #3498db;
    color: white;
}

.pv-pro-button.pv-pro-primary:hover {
    background-color: #2980b9;
}

.pv-pro-button.pv-pro-success {
    background-color: #2ecc71;
    color: white;
}

.pv-pro-button.pv-pro-success:hover {
    background-color: #27ae60;
}

.pv-pro-button.pv-pro-secondary {
    background-color: #f39c12;
    color: white;
}

.pv-pro-button.pv-pro-secondary:hover {
    background-color: #e67e22;
}

.pv-pro-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    min-height: 20px;
}

.pv-pro-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pv-pro-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pv-pro-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Animation for popup */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pv-pro-popup-container {
    animation: fadeIn 0.3s ease forwards;
}

/* WooCommerce integration styles */
.pv-pro-woocommerce-verification {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.pv-pro-woocommerce-verification h3 {
    margin-top: 0;
    color: #2c3e50;
}

.pv-pro-verification-form {
    margin-top: 15px;
}

.pv-pro-checkout-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

/* Account page styles */
.pv-pro-account-verification {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.pv-pro-account-verification h3 {
    margin-top: 0;
    color: #2c3e50;
}

.pv-pro-account-verification p {
    margin-bottom: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .pv-pro-popup-container {
        width: 95%;
        padding: 20px;
    }

    .pv-pro-popup-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .pv-pro-popup-container {
        width: 98%;
        padding: 15px;
    }

    .pv-pro-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}
