/*
 * Utility Styles
 *
 * This file contains utility classes and helper styles including:
 * - Toast notifications
 * - Confirmation dialogs (styles only)
 * - Status badge colors
 * - Responsive helpers
 * - Animation keyframes
 */

/* Toast Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
}

.toast-visible {
    opacity: 1;
    transform: translateX(0);
}

.toast i:first-child {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.toast-success {
    border-left-color: var(--success);
}

.toast-success i:first-child {
    color: var(--success);
}

.toast-error {
    border-left-color: var(--danger);
}

.toast-error i:first-child {
    color: var(--danger);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-warning i:first-child {
    color: var(--warning);
}

.toast-info {
    border-left-color: var(--primary);
}

.toast-info i:first-child {
    color: var(--primary);
}

/* Responsive Notifications */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: 0;
        max-width: 100%;
    }
}
