

.btn.loading {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
    position: relative;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* تنسيقات نافذة إذن النوافذ المنبثقة */
#popupPermissionModal .popup {
    max-width: 450px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#popupPermissionModal .modal-title {
    color: #305fbc;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

#popupPermissionModal .modal-content {
    font-size: 1rem;
    line-height: 1.6;
    text-align: right;
}

#popupPermissionModal .btn {
    min-width: 120px;
    font-weight: bold;
}

#popupPermissionModal label {
    cursor: pointer;
    font-weight: normal;
}

#popupPermissionModal input[type="checkbox"] {
    transform: scale(1.2);
    margin-left: 10px;
    vertical-align: middle;
    cursor: pointer;
}
