@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8fafc;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 1px;
            background-color: #e2e8f0;
            border: 1px solid #e2e8f0;
        }

        .calendar-day {
            min-height: 120px;
            background-color: white;
            padding: 0.5rem;
            transition: background-color 0.2s;
        }

        .calendar-day:hover {
            background-color: #f1f5f9;
        }

        .event-pill {
            font-size: 0.7rem;
            padding: 4px 6px;
            border-radius: 4px;
            margin-bottom: 4px;
            cursor: pointer;
            display: flex;
            align-items: flex-start;
            gap: 4px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .event-title-container {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            white-space: normal;
            line-height: 1.2;
        }

        .event-pill:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            z-index: 10;
        }

        .modal-overlay {
            background-color: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: all 0.3s ease-in-out;
        }

        /* Smooth button scaling */
        button {
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        button:active {
            transform: scale(0.97);
        }

        /* Mobile Optimization for Calendar */
        @media (max-width: 768px) {
            .calendar-grid {
                display: flex;
                flex-direction: column;
                gap: 8px;
                background-color: transparent;
                border: none;
            }
            .calendar-day {
                border: 1px solid #e2e8f0;
                border-radius: 8px;
                min-height: auto;
                padding: 1rem;
            }
            .calendar-grid > .bg-slate-50.opacity-50 {
                display: none; /* Hide empty days on mobile */
            }
            .calendar-header-days {
                display: none; /* Hide Sun-Sat headers on mobile */
            }
        }

        /* Expertise Colors */
        .expertise-Physics { background-color: #dbeafe; color: #1e40af; border-left: 3px solid #1e40af; }
        .expertise-Biology { background-color: #dcfce7; color: #166534; border-left: 3px solid #166534; }
        .expertise-Chemistry { background-color: #fef9c3; color: #854d0e; border-left: 3px solid #854d0e; }
        .expertise-Mathematics { background-color: #ffedd5; color: #9a3412; border-left: 3px solid #9a3412; }
        .expertise-ComputerScience { background-color: #f3e8ff; color: #6b21a8; border-left: 3px solid #6b21a8; }
        .expertise-ElectricalEngineering { background-color: #e0e7ff; color: #3730a3; border-left: 3px solid #3730a3; }
        .expertise-MechanicalEngineering { background-color: #fee2e2; color: #991b1b; border-left: 3px solid #991b1b; }
        .expertise-MaterialsScience { background-color: #fce7f3; color: #9d174d; border-left: 3px solid #9d174d; }
        .expertise-NobelTalks { background-color: #fef08a; color: #b45309; border-left: 3px solid #b45309; }
        .expertise-BroadInterest { background-color: #f1f5f9; color: #475569; border-left: 3px solid #475569; }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #f1f5f9; }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
