/* ============================================
   TOAST NOTIFICATIONS STYLES
   ============================================ */

#toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 400px;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    pointer-events: all;
    border-left: 4px solid currentColor;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Types */
.toast-success {
    border-left-color: #27ae60;
    color: #27ae60;
}

.toast-success .toast-icon {
    color: #27ae60;
}

.toast-error {
    border-left-color: #e74c3c;
    color: #e74c3c;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-warning {
    border-left-color: #f39c12;
    color: #f39c12;
}

.toast-warning .toast-icon {
    color: #f39c12;
}

.toast-info {
    border-left-color: #3498db;
    color: #3498db;
}

.toast-info .toast-icon {
    color: #3498db;
}

/* Elements */
.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #2c3e50;
}

/* Mobile */
@media (max-width: 640px) {
    #toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast-item {
        padding: 12px 14px;
        font-size: 13px;
    }
}
