body { font-family: 'Inter', sans-serif; }
[x-cloak] { display: none !important; }

        @keyframes pulse-ring {
            0%   { transform: scale(1);   opacity: 0.8; }
            70%  { transform: scale(1.4); opacity: 0;   }
            100% { transform: scale(1.4); opacity: 0;   }
        }
        @keyframes shimmer {
            0%   { background-position: -200% center; }
            100% { background-position:  200% center; }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0);    }
        }

        .animate-fade-in-up { animation: fadeInUp 0.5s ease both; }

        .shimmer-text {
            background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6, #818cf8);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 4s linear infinite;
        }

        .pulse-dot::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: currentColor;
            animation: pulse-ring 1.5s ease-out infinite;
        }

        .tab-active {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #fff !important;
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
        }
        .tab-btn { transition: all 0.2s ease; }
        .tab-btn:not(.tab-active):hover { background: rgba(99,102,241,0.1); color: #818cf8; }

        .cal-day { min-height: 8rem; }
        .drug-card { scroll-margin-top: 16px; }

        .tutorial-focus {
            position: relative;
            z-index: 80 !important;
            scroll-margin-top: 1.5rem;
            border-radius: 1rem;
            outline: 3px solid #818cf8;
            outline-offset: 8px;
            box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.18), 0 20px 60px rgba(0, 0, 0, 0.55);
        }

        ::-webkit-scrollbar        { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track  { background: #0f172a; }
        ::-webkit-scrollbar-thumb  { background: #6366f1; border-radius: 3px; }
