/* Notification Modal Styles */
.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Cairo", sans-serif;
}

.notification-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.notification-modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.notification-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-modal-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.notification-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    padding-right: 40px;
    line-height: 1.4;
}

.notification-modal-body {
    padding: 20px 25px;
}

.notification-modal-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.notification-modal-footer {
    padding: 15px 25px 25px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.notification-modal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: "Cairo", sans-serif;
}

.notification-modal-button-primary {
    background-color: #b88128;
    color: white;
}

.notification-modal-button-primary:hover {
    background-color: #a06f1f;
    color: white;
    text-decoration: none;
}

.notification-modal-button-secondary {
    background-color: #8B4513;
    color: white;
}

.notification-modal-button-secondary:hover {
    background-color: #7A3B0A;
    color: white;
    text-decoration: none;
}

/* RTL Support */
.rtl-modal .notification-modal-close {
    right: auto;
    left: 20px;
}

.rtl-modal .notification-modal-title {
    padding-right: 0;
    padding-left: 40px;
    text-align: right;
}

.rtl-modal .notification-modal-description {
    text-align: right;
}

.rtl-modal .notification-modal-footer {
    justify-content: flex-start;
}

.rtl-modal {
    text-align: right;
}

/* Arabic font support */
.rtl-modal .notification-modal-title,
.rtl-modal .notification-modal-description,
.rtl-modal .notification-modal-button {
    font-family: "Cairo", "Arial", sans-serif;
    font-weight: 400;
}

.rtl-modal .notification-modal-title {
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-modal {
        width: 95%;
        margin: 20px;
    }
    
    .notification-modal-header,
    .notification-modal-body,
    .notification-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .notification-modal-title {
        font-size: 18px;
    }
    
    .notification-modal-description {
        font-size: 15px;
    }
    
    .notification-modal-footer {
        flex-direction: column;
    }
    
    .notification-modal-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .notification-modal {
        width: 98%;
        margin: 10px;
    }
    
    .notification-modal-header,
    .notification-modal-body,
    .notification-modal-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .notification-modal-title {
        font-size: 16px;
    }
    
    .notification-modal-description {
        font-size: 14px;
    }
}
