/* Lumium Health Toast Notification Styles - Kiosk Premium Minimalist */

/* Mac System Font Stack */
:root {
    --toast-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
}

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

.health-toast {
    background: rgba(28, 28, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 180px;
    max-width: 230px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22),
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset;
    pointer-events: all;
    transform: translateX(-260px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    font-family: var(--toast-font);
}

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

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

.health-toast-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.health-toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.health-toast-content {
    flex: 1;
    min-width: 0;
}

.health-toast-title {
    font-weight: 600;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1px;
    font-family: var(--toast-font);
    letter-spacing: -0.01em;
}

.health-toast-message {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
    font-family: var(--toast-font);
    letter-spacing: -0.01em;
}

.health-toast-close {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.15s ease;
    border-radius: 5px;
    flex-shrink: 0;
    font-size: 10px;
}

.health-toast-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

/* Countdown specific styles */
.health-toast-countdown {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.05);
}

.health-toast-timer {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.health-toast-timer-number {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--toast-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    min-width: 28px;
}

.health-toast-timer-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: lowercase;
    letter-spacing: 0.02em;
    font-family: var(--toast-font);
    font-weight: 500;
}

.health-toast-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
    overflow: hidden;
    margin-top: 5px;
}

.health-toast-progress-bar {
    height: 100%;
    background: #34c759;
    border-radius: 1px;
    transition: width 0.3s linear;
}

/* Eye strain specific (indigo theme) */
.health-toast.eye-strain .health-toast-progress-bar {
    background: #5e5ce6;
}

.health-toast.eye-strain .health-toast-icon {
    color: #a5a4f3;
}

/* Posture specific (amber theme) */
.health-toast.posture .health-toast-progress-bar {
    background: #ff9f0a;
}

.health-toast.posture .health-toast-icon {
    color: #ffd60a;
}

/* Hydration specific (cyan theme) */
.health-toast.hydration .health-toast-progress-bar {
    background: #5ac8fa;
}

.health-toast.hydration .health-toast-icon {
    color: #64d2ff;
}

/* Subtle accent indicators - REMOVED for minimalism */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .health-toast {
        transition: opacity 0.2s ease;
    }

    .health-toast.show {
        transform: none;
    }
}