/* Lumio Health Toast Notification Styles - Kiosk Compact */

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

.health-toast {
    background: rgba(20, 20, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 200px;
    max-width: 260px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    pointer-events: all;
    transform: translateX(-280px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.health-toast-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 7px;
}

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

.health-toast-title {
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.health-toast-message {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

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

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

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

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

.health-toast-timer-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Orbitron', monospace;
    min-width: 35px;
    text-align: center;
}

.health-toast-timer-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

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

.health-toast-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    border-radius: 2px;
    transition: width 0.3s linear;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

/* Eye strain specific (indigo theme) */
.health-toast.eye-strain {
    border-left: 3px solid #6366f1;
}

.health-toast.eye-strain .health-toast-icon {
    background: rgba(99, 102, 241, 0.2);
}

.health-toast.eye-strain .health-toast-progress-bar {
    background: linear-gradient(90deg, #818cf8 0%, #6366f1 100%);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Posture specific (yellow theme) */
.health-toast.posture {
    border-left: 3px solid #fbbf24;
}

.health-toast.posture .health-toast-icon {
    background: rgba(251, 191, 36, 0.2);
}

/* Hydration specific (cyan theme) */
.health-toast.hydration {
    border-left: 3px solid #06b6d4;
}

.health-toast.hydration .health-toast-icon {
    background: rgba(6, 182, 212, 0.2);
}

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

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