/* ============================================
   NOTIFICATION SYSTEM - MODERN DESIGN
   ============================================ */

/* Notification Container */
.notification_container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    min-width: 320px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    padding: 1rem 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #333;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Color borders for notification types */
.notification_container.notification-info {
    border-left: 4px solid #7c3aed;
}

.notification_container.notification-success {
    border-left: 4px solid #10b981;
}

.notification_container.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification_container.notification-alert {
    border-left: 4px solid #dc3545;
}

/* Animation states */
.notification_container.show {
    transform: translateX(-50%) translateY(20px);
    opacity: 1;
}

.notification_container.hide {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
}

/* Message content */
.notification_message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification_message .message-text {
    flex: 1;
    line-height: 1.5;
}

/* Close button */
.close_notification {
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.close_notification:hover {
    color: #333;
}

/* Overlay for modal notifications (errors) */
.notification_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    backdrop-filter: blur(2px);
}

/* Modal notification (for errors) */
.notification_container.notification-modal {
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
}

.notification_container.notification-modal.show {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Confirm Modal */
.confirm_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm_modal {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    max-width: 500px;
    padding: 0;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirm_modal_body {
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.confirm_modal_footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .notification_container {
        min-width: 280px;
        max-width: calc(100% - 40px);
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }

    .confirm_modal {
        min-width: 300px;
        max-width: calc(100% - 40px);
    }

    .confirm_modal_body {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .confirm_modal_footer {
        padding: 0.75rem 1.5rem 1.5rem;
    }
}
