/* [نافذة الإعدادات] - تنسيقات نافذة اختيار اللغة والعملة */
/* [لماذا هنا] - ملف منفصل لنافذة الإعدادات (Modal) لسهولة الصيانة وعدم تداخلها مع باقي الموقع */

/* Backdrop & Blur */
.modal-backdrop {
    z-index: 1040 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0,0,0,0.6);
}

.modal {
    z-index: 1050 !important;
    font-family: 'Cairo', sans-serif;
}

/* Modal Content */
.modal-content {
    transition: all 0.3s ease;
}

/* Custom Select Styling */
.custom-modal-select {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border: 1px solid #444444 !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    text-align: center;
    text-align-last: center;
}

/* Remove Arrow */
.no-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}

.custom-modal-select:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
    outline: none;
}

/* Close Button - Matches Card Color Style */
.btn-close-custom {
    background-color: #2d2d2d !important;
    border: 1px solid #444444 !important;
    color: #aaaaaa !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.btn-close-custom:hover {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    color: white !important;
    transform: scale(1.1);
}

/* Save Button (Gold) */
.btn-modal-primary {
    background: linear-gradient(135deg, #d4af37, #b4932a) !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-modal-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #b4932a, #9e8225) !important;
}

.btn-modal-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.spinner-border-sm {
    margin-left: 8px;
}
