/* Unified Checkout Modal CSS */
#ra-checkout-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#ra-checkout-modal-overlay.ra-modal-active {
    display: flex;
    opacity: 1;
}

#ra-checkout-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#ra-checkout-modal-overlay.ra-modal-active #ra-checkout-modal {
    transform: translateY(0);
}

.ra-modal-header {
    background: #068285;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.ra-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.ra-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.ra-modal-close:hover {
    color: #fff;
}

.ra-modal-body {
    padding: 30px;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.ra-modal-text {
    font-size: 16px;
    color: #475569;
    margin-bottom: 25px;
}

.ra-payment-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}

.ra-payment-btn-paypal {
    background: #ffc439;
    color: #003087;
}

.ra-payment-btn-paypal:hover {
    background: #f4bb33;
}

.ra-payment-btn-zelle {
    background: #7417ea;
    color: #ffffff;
}

.ra-payment-btn-zelle:hover {
    background: #6b14d8;
}

#ra-paypal-button-container {
    margin-top: 15px;
    display: none;
    min-height: 150px;
}

#ra-zelle-container {
    display: none;
    text-align: left;
}

.ra-modal-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #068285;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ra-spin 1s linear infinite;
    margin: 0 auto;
}

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