/* Error Notification Styles */
.error-notification {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-notification-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.error-notification-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.error-notification-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.error-notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.error-notification-icon {
    flex-shrink: 0;
}

.error-notification-title {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.error-notification-close {
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-notification-close:hover {
    opacity: 1;
}

.error-notification-body {
    padding-left: 2.5rem;
}

.error-notification-message {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.error-notification-details {
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    margin-top: 0.75rem;
    font-family: 'Courier New', monospace;
}

.error-notification-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

/* Toast-style notification (fixed position) */
.error-notification-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    min-width: 300px;
    max-width: 500px;
    z-index: 9999;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .error-notification-toast {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        min-width: auto;
        max-width: none;
    }
}
