/**
 * VRA Stripe Payment Form Styles
 */

.vra-payment-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.vra-payment-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 20px;
}

.vra-payment-card h2 {
    color: #004777;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
}

.vra-payment-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-row input:focus {
    outline: none;
    border-color: #004777;
    box-shadow: 0 0 0 3px rgba(0, 71, 119, 0.1);
}

.form-row input:readonly {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.amount-input {
    position: relative;
    display: block;
}

.currency-symbol {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}

.amount-input input {
    padding-left: 32px !important;
}

.vra-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.vra-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vra-btn-primary {
    background-color: #004777;
    color: #ffffff;
}

.vra-btn-primary:hover:not(:disabled) {
    background-color: #003558;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 71, 119, 0.3);
}

.vra-btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    margin-bottom: 20px;
}

.vra-btn-secondary:hover:not(:disabled) {
    background-color: #e0e0e0;
}

.verification-success {
    background-color: #f0f9f4;
    border: 2px solid #4caf50;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.verification-success h3 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.verification-success p {
    margin: 8px 0;
    color: #333;
}

.payment-section {
    margin-bottom: 30px;
}

.payment-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

#payment-element {
    margin-bottom: 20px;
}

#payment-errors {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 15px;
    color: #c33;
    display: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    background-color: #f0f9f4;
    border: 2px solid #4caf50;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
}

.success-message h3 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}

.success-message p {
    color: #333;
    font-size: 16px;
    margin: 10px 0;
}

.success-message strong {
    color: #004777;
}

.vra-payment-security {
    background-color: #f9f9f9;
    border-left: 4px solid #004777;
    padding: 15px 20px;
    border-radius: 4px;
}

.vra-payment-security p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.vra-payment-security strong {
    color: #004777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vra-payment-card {
        padding: 24px;
    }
    
    .vra-payment-card h2 {
        font-size: 24px;
    }
    
    .vra-payment-description {
        font-size: 14px;
    }
}