/* إعدادات عامة */
* {
    /*font-family: Tajawal, sans-serif !important;*/
    letter-spacing: 0 !important;
}

/* المودال */
.csp-modal {
    display: none; /* تأكد من أن المودال مغلق افتراضيًا */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* عند فتح المودال */
.csp-modal.active {
    display: flex; /* يتم تفعيله فقط عند الحاجة */
}

/* محتوى المودال */
.csp-modal-content {
    background: #E5D6C1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #3d5e63;
    position: relative;
}

/* زر الإغلاق */
.csp-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #3d5e63;
}

/* أزرار الدولة والعملات */
.csp-country-btn, .csp-currency-btn {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background: #3d5e63;
    border: 1px solid #1d3235;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.csp-country-btn:hover, .csp-currency-btn:hover {
    background: #1d3235;
}

/* زر تبديل الدولة */
#csp-switch-btn {
    background: #1d3235;
    border: solid 1px #E5D6C1;
    color: white;
    padding: 5px 10px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

#csp-switch-btn:hover {
    background: #E5D6C1;
    color: #000;
}

form#csp-country-form button{
    
    font-family: 'Tajawal'!important;

    
}
.csp-shipping-zone{
    
    color:white;
}


form#csp-country-form {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

/* تحسين التخطيط للأجهزة الكبيرة */
@media only screen and (min-width: 600px) {
    .csp-modal-content {
        max-width: 400px;
    }
}
