/* ========================================
   Payment Page Styles
   ======================================== */

/* Hero Subtitle */
.page-hero .hero-subtitle-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-sm);
    letter-spacing: 0.05em;
}

/* Payment Main */
.payment-main {
    background-color: var(--color-cream);
}

/* Custom Payment Section */
.custom-payment {
    padding: var(--spacing-xl) 0;
}

.custom-payment-box {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    max-width: 550px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

/* Stripe Badge */
.stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #e0e0e0;
}

.powered-by {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.stripe-logo {
    height: 32px;
    width: auto;
}

/* Section Header */
.custom-payment-box .section-header {
    margin-bottom: var(--spacing-lg);
}

.custom-payment-box .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.custom-payment-box .section-description {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Form Wrapper */
.custom-amount-wrapper {
    margin-bottom: var(--spacing-lg);
}

/* Form Group */
.custom-amount-wrapper .form-group {
    margin-bottom: var(--spacing-md);
}

.custom-amount-wrapper .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.custom-amount-wrapper .form-group input,
.custom-amount-wrapper .form-group select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    background-color: var(--color-light);
    transition: var(--transition-fast);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.custom-amount-wrapper .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4a4a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.custom-amount-wrapper .form-group input:focus,
.custom-amount-wrapper .form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-white);
}

/* Required asterisk */
.required {
    color: #c0392b;
}

/* Amount Input Group */
.amount-input-group {
    margin-bottom: var(--spacing-md);
}

.amount-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    background-color: var(--color-light);
    transition: var(--transition-fast);
}

.amount-input-wrapper:focus-within {
    border-color: var(--color-secondary);
    background-color: var(--color-white);
}

.currency-symbol {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-light);
    padding: 0 0 0 1rem;
}

.amount-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 1rem;
    outline: none;
    color: var(--color-primary);
    min-width: 0;
}

.amount-input-wrapper input::placeholder {
    color: #ccc;
}

.currency-code {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 0 1rem 0 0;
}

/* Preset Amounts */
.preset-amounts {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.preset-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-right: var(--spacing-xs);
}

.preset-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    background-color: var(--color-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.preset-btn:hover {
    border-color: var(--color-secondary);
    background-color: var(--color-cream);
}

.preset-btn.active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* Currency Options */
.currency-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.currency-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--color-white);
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.currency-card:hover {
    border-color: var(--color-secondary);
    background-color: #faf9f7;
    transform: translateX(4px);
}

.currency-card:hover .currency-arrow {
    transform: translateX(4px);
    color: var(--color-secondary);
}

.currency-flag {
    width: 48px;
    height: 32px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.currency-flag svg {
    width: 100%;
    height: 100%;
}

.currency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.currency-card .currency-code {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.currency-card .currency-name {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.currency-arrow {
    width: 24px;
    height: 24px;
    color: #ccc;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.currency-arrow svg {
    width: 100%;
    height: 100%;
}

/* Payment Note */
.payment-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* Accepted Cards */
.accepted-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid #eee;
}

.card-icon {
    height: 28px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.card-icon:hover {
    opacity: 1;
}

/* Questions Section */
.questions-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4a6572 100%);
    color: var(--color-white);
    text-align: center;
}

.questions-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.questions-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.questions-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-payment-box {
        padding: var(--spacing-lg) var(--spacing-md);
        margin: 0 var(--spacing-sm);
    }

    .currency-card {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .currency-flag {
        width: 40px;
        height: 27px;
    }

    .questions-actions {
        flex-direction: column;
        align-items: center;
    }

    .questions-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .custom-payment-box {
        padding: var(--spacing-md);
    }

    .stripe-badge {
        flex-direction: column;
        gap: 0.25rem;
    }

    .custom-payment-box .section-title {
        font-size: 1.5rem;
    }

    .currency-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .currency-card .currency-code {
        font-size: 1rem;
    }

    .currency-card .currency-name {
        font-size: 0.8rem;
    }
}
