/* Style dla Powiadomień Toast - Ququrydza UI */

.toast-kontener {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid transparent;
    min-width: 280px;
    max-width: 420px;
    pointer-events: all;
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

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

/* Kolory typów */
.toast-sukces      { border-color: #22c55e; }
.toast-blad        { border-color: #ef4444; }
.toast-ostrzezenie { border-color: #f59e0b; }
.toast-info        { border-color: #3b82f6; }

/* Ikony */
.toast-ikona { font-size: 1.2rem; flex-shrink: 0; }

.toast-sukces      .toast-ikona { color: #22c55e; }
.toast-blad        .toast-ikona { color: #ef4444; }
.toast-ostrzezenie .toast-ikona { color: #f59e0b; }
.toast-info        .toast-ikona { color: #3b82f6; }

/* Treść */
.toast-tresc {
    flex: 1;
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.45;
}

/* Przycisk zamknięcia */
.toast-zamknij {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-zamknij:hover { color: #475569; }

/* Responsywność */
@media (max-width: 480px) {
    .toast-kontener {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

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