        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
        body {
            font-family: 'Sarabun', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
            color: #fff;
            line-height: 1.6;
        }
        
        /* Status Banner */
        .status-banner {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            padding: 14px 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 14px;
            cursor: pointer;
            border: 1px solid rgba(148, 163, 184, 0.12);
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        .status-banner:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
        .status-indicator { position: relative; flex-shrink: 0; }
        .status-banner.available .status-indicator { width: 10px; height: 10px; background: #10b981; border-radius: 50%; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
        .status-banner.busy .status-indicator { width: 10px; height: 10px; background: #f59e0b; border-radius: 50%; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15); }
        .status-banner.away .status-indicator { width: 10px; height: 10px; background: #6b7280; border-radius: 50%; box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.15); }
        .status-pulse { position: absolute; inset: -4px; border-radius: 50%; background: rgba(16, 185, 129, 0.4); animation: statusPulse 2s infinite; }
        .status-banner:not(.available) .status-pulse { display: none; }
        @keyframes statusPulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
        .status-content { flex: 1; min-width: 0; }
        .status-label { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 500; }
        .status-text { font-size: 14px; font-weight: 600; color: #f1f5f9; }
        .status-banner.available .status-text { color: #10b981; }
        .status-banner.busy .status-text { color: #f59e0b; }
        .status-banner.away .status-text { color: #94a3b8; }
        .status-meta { text-align: right; }
        .status-detail { font-size: 12px; color: #cbd5e1; }
        .status-toggle-hint { font-size: 10px; color: #64748b; margin-top: 2px; }
        .status-banner.available {
            border-color: #22c55e;
            background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.05));
        }
        .status-banner.busy {
            border-color: #ef4444;
            background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.05));
        }
        .status-icon {
            font-size: 28px;
        }
        .status-text {
            font-size: 18px;
            font-weight: 700;
        }
        .status-banner.available .status-text { color: #22c55e; }
        .status-banner.busy .status-text { color: #ef4444; }
        .status-detail {
            font-size: 13px;
            color: rgba(255,255,255,0.7);
        }
        
        /* Header - Enhanced */
        .header {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            padding: 24px 32px;
            box-shadow: 0 1px 0 rgba(148, 163, 184, 0.1), 0 4px 20px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid rgba(148, 163, 184, 0.08);
        }
        .header::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08), transparent 50%),
                        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.06), transparent 50%);
            pointer-events: none;
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        .header-brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .header-logo {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }
        .header-title h1 {
            font-size: 20px;
            font-weight: 700;
            color: #f1f5f9;
            margin: 0 0 2px 0;
            letter-spacing: -0.3px;
        }
        .header-title p {
            font-size: 12px;
            color: #94a3b8;
            margin: 0;
            font-weight: 400;
        }
        .header-sep { color: #475569; margin: 0 4px; }
        .header-meta {
            text-align: right;
        }
        .header-date {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 500;
        }
        .header-time {
            font-family: ui-monospace, 'SF Mono', 'Consolas', monospace;
            font-size: 18px;
            font-weight: 600;
            color: #6366f1;
            letter-spacing: 1px;
            font-variant-numeric: tabular-nums;
        }
        @media (max-width: 768px) {
            .header { padding: 14px 16px; }
            .header-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
            .header-meta { text-align: left; }
            .header-time { font-size: 16px; }
            .header-title h1 { font-size: 17px; }
            .header-title p { font-size: 11px; }
        }
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 60%);
            animation: headerGlow 8s ease-in-out infinite;
        }
        @keyframes headerGlow {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(5%, 5%); }
        }
        .header h1 { 
            font-size: 32px; 
            margin-bottom: 10px; 
            text-shadow: 0 2px 20px rgba(0,0,0,0.5);
            position: relative;
            z-index: 1;
            color: #93c5fd;
        }
        .header p { 
            font-size: 16px; 
            opacity: 0.9; 
            position: relative; 
            z-index: 1; 
            margin-top: 10px; 
            font-weight: 500;
            color: rgba(255,255,255,0.8);
        }
        
        /* Tabs - Enhanced */
        .tabs {
            display: flex;
            background: linear-gradient(145deg, 
                rgba(30,58,95,0.9) 0%, 
                rgba(15,52,96,0.9) 100%);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(59,130,246,0.3);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .tab {
            flex: 1;
            padding: 18px 16px;
            text-align: center;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            color: rgba(255,255,255,0.6);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-bottom: 3px solid transparent;
            position: relative;
            overflow: hidden;
        }
        .tab::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #6366f1);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        .tab:hover { 
            background: rgba(59,130,246,0.1); 
            color: rgba(255,255,255,0.9);
        }
        .tab:hover::before { transform: scaleX(0.5); }
        .tab.active { 
            color: #93c5fd; 
            border-bottom-color: transparent;
            background: rgba(59,130,246,0.15);
        }
        .tab.active::before { transform: scaleX(1); }
        .tab .tab-icon { 
            display: block;
            font-size: 22px;
            margin-bottom: 5px;
        }
        
        /* Content */
        .content { padding: 30px; max-width: 1400px; margin: 0 auto; }
        .section { display: none; animation: fadeIn 0.3s ease; }
        .section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        /* Calendar Wrapper - Glassmorphism Style */
        .cal-wrapper {
            background: linear-gradient(145deg, 
                rgba(255,255,255,0.15) 0%, 
                rgba(255,255,255,0.08) 50%,
                rgba(255,255,255,0.05) 100%);
            border-radius: 28px;
            padding: 35px 40px;
            margin-bottom: 35px;
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 
                0 25px 80px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
            position: relative;
            overflow: hidden;
        }
        .cal-wrapper::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 30%, rgba(102,126,234,0.08) 0%, transparent 50%);
            pointer-events: none;
        }
        
        /* Calendar Header */
        .cal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }
        .cal-header h3 {
            color: #ffd700;
            font-size: 30px;
            text-shadow: 0 0 30px rgba(255,215,0,0.5), 0 2px 10px rgba(0,0,0,0.3);
            font-weight: 700;
            letter-spacing: 1px;
        }
        .nav-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            color: #fff;
            padding: 14px 28px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5), 0 0 20px rgba(102, 126, 234, 0.3);
            position: relative;
            overflow: hidden;
        }
        .nav-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }
        .nav-btn:hover::before { left: 100%; }
        .nav-btn:hover { 
            transform: scale(1.08);
            box-shadow: 0 10px 35px rgba(102, 126, 234, 0.7), 0 0 40px rgba(102, 126, 234, 0.4);
        }
        .nav-btn:active { transform: scale(0.98); }
        
        /* Weekdays */
        .weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 12px;
            margin-bottom: 15px;
        }
        .wd {
            text-align: center;
            font-weight: 700;
            font-size: 15px;
            padding: 14px 0;
            background: rgba(255,255,255,0.08);
            border-radius: 14px;
            color: rgba(255,255,255,0.85);
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .wd.sun { 
            color: #ff8a8a; 
            background: linear-gradient(135deg, rgba(255,107,107,0.2), rgba(255,107,107,0.1)); 
            border-color: rgba(255,107,107,0.3);
            box-shadow: 0 4px 15px rgba(255,107,107,0.15);
        }
        .wd.sat { 
            color: #6ee7e7; 
            background: linear-gradient(135deg, rgba(78,205,196,0.2), rgba(78,205,196,0.1)); 
            border-color: rgba(78,205,196,0.3);
            box-shadow: 0 4px 15px rgba(78,205,196,0.15);
        }
        
        /* Days Grid - Fixed equal columns */
        .days-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 12px;
            width: 100%;
        }
        .cal-day {
            background: linear-gradient(145deg, 
                rgba(255,255,255,0.12) 0%, 
                rgba(255,255,255,0.06) 100%);
            border-radius: 20px;
            padding: 14px;
            min-height: 120px;
            max-height: 280px;
            border: 1px solid rgba(255,255,255,0.12);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            position: relative;
        }
        .cal-day::-webkit-scrollbar { width: 4px; }
        .cal-day::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 2px; }
        .cal-day::-webkit-scrollbar-thumb { 
            background: linear-gradient(180deg, #60a5fa, #a78bfa); 
            border-radius: 2px; 
        }
        .cal-day .more-events {
            display: block;
            width: 100%;
            padding: 6px 8px;
            margin-top: 4px;
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            color: #60a5fa;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }
        .cal-day .more-events:hover {
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.4), rgba(167, 139, 250, 0.4));
            transform: translateY(-1px);
        }
        .cal-day .evt-item {
            flex-shrink: 0;
        }
        .cal-day .evt-item.hidden-extra {
            display: none;
        }
        .cal-day.expanded .evt-item.hidden-extra {
            display: flex;
        }
        .cal-day::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 20px;
            border: 2px solid transparent;
            transition: border-color 0.3s ease;
            pointer-events: none;
        }
        .cal-day:hover { 
            transform: translateY(-6px) scale(1.02);
            background: linear-gradient(145deg, 
                rgba(255,255,255,0.18) 0%, 
                rgba(255,255,255,0.10) 100%);
            box-shadow: 
                0 20px 50px rgba(0,0,0,0.4),
                0 0 30px rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.4);
            z-index: 10;
        }
        .cal-day:hover::after {
            border-color: rgba(102, 126, 234, 0.3);
        }
        .cal-day.empty { 
            background: transparent; 
            border: none; 
            visibility: hidden; 
            min-height: 0; 
            padding: 0; 
        }
        .cal-day.empty:hover { 
            transform: none;
            box-shadow: none;
        }
        .cal-day.today {
            background: linear-gradient(145deg, 
                rgba(102,126,234,0.35) 0%, 
                rgba(102,126,234,0.20) 100%);
            border: 2px solid #667eea;
            box-shadow: 
                0 0 30px rgba(102, 126, 234, 0.5),
                0 0 60px rgba(102, 126, 234, 0.2),
                inset 0 0 20px rgba(102, 126, 234, 0.1);
            animation: todayPulse 3s ease-in-out infinite;
        }
        @keyframes todayPulse {
            0%, 100% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.5), 0 0 60px rgba(102, 126, 234, 0.2); }
            50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.7), 0 0 80px rgba(102, 126, 234, 0.3); }
        }
        .cal-day.has-events {
            border-color: rgba(255,255,255,0.2);
        }
        
        /* Day Number */
        .day-num {
            font-weight: 700;
            font-size: 22px;
            margin-bottom: 10px;
            color: #fff;
            flex-shrink: 0;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .day-numTrue {
            color: #667eea;
            text-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
        }
        
        /* Holiday Tag */
        .holiday-tag {
            background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 20px;
            margin-bottom: 8px;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(255,107,107,0.5);
            flex-shrink: 0;
            letter-spacing: 0.5px;
        }
        
        /* Event Items - Enhanced Colors */
        .evt-item {
            border-radius: 10px;
            padding: 8px 10px;
            margin-top: 6px;
            display: flex;
            flex-direction: column;
            gap: 3px;
            overflow-y: auto;
            max-height: 75px;
            transition: all 0.2s ease;
            position: relative;
        }
        .evt-item:first-child { margin-top: 0; }
        .evt-item:hover {
            transform: scale(1.03);
            filter: brightness(1.1);
        }
        .evt-item.past { opacity: 0.35; filter: grayscale(40%); }
        .evt-time { 
            font-size: 12px; 
            font-weight: 700; 
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .evt-time::before {
            content: '⏰';
            font-size: 10px;
        }
        .evt-desc { 
            font-size: 12px; 
            line-height: 1.4; 
            word-wrap: break-word;
        }
        
        /* Event Colors - Enhanced Palette */
        .bg-son { 
            background: linear-gradient(135deg, rgba(251,191,36,0.4), rgba(251,191,36,0.2)); 
            color: #fbbf24; 
            border-left: 4px solid #f59e0b; 
            box-shadow: 0 4px 15px rgba(245,158,11,0.3);
        }     /* สอน - ทองเหลือง */
        .bg-sob { 
            background: linear-gradient(135deg, rgba(239,68,68,0.4), rgba(239,68,68,0.2)); 
            color: #fca5a5; 
            border-left: 4px solid #dc2626; 
            box-shadow: 0 4px 15px rgba(220,38,38,0.3);
        }     /* สอบ - แดงเข้ม */
        .bg-meeting { 
            background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(59,130,246,0.2)); 
            color: #93c5fd; 
            border-left: 4px solid #2563eb; 
            box-shadow: 0 4px 15px rgba(37,99,235,0.3);
        } /* ประชุม - น้ำเงิน */
        .bg-research { 
            background: linear-gradient(135deg, rgba(99,102,241,0.4), rgba(99,102,241,0.2)); 
            color: #a5b4fc; 
            border-left: 4px solid #4f46e5; 
            box-shadow: 0 4px 15px rgba(79,70,229,0.3);
        } /* วิจัย - อินดิโก */
        .bg-activity { 
            background: linear-gradient(135deg, rgba(20,184,166,0.4), rgba(20,184,166,0.2)); 
            color: #5eead4; 
            border-left: 4px solid #0d9488; 
            box-shadow: 0 4px 15px rgba(13,148,136,0.3);
        } /* กิจกรรม - เทียวเขียว */
        .bg-deadline { 
            background: linear-gradient(135deg, rgba(249,115,22,0.4), rgba(249,115,22,0.2)); 
            color: #fdba74; 
            border-left: 4px solid #ea580c; 
            box-shadow: 0 4px 15px rgba(234,88,12,0.3);
            animation: deadlinePulse 2s ease-in-out infinite;
        } /* Deadline - ส้มเข้ม */
        @keyframes deadlinePulse {
            0%, 100% { box-shadow: 0 4px 15px rgba(234,88,12,0.3); }
            50% { box-shadow: 0 4px 25px rgba(234,88,12,0.5); }
        }
        .bg-other { 
            background: linear-gradient(135deg, rgba(100,116,139,0.4), rgba(100,116,139,0.2)); 
            color: #cbd5e1; 
            border-left: 4px solid #64748b; 
            box-shadow: 0 4px 15px rgba(100,116,139,0.3);
        } /* อื่นๆ - เทาเทา */
        
        /* Legend - Enhanced */
        .event-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
            padding: 22px 28px;
            background: linear-gradient(145deg, 
                rgba(30,58,95,0.5) 0%, 
                rgba(15,52,96,0.3) 100%);
            border-radius: 20px;
            justify-content: center;
            border: 1px solid rgba(59,130,246,0.2);
            backdrop-filter: blur(15px);
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            padding: 8px 16px;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            transition: all 0.2s ease;
        }
        .legend-item:hover {
            background: rgba(255,255,255,0.1);
            transform: scale(1.05);
        }
        .legend-dot {
            width: 16px;
            height: 16px;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .legend-dot.bg-son { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
        .legend-dot.bg-sob { background: linear-gradient(135deg, #dc2626, #ef4444); }
        .legend-dot.bg-meeting { background: linear-gradient(135deg, #2563eb, #3b82f6); }
        .legend-dot.bg-research { background: linear-gradient(135deg, #4f46e5, #6366f1); }
        .legend-dot.bg-activity { background: linear-gradient(135deg, #0d9488, #14b8a6); }
        .legend-dot.bg-deadline { background: linear-gradient(135deg, #ea580c, #f97316); }
        .legend-dot.bg-other { background: linear-gradient(135deg, #64748b, #94a3b8); }
        
        /* Section Divider - Enhanced */
        .section-divider {
            background: linear-gradient(90deg, #1e3a5f, #2563eb, #4f46e5, #1e3a5f);
            background-size: 200% 100%;
            padding: 22px 30px;
            border-radius: 20px;
            margin: 40px 0 30px;
            font-size: 24px;
            font-weight: 700;
            box-shadow: 0 10px 40px rgba(37,99,235,0.35);
            text-align: center;
            border: 1px solid rgba(59,130,246,0.4);
            position: relative;
            overflow: hidden;
            animation: dividerShine 4s ease-in-out infinite;
        }
        .section-divider::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            animation: dividerGlow 3s ease-in-out infinite;
        }
        @keyframes dividerShine {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        @keyframes dividerGlow {
            0%, 100% { transform: translate(-25%, -25%) rotate(0deg); }
            50% { transform: translate(25%, 25%) rotate(0deg); }
        }
        
        /* Academic Calendar - Enhanced */
        .academic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        .acad-card {
            background: linear-gradient(145deg, 
                rgba(30,58,95,0.7) 0%, 
                rgba(15,52,96,0.5) 100%);
            border-radius: 24px;
            padding: 28px;
            border: 1px solid rgba(59,130,246,0.25);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(15px);
        }
        .acad-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #2563eb, #4f46e5, #2563eb);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .acad-card:hover { 
            transform: translateY(-8px);
            box-shadow: 0 25px 60px rgba(0,0,0,0.4);
            border-color: rgba(59,130,246,0.5);
        }
        .acad-card:hover::before { opacity: 1; }
        .acad-card h4 { 
            color: #93c5fd; 
            margin-bottom: 20px; 
            font-size: 19px; 
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .acad-card h4::before {
            content: '📋';
            font-size: 22px;
        }
        .acad-card table { width: 100%; }
        .acad-card td { 
            padding: 12px 0; 
            border-bottom: 1px solid rgba(59,130,246,0.15); 
            font-size: 14px;
        }
        .acad-card td:first-child { 
            color: rgba(255,255,255,0.75); 
            font-weight: 500; 
        }
        .acad-card td:last-child { 
            font-weight: 600; 
            text-align: right; 
            color: #93c5fd;
        }
        
        /* Project Tracking - Enhanced */
        .project-list { display: flex; flex-direction: column; gap: 28px; }
        .proj-card {
            background: linear-gradient(145deg, 
                rgba(30,58,95,0.7) 0%, 
                rgba(15,52,96,0.5) 100%);
            border-radius: 24px;
            padding: 30px;
            border: 1px solid rgba(59,130,246,0.25);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(15px);
        }
        .proj-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, #2563eb, #4f46e5);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .proj-card:hover { 
            transform: translateY(-6px);
            box-shadow: 0 25px 60px rgba(0,0,0,0.4);
            border-color: rgba(59,130,246,0.5);
        }
        .proj-card:hover::before { opacity: 1; }
        .proj-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-bottom: 18px; 
            flex-wrap: wrap; 
            gap: 15px; 
        }
        .proj-header h4 { 
            color: #fff; 
            font-size: 22px; 
            font-weight: 700;
        }
        .deadline-badge {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            color: #fff;
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 700;
            box-shadow: 0 6px 25px rgba(220,38,38,0.45);
            animation: deadlineBadgePulse 2s ease-in-out infinite;
        }
        @keyframes deadlineBadgePulse {
            0%, 100% { box-shadow: 0 6px 25px rgba(220,38,38,0.45); }
            50% { box-shadow: 0 6px 35px rgba(220,38,38,0.6); }
        }
        .proj-details { 
            color: rgba(255,255,255,0.9); 
            margin-bottom: 14px; 
            font-size: 15px; 
            line-height: 1.7; 
        }
        .proj-note { 
            color: #fca5a5; 
            font-size: 14px; 
            margin-bottom: 20px; 
            font-weight: 500;
            padding: 12px 16px;
            background: rgba(239,68,68,0.1);
            border-radius: 10px;
            border-left: 3px solid #dc2626;
        }
        .proj-files { 
            color: #93c5fd; 
            font-size: 13px; 
            margin-bottom: 18px; 
            padding: 14px; 
            background: rgba(59,130,246,0.1); 
            border-radius: 12px; 
            border-left: 3px solid #2563eb;
        }
        .proj-announce { 
            background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.08)); 
            border: 1px solid rgba(239,68,68,0.4); 
            border-radius: 20px; 
            padding: 24px; 
            margin-bottom: 28px; 
            text-align: center;
        }
        .proj-announce h3 { 
            color: #fca5a5; 
            margin-bottom: 10px; 
            font-size: 20px; 
        }
        .proj-announce p { 
            color: rgba(255,255,255,0.85); 
            font-size: 15px; 
        }
        .drive-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #059669, #047857);
            color: #fff;
            padding: 16px 30px;
            border-radius: 16px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            box-shadow: 0 6px 25px rgba(5,150,105,0.45);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }
        .drive-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }
        .drive-btn:hover::before { left: 100%; }
        .drive-btn:hover { 
            transform: scale(1.05);
            box-shadow: 0 10px 35px rgba(5,150,105,0.55);
        }
        
        /* Footer - Enhanced */
        .footer { 
            text-align: center; 
            padding: 35px; 
            color: rgba(255,255,255,0.5); 
            font-size: 14px;
            background: linear-gradient(145deg, 
                rgba(30,58,95,0.5) 0%, 
                rgba(15,52,96,0.3) 100%);
            border-top: 1px solid rgba(59,130,246,0.2);
            margin-top: 40px;
        }
        .footer::before {
            content: '✨';
            display: block;
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        /* Section Title - Enhanced (no duplicate icon) */
        .section-title {
            color: #93c5fd;
            margin-bottom: 32px;
            font-size: 28px;
            font-weight: 700;
            text-shadow: 0 2px 20px rgba(147,197,253,0.3);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        /* ==================== SIDEBAR - ENHANCED ==================== */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            height: 100vh;
            background: linear-gradient(180deg, #1e3a5f 0%, #0f2744 100%);
            transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1000;
            overflow: hidden;
            box-shadow: 4px 0 30px rgba(0,0,0,0.4);
            border-right: 1px solid rgba(59,130,246,0.2);
        }
        
        .sidebar.collapsed {
            width: 70px;
        }
        
        .sidebar.expanded {
            width: 240px;
        }
        
        .sidebar-toggle {
            padding: 14px 18px;
            margin: 12px;
            cursor: pointer;
            text-align: center;
            color: #fff;
            font-size: 20px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
            border: 1px solid rgba(96, 165, 250, 0.4);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-weight: 600;
            user-select: none;
            transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
            position: relative;
            overflow: hidden;
        }
        .sidebar-toggle::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
            opacity: 0;
            transition: opacity 0.3s;
        }
        .sidebar-toggle:hover::before { opacity: 1; }
        .sidebar-toggle:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        }
        .sidebar-toggle:active { transform: scale(0.98); }
        .sidebar-toggle .toggle-text {
            font-size: 13px;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        .sidebar-toggle #toggleIcon {
            position: relative;
            z-index: 1;
            font-size: 22px;
            transition: transform 0.3s;
        }
        .sidebar.collapsed .sidebar-toggle .toggle-text { display: none; }
        .sidebar-toggle:hover {
            background: rgba(59,130,246,0.3);
        }
        /* Toggle Button */
        .toggle-icon {
            font-size: 20px;
            transition: transform 0.3s ease;
        }
        .sidebar.expanded .toggle-icon {
            transform: rotate(90deg);
        }
        
        .sidebar-menu {
            padding: 12px 0;
        }
        
        .sidebar-item {
            display: flex;
            align-items: center;
            padding: 16px 18px;
            cursor: pointer;
            color: rgba(255,255,255,0.7);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-left: 4px solid transparent;
            white-space: nowrap;
            overflow: hidden;
            width: 100%;
            position: relative;
        }
        .sidebar-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, rgba(59,130,246,0.2) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .sidebar-item:hover {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }
        .sidebar-item:hover::before { opacity: 1; }
        .sidebar-item.active {
            background: rgba(59,130,246,0.25);
            color: #fff;
            border-left-color: #3b82f6;
        }
        .sidebar-item.active::before { opacity: 1; }
        
        .sidebar-icon {
            font-size: 20px;
            width: 35px;
            text-align: center;
            flex-shrink: 0;
            transition: font-size 0.3s;
            position: relative;
            z-index: 1;
        }
        
        .sidebar-text {
            font-size: 15px;
            opacity: 0;
            max-width: 0;
            transition: opacity 0.3s, max-width 0.3s, margin-left 0.3s;
            overflow: hidden;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }
        
        .sidebar.collapsed .sidebar-text {
            opacity: 0;
            max-width: 0;
            margin-left: 0;
        }
        
        .sidebar.expanded .sidebar-text {
            opacity: 1;
            max-width: 160px;
            margin-left: 12px;
        }
        
        .sidebar-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 16px 12px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
            background: rgba(15, 23, 42, 0.5);
            transition: all 0.3s;
        }
        .sidebar-avatar {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            color: white;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
        }
        .sidebar-userinfo { min-width: 0; overflow: hidden; }
        .sidebar-name {
            font-size: 13px;
            font-weight: 600;
            color: #f1f5f9;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .sidebar-role {
            font-size: 11px;
            color: #94a3b8;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .sidebar.collapsed .sidebar-userinfo { display: none; }
        .sidebar.collapsed .sidebar-avatar { margin: 0 auto; }
        .sidebar.collapsed .sidebar-header { padding: 16px 8px; justify-content: center; }
        
        .sidebar-logo {
            font-size: 28px;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(59,130,246,0.4);
        }
        
        .sidebar-title {
            font-size: 17px;
            font-weight: bold;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        .sidebar.collapsed .sidebar-header {
            justify-content: center;
            padding: 18px 8px;
        }
        
        .sidebar.collapsed .sidebar-title {
            max-width: 0;
            opacity: 0;
        }
        
        .sidebar.expanded .sidebar-header {
            justify-content: flex-start;
            padding: 18px 12px;
        }
        
        .sidebar.expanded .sidebar-title {
            max-width: 160px;
            opacity: 1;
            margin-left: 12px;
        }
        
        .main-content {
            transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        /* ==================== MOBILE RESPONSIVE ==================== */
        /* Mobile - Fixed grid columns */
        /* Mobile Responsive - Enhanced */
        @media (max-width: 768px) {
            .header { 
                padding: 22px 18px; 
            }
            .header h1 { 
                font-size: 24px; 
            }
            .header p { 
                font-size: 13px; 
            }
            
            .tabs { 
                overflow-x: auto; 
                -webkit-overflow-scrolling: touch;
                padding: 0;
            }
            .tab { 
                padding: 14px 14px; 
                font-size: 13px; 
                white-space: nowrap; 
                flex-shrink: 0;
            }
            .tab .tab-icon { 
                font-size: 18px;
                margin-bottom: 3px;
            }
            
            .content { 
                padding: 12px; 
            }
            
            .cal-wrapper { 
                padding: 15px 12px; 
                border-radius: 18px; 
                overflow-x: hidden; 
            }
            .cal-header { 
                margin-bottom: 15px; 
                flex-wrap: wrap;
                gap: 10px;
            }
            .cal-header h3 { 
                font-size: 20px; 
            }
            .nav-btn { 
                padding: 10px 18px; 
                font-size: 15px; 
                border-radius: 25px;
            }
            
            .weekdays { 
                gap: 3px; 
                margin-bottom: 12px; 
            }
            .wd { 
                font-size: 12px; 
                padding: 10px 0; 
                border-radius: 10px; 
            }
            
            .days-grid { 
                gap: 4px; 
                width: 100%; 
            }
            .cal-day { 
                padding: 10px 8px; 
                min-height: 100px; 
                max-height: 200px;
                border-radius: 14px;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            .day-num { 
                font-size: 18px; 
                margin-bottom: 8px; 
                flex-shrink: 0; 
            }
            .day-numTrue { 
                font-size: 20px; 
            }
            .holiday-tag { 
                font-size: 10px; 
                padding: 4px 10px; 
                margin-bottom: 6px; 
            }
            
            .evt-item { 
                padding: 6px 8px; 
                margin-top: 5px; 
                border-radius: 8px; 
                border-left-width: 4px; 
                max-height: 65px; 
                overflow: hidden;
            }
            .evt-item:first-child { margin-top: 0; }
            .evt-item:hover { transform: none; }
            .evt-time { 
                font-size: 11px; 
                font-weight: 700;
            }
            .evt-time::before { display: none; }
            .evt-desc { 
                font-size: 11px; 
                line-height: 1.3; 
                word-wrap: break-word;
            }
            
            .event-legend { 
                gap: 8px; 
                padding: 12px; 
                justify-content: center;
                flex-wrap: wrap;
                border-radius: 14px;
            }
            .legend-item { 
                font-size: 11px; 
                flex-shrink: 0; 
                padding: 5px 10px;
                border-radius: 8px;
            }
            .legend-dot { 
                width: 12px; 
                height: 12px; 
                border-radius: 4px;
            }
            
            .section-divider { 
                font-size: 17px; 
                padding: 15px 18px; 
                margin: 28px 0 20px; 
            }
            
            .academic-grid { 
                gap: 18px; 
            }
            .acad-card { 
                padding: 20px; 
                border-radius: 18px; 
            }
            .acad-card h4 { 
                font-size: 16px; 
            }
            .acad-card td { 
                font-size: 12px; 
                padding: 9px 0; 
            }
            
            .proj-card { 
                padding: 22px; 
                border-radius: 20px; 
            }
            .proj-header h4 { 
                font-size: 18px; 
            }
            .deadline-badge { 
                padding: 9px 16px; 
                font-size: 12px; 
            }
            .proj-details, .proj-note { 
                font-size: 13px; 
            }
            .drive-btn { 
                padding: 14px 22px; 
                font-size: 14px; 
            }
            
            .section-title { 
                font-size: 22px; 
                margin-bottom: 22px; 
            }
            
            .summary-stats { 
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .summary-stat {
                padding: 18px 14px;
                border-radius: 16px;
            }
            .summary-stat .number { font-size: 28px; }
            
            .company-grid { 
                grid-template-columns: 1fr;
                gap: 15px;
            }
            .timeline {
                grid-template-columns: 1fr;
            }
        }
        
        /* Landscape phones */
        @media (orientation: landscape) and (max-height: 500px) {
            .header { padding: 15px 18px; }
            .header h1 { font-size: 20px; }
            .content { padding: 12px; }
            .cal-wrapper { padding: 14px; }
            .cal-day { 
                min-height: 65px; 
                padding: 6px; 
                border-radius: 10px; 
            }
            .day-num { font-size: 13px; margin-bottom: 4px; }
            .evt-item { 
                padding: 4px 6px; 
                margin-top: 3px; 
                overflow-y: auto; 
                max-height: 50px; 
            }
            .evt-time, .evt-desc { font-size: 9px; }
            .weekdays { gap: 3px; }
            .wd { font-size: 9px; padding: 5px 0; }
        }
        
        /* Tablet */
        @media (min-width: 769px) and (max-width: 1024px) {
            .days-grid { gap: 8px; }
            .cal-day { 
                min-height: 100px; 
                padding: 12px;
                border-radius: 16px;
            }
            .cal-header h3 { font-size: 26px; }
            .weekdays { gap: 8px; }
        }
        
        /* ====== Admission Tab Styles - Enhanced ====== */
        .admission-header {
            background: linear-gradient(145deg, #1e3a5f, #0d2137);
            padding: 30px;
            border-radius: 24px;
            text-align: center;
            margin-bottom: 25px;
            border: 1px solid rgba(59,130,246,0.3);
            position: relative;
            overflow: hidden;
        }
        .admission-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 50%);
            pointer-events: none;
        }
        .admission-header h1 { 
            color: #93c5fd; 
            font-size: 26px; 
            margin-bottom: 8px;
            font-weight: 700;
        }
        .admission-header p { 
            color: rgba(255,255,255,0.8); 
            font-size: 15px; 
        }
        
        .summary-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
            margin-bottom: 30px;
        }
        .summary-stat {
            background: linear-gradient(145deg, rgba(30,58,95,0.8), rgba(15,52,96,0.6));
            border-radius: 20px;
            padding: 25px 18px;
            text-align: center;
            border: 1px solid rgba(59,130,246,0.25);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .summary-stat::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #2563eb, #4f46e5);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .summary-stat:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            border-color: rgba(59,130,246,0.4);
        }
        .summary-stat:hover::before { opacity: 1; }
        .summary-stat .icon { 
            font-size: 28px; 
            margin-bottom: 8px; 
        }
        .summary-stat .number { 
            font-size: 36px; 
            font-weight: 700; 
        }
        .summary-stat .number.white { color: #fff; }
        .summary-stat .number.green { color: #4ade80; }
        .summary-stat .number.blue { color: #93c5fd; }
        .summary-stat .number.orange { color: #fb923c; }
        .summary-stat .label { 
            font-size: 13px; 
            color: rgba(255,255,255,0.65); 
            margin-top: 6px; 
            font-weight: 500;
        }
        
        .program-card {
            background: linear-gradient(145deg, rgba(30,58,95,0.7), rgba(15,52,96,0.5));
            border-radius: 24px;
            padding: 28px;
            margin-bottom: 22px;
            border: 1px solid rgba(59,130,246,0.25);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .program-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.35);
            border-color: rgba(59,130,246,0.4);
        }
        .program-title {
            color: #fff;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(59,130,246,0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .program-title .badge {
            background: #f97316;
            color: #fff;
            padding: 5px 14px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 600;
        }
        
        /* Data Table - Enhanced */
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 25px;
            border-radius: 12px;
            overflow: hidden;
        }
        .data-table th {
            background: linear-gradient(145deg, rgba(30,58,95,0.9), rgba(15,52,96,0.8));
            color: #93c5fd;
            padding: 14px 18px;
            text-align: left;
            font-size: 14px;
            font-weight: 700;
            border-bottom: 2px solid rgba(59,130,246,0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .data-table td {
            padding: 14px 18px;
            font-size: 14px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            transition: background 0.2s ease;
        }
        .data-table tbody tr:hover td { 
            background: rgba(59,130,246,0.12); 
        }
        .data-table tbody tr:last-child td { border-bottom: none; }
        
        .row-category td {
            background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.1));
            color: #93c5fd;
            font-weight: 700;
            font-size: 13px;
        }
        .row-total td {
            background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
            font-weight: 700;
            color: #fff;
        }
        
        .status {
            padding: 3px 10px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
        }
        .status.success { background: rgba(34,197,94,0.2); color: #4ade80; }
        .status.warning { background: rgba(249,115,22,0.2); color: #f97316; }
        
        .progress-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .progress-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .progress-label {
            min-width: 90px;
            font-size: 13px;
            color: rgba(255,255,255,0.8);
        }
        .progress-bar {
            flex: 1;
            height: 28px;
            background: rgba(0,0,0,0.3);
            border-radius: 8px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 10px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            border-radius: 8px;
        }
        .progress-fill.orange { background: linear-gradient(90deg, #f97316, #ea580c); }
        .progress-fill.green { background: linear-gradient(90deg, #22c55e, #16a34a); }
        .progress-fill.blue { background: linear-gradient(90deg, #3b82f6, #2563eb); }
        
        /* ====== Internship Tab Styles ====== */
        /* ====== Internship Tab Styles - Enhanced ====== */
        .internship-header {
            background: linear-gradient(145deg, #1e3a5f, #0d2137);
            padding: 30px;
            border-radius: 24px;
            text-align: center;
            margin-bottom: 25px;
            border: 1px solid rgba(59,130,246,0.3);
            position: relative;
            overflow: hidden;
        }
        .internship-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 50%);
            pointer-events: none;
        }
        .internship-header h1 { 
            color: #93c5fd; 
            font-size: 26px; 
            margin-bottom: 8px;
            font-weight: 700;
        }
        .internship-header p { 
            color: rgba(255,255,255,0.8); 
            font-size: 15px; 
        }
        
        .province-title {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            padding: 15px 20px;
            border-radius: 12px;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .province-title h2 { font-size: 18px; font-weight: 700; color: #fff; margin: 0; }
        .province-title .badge {
            background: rgba(255,255,255,0.2);
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 13px;
        }
        
        .company-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        .company-card {
            background: linear-gradient(145deg, rgba(30,58,95,0.7), rgba(15,52,96,0.5));
            border-radius: 20px;
            border: 1px solid rgba(59,130,246,0.2);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .company-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.35);
            border-color: rgba(59,130,246,0.4);
        }
        .company-header {
            background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(59,130,246,0.15));
            padding: 16px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(59,130,246,0.25);
        }
        .company-name {
            color: #fbbf24;
            font-size: 15px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .company-icon { font-size: 20px; }
        .company-count {
            background: rgba(59,130,246,0.5);
            color: #93c5fd;
            padding: 5px 12px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 700;
        }
        .student-list { padding: 12px; }
        .student-item {
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 8px;
            background: rgba(0,0,0,0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s ease;
        }
        .student-item:hover {
            background: rgba(59,130,246,0.15);
        }
        .student-item:last-child { margin-bottom: 0; }
        .student-item:nth-child(even) { background: rgba(0,0,0,0.15); }
        .student-item:nth-child(even):hover { background: rgba(59,130,246,0.18); }
        .student-left { display: flex; align-items: center; gap: 12px; }
        .student-num { color: rgba(255,255,255,0.35); font-size: 13px; min-width: 22px; }
        .student-name { color: #fff; font-size: 14px; font-weight: 500; }
        .student-right { display: flex; align-items: center; gap: 10px; }
        .type-tag {
            padding: 3px 10px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 700;
        }
        .type-normal { background: rgba(59,130,246,0.3); color: #93c5fd; }
        .type-cont { background: rgba(34,197,94,0.3); color: #4ade80; }
        .advisor-tag { color: #fbbf24; font-size: 12px; }
        .student-detail {
            font-size: 12px;
            color: rgba(255,255,255,0.5);
            padding: 2px 12px 8px 42px;
            margin-top: -4px;
        }
        
        /* Schedule Card Timeline */
        .schedule-card {
            background: rgba(30,58,95,0.5);
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 25px;
            border: 1px solid rgba(59,130,246,0.2);
        }
        .schedule-title {
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(59,130,246,0.3);
        }
        .timeline {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 22px;
        }
        .timeline-item {
            background: linear-gradient(145deg, rgba(30,58,95,0.7), rgba(15,52,96,0.5));
            border-radius: 18px;
            padding: 24px 20px;
            display: flex;
            align-items: center;
            gap: 20px;
            border: 1px solid rgba(59,130,246,0.2);
            transition: all 0.3s ease;
        }
        .timeline-item:hover {
            transform: translateX(8px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.35);
            border-color: rgba(59,130,246,0.4);
        }
        .timeline-date {
            text-align: center;
            min-width: 60px;
        }
        .timeline-date .day {
            display: block;
            font-size: 34px;
            font-weight: 700;
            color: #93c5fd;
            line-height: 1;
            text-shadow: 0 2px 10px rgba(147,197,253,0.3);
        }
        .timeline-date .month {
            display: block;
            font-size: 14px;
            color: rgba(255,255,255,0.7);
            margin-top: 6px;
        }
        .timeline-content .timeline-label {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .timeline-content .timeline-desc {
            color: rgba(255,255,255,0.6);
            font-size: 14px;
        }
            font-size: 12px;
        }
        
        /* เกณฑ์การฝึกงาน */
        .criteria-section {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid rgba(59,130,246,0.2);
        }
        .criteria-title {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .criteria-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .criteria-item {
            background: rgba(0,0,0,0.2);
            border-radius: 10px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            border: 1px solid rgba(59,130,246,0.1);
        }
        .criteria-icon { font-size: 22px; }
        .criteria-text {
            font-size: 13px;
            color: rgba(255,255,255,0.85);
        }
        .criteria-text strong { color: #fbbf24; }
        
        /* โครงสร้างรายงาน */
        .report-section {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid rgba(59,130,246,0.2);
        }
        .report-title {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .chapter-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .chapter-item {
            background: rgba(0,0,0,0.2);
            border-radius: 10px;
            padding: 14px 16px;
            display: flex;
            gap: 14px;
            align-items: flex-start;
            border: 1px solid rgba(59,130,246,0.1);
        }
        .chapter-num {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: #fff;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            flex-shrink: 0;
        }
        .chapter-content strong {
            color: #fff;
            font-size: 14px;
            display: block;
            margin-bottom: 3px;
        }
        .chapter-content p {
            color: rgba(255,255,255,0.6);
            font-size: 12px;
            margin: 0;
        }
        
        /* Summary boxes */
        .summary-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }
        .summary-box {
            background: linear-gradient(145deg, rgba(30,58,95,0.8), rgba(15,52,96,0.6));
            border-radius: 12px;
            padding: 20px 15px;
            text-align: center;
            border: 1px solid rgba(59,130,246,0.2);
        }
        .summary-box .icon { font-size: 24px; margin-bottom: 6px; }
        .summary-box .number { font-size: 30px; font-weight: 700; }
        .summary-box .label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
        
        /* Donut chart */
        .donut-wrapper {
            text-align: center;
        }
        .donut-wrapper h4 {
            color: #fff;
            font-size: 14px;
            margin-top: 10px;
            margin-bottom: 5px;
        }
        .donut-wrapper .donut-value {
            font-size: 24px;
            font-weight: 700;
        }
        .donut-wrapper .donut-label {
            font-size: 11px;
            color: rgba(255,255,255,0.5);
        }
        
        /* Mobile */
        @media (max-width: 600px) {
            .summary-row, .summary-stats { grid-template-columns: repeat(2, 1fr); }
            .company-grid { grid-template-columns: 1fr; }
            .timeline { grid-template-columns: 1fr; }
            .province-title { flex-direction: column; gap: 10px; align-items: flex-start; }
            .criteria-grid { grid-template-columns: 1fr; }
        }

        /* ===== Mobile Calendar Improvements ===== */
        @media (max-width: 768px) {
            .cal-day {
                max-height: 200px;
                padding: 8px;
            }
            .cal-day .evt-item {
                padding: 4px 6px;
                margin-bottom: 3px;
            }
            .cal-day .evt-time {
                font-size: 10px;
            }
            .cal-day .evt-desc {
                font-size: 11px;
                line-height: 1.2;
            }
            .cal-grid {
                gap: 4px;
            }
        }