/* ============================================ */
/* TOAST NOTIFICATIONS WITH SVG ICONS */
/* ============================================ */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    max-width: 380px;
    width: 100%;
}

.toast {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform-origin: right;
}

.toast.success {
    border-left-color: #2e7d32;
}

.toast.success .toast-icon svg {
    stroke: #4caf50;
}

.toast.error {
    border-left-color: #c62828;
}

.toast.error .toast-icon svg {
    stroke: #ef5350;
}

.toast.warning {
    border-left-color: #f9a825;
}

.toast.warning .toast-icon svg {
    stroke: #ffb300;
}

.toast.info {
    border-left-color: #1565c0;
}

.toast.info .toast-icon svg {
    stroke: #42a5f5;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    fill: none;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    margin-bottom: 0.15rem;
}

.toast-message {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    line-height: var(--lh-tight);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.toast-close:hover {
    color: #ffffff;
}

.toast.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .toast {
        padding: 0.75rem 1rem;
    }
    
    .toast-icon svg {
        width: 20px;
        height: 20px;
    }
}