/**
 * PayPal Checkout Button Styling
 */

#paypal-button-container,
#venmo-button-container {
    margin: 0px 0;
    min-height: 60px;
    display: flex; 
    position: relative;
    z-index: 1; 
    justify-content: center;
    align-items: center;
}

/* PayPal Button Container */
#paypal-button-container > div,
#venmo-button-container > div {
    width: 100%;
    max-width: 500px; 
}

/* Loading State */
#paypal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #0070ba;
    font-weight: 600;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 13px;
    margin: 10px 0;
}

#paypal-loader i {
    animation: spin 1s linear infinite;
}

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

/* Payment Method Icons */
.paypal-badge {
    display: inline-block;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 13px;
    margin: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.paypal-badge.venmo {
    color: #3d95ce;
}

.paypal-badge.paypal {
    color: #0070ba;
}

.paypal-badge.card {
    color: #ff5000;
}

/* Alternative Payment Options */
.alternative-payment-methods {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.alternative-payment-methods p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Payment Method Tabs */
.payment-method-tabs {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-method-tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.payment-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.payment-btn-cell {
    flex: 1;
    min-width: 0;
}

.payment-btn-cell.is-hidden {
    display: none;
}  
#paypal-button-container,
#venmo-button-container {
    width: 100%;
}


.payment-method-tab:hover {
    border-color: #0070ba;
    color: #0070ba;
}

.payment-method-tab.active {
    background: #0070ba;
    color: white;
    border-color: #0070ba;
}
.paypal-button.paypal-button-shape-rect {
    --btn-radius: 13px !important;
    border-radius: 13px !important;
}
/* Error Alert */
.paypal-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px;
    border-radius: 13px;
    margin: 10px 0;
    display: none;
}

.paypal-error.show {
    display: block;
}




/* Success Alert */
.paypal-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    border-radius: 13px;
    margin: 10px 0;
    display: none;
}

.paypal-success.show {
    display: block;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    margin: 15px 0;
}

.security-badge i {
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) { 
    .payment-buttons-row {
        flex-direction: column;
    }  
    
    .payment-method-tabs {
        flex-direction: column;
    }

    .payment-buttons-row {
        gap: 0px;
    }

    
    .payment-method-tab {
        width: 100%;
    }
}
