/* Payment Page Base Styles */
.custom-payment-page {
    min-height: 100vh;
    background: #ffffff;
    padding: 60px 20px;
}

.payment-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Product Summary */
.payment-product-summary {
    text-align: center;
    margin-bottom: 40px;
}

.payment-page-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 30px 0;
}

.product-details-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

.product-details-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.product-price {
    padding: 15px 0;
    text-align: center;
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.price-value-primary {
    font-size: 32px;
    font-weight: 600;
    color: #5CB3C4;
}

.price-converted {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

/* Payment Methods Section */
.payment-methods-section {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 30px 0;
}

.wc-highlight {
    color: #5CB3C4;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    justify-content: center;
}

.payment-tab-btn {
    flex: 1;
    max-width: 200px;
    padding: 14px 20px;
    background: white;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.payment-tab-btn:hover {
    color: #5CB3C4;
}

.payment-tab-btn.active {
    color: #5CB3C4;
    border-bottom: 2px solid #5CB3C4;
}

.payment-tab-btn i {
    font-size: 16px;
}

/* Payment Panels */
.payment-panels {
    position: relative;
}

.payment-panel {
    display: none;
}

.payment-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.payment-content {
    padding: 20px 0;
}

.payment-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 25px 0;
}

/* QR Code */
.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.qr-code-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.qr-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

/* PayPal & Crypto Icons */
.paypal-icon-container,
.crypto-icon-container {
    text-align: center;
    margin-bottom: 25px;
}

.paypal-icon-container i {
    font-size: 60px;
    color: #003087;
}

.crypto-icon-container i {
    font-size: 60px;
    color: #f7931a;
}

/* Copy Field */
.upi-id-section,
.paypal-email-section,
.crypto-address-section {
    margin-bottom: 25px;
}

.payment-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

.copy-field {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.copy-field input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    background: #f9fafb;
    color: #2c3e50;
}

.copy-btn {
    padding: 10px 20px;
    background: #5CB3C4;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #4a9aa9;
}

/* Payment Instructions */
.payment-instructions {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid #e5e7eb;
}

.payment-instructions h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.payment-instructions li {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* WhatsApp Confirmation Section */
.whatsapp-confirmation-section {
    margin-bottom: 20px;
}

.confirmation-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.whatsapp-icon i {
    font-size: 30px;
    color: white;
}

.confirmation-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.confirmation-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: #25D366;
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    color: white;
}

/* Confirmation Form */
.payment-confirmation-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

.payment-confirmation-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 25px 0;
}

.confirmation-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5CB3C4;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #5CB3C4;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #4a9aa9;
}

/* Success Message */
.payment-success-message {
    background: white;
    border-radius: 12px;
    padding: 50px 30px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.success-icon i {
    font-size: 40px;
    color: #155724;
}

.payment-success-message h2 {
    font-size: 26px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.payment-success-message p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #5CB3C4;
    color: white;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #4a9aa9;
    color: white;
}

.no-details {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-payment-page {
        padding: 40px 16px;
    }

    .payment-page-title {
        font-size: 24px;
    }

    .product-details-card {
        padding: 25px 20px;
    }

    .product-details-card h2 {
        font-size: 18px;
    }

    .price-main {
        gap: 5px;
    }

    .price-value-primary {
        font-size: 26px;
    }

    .price-converted {
        font-size: 13px;
    }

    .payment-methods-section {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .payment-tabs {
        gap: 0;
    }

    .payment-tab-btn {
        padding: 12px 15px;
        font-size: 13px;
        max-width: none;
    }

    .payment-content h3 {
        font-size: 16px;
    }

    .qr-code-image,
    .qr-placeholder {
        max-width: 180px;
        width: 100%;
    }

    .qr-placeholder {
        height: 180px;
    }

    .copy-field {
        flex-direction: column;
    }

    .confirmation-card {
        padding: 25px 20px;
    }

    .confirmation-card h3 {
        font-size: 18px;
    }

    .payment-confirmation-form {
        padding: 25px 20px;
    }

    .payment-confirmation-form h3 {
        font-size: 18px;
    }

    .payment-success-message {
        padding: 40px 25px;
    }

    .payment-success-message h2 {
        font-size: 22px;
    }
}