#migrago-payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#migrago-payment-box {
    background: #ffffff;
    width: 420px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    font-family: Arial, sans-serif;
}

#migrago-payment-methods {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.mg-method {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    background: #f5f6f7;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.mg-method:hover {
    background: #e4e6eb;
}

#migrago-gateway-area {
    margin-top: 15px;
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    min-height: 60px;
}

#migrago-close {
    margin-top: 15px;
    background: #1877f2;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}
/* ================================
   Stripe Responsive Fix
   ================================ */

#migrago-payment-box {
    max-height: 90vh; /* لا يتجاوز الشاشة */
    display: flex;
    flex-direction: column;
}

/* المنطقة القابلة للتمرير */
#migrago-gateway-area {
    overflow-y: auto;
    max-height: 40vh;
}

/* زر التأكيد */
#confirm-pay {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: #635bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

/* موبايل */
@media (max-height: 600px) {
    #migrago-gateway-area {
        max-height: 30vh;
    }
}
