        body {
            font-family: 'Prompt', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
            color: #f8fafc;
        }

        /* ปรับแต่ง FullCalendar ให้ดูทันสมัยเข้ากับ Dark Theme */
        .fc {
            --fc-border-color: rgba(255, 255, 255, 0.1);
            --fc-button-bg-color: rgba(255, 255, 255, 0.1);
            --fc-button-border-color: rgba(255, 255, 255, 0.2);
            --fc-button-hover-bg-color: rgba(255, 255, 255, 0.2);
            --fc-button-hover-border-color: rgba(255, 255, 255, 0.3);
            --fc-button-active-bg-color: #3b82f6;
            --fc-button-active-border-color: #3b82f6;
            --fc-today-bg-color: rgba(59, 130, 246, 0.15);
            --fc-event-border-color: transparent;
            --fc-page-bg-color: transparent;
            --fc-neutral-bg-color: rgba(255, 255, 255, 0.05);
            --fc-list-event-hover-bg-color: rgba(255, 255, 255, 0.05);
            --fc-button-text-color: #e2e8f0;
        }

        .fc .fc-toolbar-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #f8fafc;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .fc .fc-button {
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            font-weight: 500;
            font-family: 'Prompt', sans-serif;
            text-transform: capitalize;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(4px);
            transition: all 0.2s ease-in-out;
        }

        .fc-event {
            border-radius: 6px;
            padding: 2px 6px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .fc-event:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            filter: brightness(1.1);
        }

        .fc-daygrid-event-dot {
            border-width: 4px;
        }

        /* วันในปฏิทิน Text Color */
        .fc-col-header-cell-cushion,
        .fc-daygrid-day-number,
        .fc-list-day-text,
        .fc-list-day-side-text {
            color: #cbd5e1 !important;
        }

        .fc-theme-standard td,
        .fc-theme-standard th {
            border-color: rgba(255, 255, 255, 0.1);
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* Utilities */
        .glass-effect {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        }

        .glass-panel {
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .glass-input {
            background: rgba(255, 255, 255, 0.05) !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
            color: #e2e8f0 !important;
        }

        .glass-input:focus {
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: #3b82f6 !important;
        }

        .glass-input::placeholder {
            color: #94a3b8 !important;
        }

        /* Light Theme Overrides */
        body.light-theme {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
            color: #1e293b;
        }

        body.light-theme .glass-effect {
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        body.light-theme .glass-panel {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        body.light-theme .glass-input {
            background: rgba(255, 255, 255, 0.8) !important;
            border-color: rgba(0, 0, 0, 0.15) !important;
            color: #1e293b !important;
        }

        body.light-theme .glass-input:focus {
            background: #ffffff !important;
            border-color: #3b82f6 !important;
        }

        body.light-theme .glass-input::placeholder {
            color: #64748b !important;
        }

        body.light-theme .text-gray-200 {
            color: #334155 !important;
        }

        body.light-theme .text-gray-300 {
            color: #475569 !important;
        }

        body.light-theme .text-gray-400 {
            color: #64748b !important;
        }

        body.light-theme .text-white {
            color: #0f172a !important;
        }

        body.light-theme .bg-white\/5 {
            background-color: rgba(0, 0, 0, 0.05) !important;
        }

        body.light-theme .bg-white\/10 {
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

        body.light-theme .border-white\/10 {
            border-color: rgba(0, 0, 0, 0.1) !important;
        }

        body.light-theme .border-white\/5 {
            border-color: rgba(0, 0, 0, 0.05) !important;
        }

        body.light-theme .fc {
            --fc-border-color: rgba(0, 0, 0, 0.1);
            --fc-button-bg-color: #ffffff;
            --fc-button-border-color: #e2e8f0;
            --fc-button-text-color: #334155;
            --fc-button-hover-bg-color: #f1f5f9;
            --fc-button-hover-border-color: #cbd5e1;
            --fc-neutral-bg-color: rgba(0, 0, 0, 0.05);
            --fc-list-event-hover-bg-color: rgba(0, 0, 0, 0.05);
        }

        body.light-theme .fc .fc-toolbar-title {
            color: #1e293b;
            text-shadow: none;
        }

        body.light-theme .fc-col-header-cell-cushion,
        body.light-theme .fc-daygrid-day-number,
        body.light-theme .fc-list-day-text,
        body.light-theme .fc-list-day-side-text {
            color: #475569 !important;
        }

        body.light-theme .fc-theme-standard td,
        body.light-theme .fc-theme-standard th {
            border-color: rgba(0, 0, 0, 0.1);
        }

        /* Tippy Tooltip Custom Theme */
        .tippy-box[data-theme~='glass'] {
            background-color: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(8px);
            color: white;
            border-radius: 8px;
            font-family: 'Prompt', sans-serif;
            font-size: 0.85rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        }

        .tippy-box[data-theme~='glass'][data-placement^='top']>.tippy-arrow::before {
            border-top-color: rgba(15, 23, 42, 0.85);
        }

        .tippy-box[data-theme~='glass'][data-placement^='bottom']>.tippy-arrow::before {
            border-bottom-color: rgba(15, 23, 42, 0.85);
        }

        body.light-theme .tippy-box[data-theme~='glass'] {
            background-color: rgba(255, 255, 255, 0.95);
            color: #1e293b;
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
        }

        body.light-theme .tippy-box[data-theme~='glass'][data-placement^='top']>.tippy-arrow::before {
            border-top-color: rgba(255, 255, 255, 0.95);
        }

        body.light-theme .tippy-box[data-theme~='glass'][data-placement^='bottom']>.tippy-arrow::before {
            border-bottom-color: rgba(255, 255, 255, 0.95);
        }

        /* Post-it Feature Styles */
        .font-mali {
            font-family: 'Mali', cursive;
        }

        .postit-board {
            background-color: rgba(15, 23, 42, 0.95);
            background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
        }

        body.light-theme .postit-board {
            background-color: rgba(240, 249, 255, 0.95);
            background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
        }

        .postit-note {
            box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            aspect-ratio: 1 / 1;
            display: flex;
            flex-direction: column;
        }

        .postit-note::before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 12px;
            background-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            border-radius: 2px;
        }

        .postit-note:hover {
            transform: scale(1.05) rotate(-1deg);
            box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.4);
            z-index: 10;
        }

        .postit-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
            padding: 0.5rem;
        }

        .postit-item {
            margin-bottom: 0;
        }

        /* ── Reminder Card Styles ── */
        .reminder-card {
            background: rgba(15, 23, 42, 0.65);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .reminder-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        }

        .reminder-card.reminder-pending {
            border-left: 3px solid #f59e0b;
        }

        .reminder-card.reminder-sent {
            border-left: 3px solid #22c55e;
            opacity: 0.75;
        }

        .reminder-card.reminder-overdue {
            border-left: 3px solid #6b7280;
            opacity: 0.6;
        }

        @keyframes bell-blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .reminder-blink {
            animation: bell-blink 1s ease-in-out infinite;
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
