/* Kinetic Monolith — Custom styles not expressible in Tailwind utilities */

/* Material Symbols config */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Scrollbar hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Glass navigation surfaces */
.glass-nav {
    background: rgba(19, 19, 19, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Signature kinetic gradient (Primary → Primary-Container, 135deg) */
.kinetic-gradient {
    background: linear-gradient(135deg, #f3ffca 0%, #cafd00 100%);
}

/* Primary glow shadow for CTAs */
.glow-primary {
    box-shadow: 0 10px 30px rgba(202, 253, 0, 0.25);
}

/* Ambient lime glow for floating elements */
.glow-ambient {
    box-shadow: 0 0 20px rgba(202, 253, 0, 0.15);
}

/* Progress bar active glow */
.progress-glow {
    box-shadow: 0 0 12px rgba(202, 253, 0, 0.4);
}

/* Animate pulse for live indicators */
@keyframes pulse-lime {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse-lime {
    animation: pulse-lime 2s ease-in-out infinite;
}

/* Chart.js canvas sizing */
.chart-container {
    position: relative;
    width: 100%;
    height: 250px;
}

/* Safe area padding for bottom nav */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pb-safe {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Flash message auto-dismiss animation */
.flash-msg {
    animation: flash-fade 4s ease-in-out forwards;
}

@keyframes flash-fade {
    0%, 80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Stepper touch target */
.stepper-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* PR badge shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.pr-shimmer {
    background: linear-gradient(90deg, #cafd00 25%, #f3ffca 50%, #cafd00 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Rest timer glow when rest is complete */
@keyframes rest-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(202, 253, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(202, 253, 0, 0.5); }
}
.rest-complete {
    animation: rest-glow 2s ease-in-out infinite;
}
.rest-complete .rest-progress-bar {
    box-shadow: 0 0 8px rgba(202, 253, 0, 0.6);
}
