/* ================================================
   TOAST NOTIFICATIONS — HOUSE OF RIDE
   ================================================ */

#toast-container {
    position: fixed;
    bottom: 28px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

#toast-container:empty {
    display: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    pointer-events: all;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.toast.toast-hide {
    opacity: 0;
    transform: translateX(40px);
}

.toast span {
    flex: 1;
    line-height: 1.4;
}

.toast i:first-child {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

/* Variantes */
.toast-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
}

.toast-success i:first-child {
    color: #22c55e;
}

.toast-error {
    background: #fff1f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
}

.toast-error i:first-child {
    color: #ef4444;
}

.toast-info {
    background: #f0fafb;
    border: 1.5px solid #67e8f9;
    color: #0e7490;
}

.toast-info i:first-child {
    color: #147a83;
}

.toast-warning {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    color: #92400e;
}

.toast-warning i:first-child {
    color: #f59e0b;
}

@media (max-width: 480px) {
    #toast-container {
        right: 12px;
        left: 12px;
        bottom: 20px;
    }

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