/* Error Handler Notification Styles */

.notification {
    position: fixed;
    z-index: 10000;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    min-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    cursor: pointer;
}

.notification.show {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-message {
    white-space: pre-line;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
}

.notification-close:hover {
    opacity: 1;
}

/* Position classes */
.notification-top-right {
    top: 20px;
    right: 20px;
}

.notification-top-left {
    top: 20px;
    left: 20px;
}

.notification-bottom-right {
    bottom: 20px;
    right: 20px;
}

.notification-bottom-left {
    bottom: 20px;
    left: 20px;
}

.notification-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
}

.notification-bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

/* Type styles */
.notification-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.notification-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}