/**
 * Modal Notification System Styles
 * Modal dialogs for notifications and confirmations
 */

/* ===================================
   MODAL NOTIFICATION OVERLAY
   =================================== */

.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.notification-modal-show {
    opacity: 1;
}

.notification-modal-show .notification-modal {
    transform: scale(1);
    opacity: 1;
}

/* ===================================
   CONFIRMATION MODAL
   =================================== */

.notification-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.2s;
}

/* Modal header */
.notification-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.notification-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #adb5bd;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}

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

/* Modal body */
.notification-modal-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.notification-modal-body p {
    margin: 0;
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
}

/* Modal footer */
.notification-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.notification-modal-footer button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.notification-modal-footer .btn-cancel {
    background: #f1f3f5;
    color: #495057;
}

.notification-modal-footer .btn-cancel:hover {
    background: #e9ecef;
}

.notification-modal-footer .btn-confirm {
    background: #228be6;
    color: white;
}

.notification-modal-footer .btn-confirm:hover {
    background: #1c7ed6;
}

/* ===================================
   DARK MODE - MODAL
   =================================== */

body.dark-mode .notification-modal {
    background: #2c2e33;
}

body.dark-mode .notification-modal-header {
    border-bottom-color: #373a40;
}

body.dark-mode .notification-modal-header h3 {
    color: #e9ecef;
}

body.dark-mode .notification-modal-close {
    color: #909296;
}

body.dark-mode .notification-modal-close:hover {
    color: #e9ecef;
}

body.dark-mode .notification-modal-body p {
    color: #c1c2c5;
}

body.dark-mode .notification-modal-footer {
    border-top-color: #373a40;
}

body.dark-mode .notification-modal-footer .btn-cancel {
    background: #373a40;
    color: #c1c2c5;
}

body.dark-mode .notification-modal-footer .btn-cancel:hover {
    background: #4a4e57;
}
