/* Balões de aviso (flash messages) */
.toast {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    max-width: min(90vw, 360px);
    padding: 10px 12px;
    background: #fff;
    color: #1a2420;
    border-radius: 10px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s ease-in-out;
}

.toast.ocultar {
    opacity: 0;
    pointer-events: none;
}

.toast-icon {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    background: #e3efe5;
    color: #2f5d3b;
}

.toast-danger .toast-icon {
    background: #f6dfdc;
    color: #b3261e;
}

.toast-msg {
    flex: 1;
}

.toast-close {
    border: none;
    background: none;
    color: #6b7570;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.toast-bottom {
    top: auto;
    bottom: 14px;
}
