/* SNQ Payment Form Styles */
#snq-payment-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.snq-form-section ::after {
    display: none!important;
}

#snq-payment-form {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.snq-form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.snq-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.snq-form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.snq-form-group {
    margin-bottom: 20px;
}

.snq-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.snq-form-row .snq-form-group {
    flex: 1;
    margin-bottom: 0;
}

.snq-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
    font-size: 14px;
}

.snq-form-group input[type="text"],
.snq-form-group input[type="email"],
.snq-form-group input[type="date"],
.snq-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.snq-form-group input:focus,
.snq-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.snq-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.snq-form-note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    color: #2c3e50;
    margin-bottom: 20px;
    font-style: italic;
}

.snq-policy-text {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    color: #856404;
}

.snq-policy-text p {
    margin: 0;
    line-height: 1.6;
}

.snq-form-submit {
    text-align: center;
    margin-top: 30px;
}

#snq-submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

#snq-submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5d8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

#snq-submit-btn:active {
    transform: translateY(0);
}

#snq-submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#snq-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

#snq-form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

#snq-form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Loading spinner */
.snq-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    #snq-payment-form-container {
        padding: 10px;
    }
    
    #snq-payment-form {
        padding: 20px;
    }
    
    .snq-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .snq-form-row .snq-form-group {
        margin-bottom: 20px;
    }
    
    .snq-form-section h3 {
        font-size: 20px;
    }
    
    #snq-submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* Form validation styles */
.snq-form-group input.error,
.snq-form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.snq-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.snq-error-message.show {
    display: block;
}

/* Required field indicator */
.snq-form-group label::after {
    content: " *";
    color: #e74c3c;
}
