/**
 * Pay Allsmilz Page Styles
 * 
 * @package MakinfanzTheme
 * @version 1.0.0
 */

/* Pay Allsmilz Page Specific Styles */
.pay-allsmilz-page {
    background: var(--slate-900, #0f172a);
    color: var(--slate-300, #cbd5e1);
}

/* Hero Section */
.pay-hero-section {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.pay-hero-section .hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.2);
    color: var(--brand-blue, #00d4ff);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Payment Options Grid */
.payment-options-section {
    padding: 80px 0;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-option-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700, #334155);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.payment-option-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue, #00d4ff);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.payment-option-card.featured {
    border-color: var(--brand-orange, #ff6b35);
    background: rgba(255, 107, 53, 0.1);
}

.payment-option-card.featured:hover {
    border-color: var(--brand-orange, #ff6b35);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-blue, #00d4ff) 0%, var(--brand-orange, #ff6b35) 100%);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.payment-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.payment-icon.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.payment-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.payment-option-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-option-card p {
    color: var(--slate-400, #94a3b8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.payment-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.payment-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--slate-300, #cbd5e1);
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-blue, #00d4ff);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Payment Form Section */
.payment-form-section {
    padding: 80px 0;
    background: rgba(30, 41, 59, 0.5);
}

.payment-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.payment-form-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--slate-700, #334155);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    border-bottom: 1px solid var(--slate-700, #334155);
    padding-bottom: 2rem;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: var(--brand-blue, #00d4ff);
}

/* Service Options */
.service-options {
    display: grid;
    gap: 1rem;
}

.service-option {
    display: block;
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.service-option-content {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--slate-700, #334155);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-option input[type="radio"]:checked + .service-option-content {
    border-color: var(--brand-blue, #00d4ff);
    background: rgba(0, 212, 255, 0.1);
}

.service-option-content h4 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-option-content p {
    color: var(--slate-400, #94a3b8);
    margin-bottom: 0.75rem;
}

.service-price {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--brand-blue, #00d4ff) 0%, var(--brand-orange, #ff6b35) 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    color: var(--slate-300, #cbd5e1);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-field input,
.form-field select {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--slate-600, #475569);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--brand-blue, #00d4ff);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-field input::placeholder {
    color: var(--slate-500, #64748b);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    display: block;
    cursor: pointer;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--slate-700, #334155);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.payment-method input[type="radio"]:checked + .payment-method-content {
    border-color: var(--brand-blue, #00d4ff);
    background: rgba(0, 212, 255, 0.1);
}

.payment-method-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: var(--brand-blue, #00d4ff);
}

.payment-method-content span {
    color: var(--slate-300, #cbd5e1);
    font-weight: 500;
}

/* Card Details */
.card-details {
    margin-top: 1.5rem;
}

/* Order Summary */
.order-summary {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 2rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item.total {
    border-top: 1px solid var(--slate-700, #334155);
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.summary-label {
    color: var(--slate-400, #94a3b8);
}

.summary-value {
    color: #ffffff;
    font-weight: 500;
}

/* Checkbox Field */
.checkbox-field {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: var(--slate-300, #cbd5e1);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--slate-600, #475569);
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--brand-blue, #00d4ff);
    border-color: var(--brand-blue, #00d4ff);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-link {
    color: var(--brand-blue, #00d4ff);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    min-width: 250px;
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.security-badge {
    display: flex;
    align-items: center;
    color: var(--slate-400, #94a3b8);
    font-size: 0.875rem;
}

.security-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: var(--brand-blue, #00d4ff);
}

/* Support Section */
.support-section {
    padding: 60px 0;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .support-options {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pay-hero-section {
        padding: 60px 0 40px;
    }
    
    .payment-options-section,
    .payment-form-section {
        padding: 60px 0;
    }
    
    .payment-form-wrapper {
        padding: 1.5rem;
    }
    
    .service-price {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    .service-option-content {
        padding: 1rem;
    }
}

/* Loading States */
.payment-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.payment-form.loading .btn-primary::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Field Validation */
.form-field.error input,
.form-field.error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

