/**
 * Minimal Toast Notifications
 * Clean Mac-style design - Subtle and readable
 */

.toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    max-width: 200px;
    min-width: 120px;
}

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

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

.toast-icon {
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    flex: 1;
    letter-spacing: -0.01em;
}

/* Type-specific colors - Subtle variations */
.toast-success {
    background: rgba(16, 185, 129, 0.9);
}

.toast-error {
    background: rgba(239, 68, 68, 0.9);
}

.toast-warning {
    background: rgba(245, 158, 11, 0.9);
}

.toast-info {
    background: rgba(59, 130, 246, 0.9);
}

/* Mobile responsive - keep compact for kiosk */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        left: 10px;
    }

    .toast {
        max-width: 180px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .toast {
        background: rgba(30, 30, 30, 0.95);
    }
}