/* Toast Notification System Styles */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 400px;
}

.toast {
    background: var(--c2);
    border: 1px solid var(--c4);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast.toast-hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast-message {
    flex: 1;
    color: var(--c10);
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--c8);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.toast-close:hover {
    background: var(--c3);
    color: var(--c11);
}

/* Toast types */
.toast-success {
    border-color: #4caf50;
}

.toast-success .toast-icon {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.15);
}

.toast-error {
    border-color: #f44336;
}

.toast-error .toast-icon {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
}

.toast-warning {
    border-color: #ff9800;
}

.toast-warning .toast-icon {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.15);
}

.toast-info {
    border-color: #2196f3;
}

.toast-info .toast-icon {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.15);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }

    .toast {
        transform: translateX(calc(100vw + 20px));
    }

    .toast.toast-show {
        transform: translateX(0);
    }

    .toast.toast-hide {
        transform: translateX(calc(100vw + 20px));
    }
}

