        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #6366f1;
            --primary-hover: #5558e3;
            --secondary-color: #f3f4f6;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --border-color: #e5e7eb;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --success-color: #10b981;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: var(--text-primary);
            overscroll-behavior: none;
            touch-action: pan-y pinch-zoom;
        }

        /* Login Screen */
        .login-container {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 20px;
        }

        .login-card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            max-width: 400px;
            box-shadow: var(--shadow-lg);
            animation: slideUp 0.3s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-card h1 {
            text-align: center;
            color: var(--text-primary);
            font-size: 28px;
        }

        .login-card p {
            text-align: center;
            color: var(--text-secondary);
            margin-top: 10px;
            margin-bottom: 30px;
            font-size: 14px;
        }

        .login-card span {
            margin-top: 2rem;
            text-align: center;
            color: var(--text-secondary);
            margin-bottom: 30px;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
            width: 100%;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-primary:disabled,
        .btn-primary[disabled] {
            background: #9ca3af;
            color: #d1d5db;
            cursor: not-allowed;
            opacity: 0.6;
            transform: none;
            box-shadow: none;
        }

        .btn-primary:disabled:hover,
        .btn-primary[disabled]:hover {
            background: #9ca3af;
            transform: none;
            box-shadow: none;
        }

        .btn-secondary {
            background: var(--secondary-color);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            background: #e5e7eb;
            border-color: #d1d5db;
        }

        .btn-danger {
            background: var(--danger-color);
            color: white;
        }

        .btn-sm {
            padding: 8px 16px;
            font-size: 14px;
        }

        /* Main App Container */
        .app-container {
            display: none;
            min-height: 100vh;
            background: var(--secondary-color);
            overscroll-behavior: none;
            touch-action: pan-y pinch-zoom;
            position: relative;
        }

        /* Header */
        .header {
            background: white;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 100;
            touch-action: none;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .header h1 {
            font-size: 24px;
            color: var(--text-primary);
        }

        .header-info {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .balance-badge {
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 14px;
            background: var(--background-color);
            border: 1px solid var(--border-color);
            display: inline-flex;
            align-items: center;
        }

        .balance-badge .child-avatar-small {
            width: 24px;
            height: 24px;
            font-size: 11px;
        }

        .balance-positive {
            color: var(--success-color);
        }

        .balance-warning {
            color: var(--warning-color);
        }

        .balance-negative {
            color: var(--danger-color);
        }

        /* Navigation */
        .nav-tabs {
            background: white;
            padding: 0 20px;
            box-shadow: var(--shadow-sm);
        }

        .nav-tabs-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 10px;
        }

        .nav-tab {
            padding: 16px 24px;
            border: none;
            background: none;
            color: var(--text-secondary);
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            transition: color 0.3s;
        }

        .nav-tab.active {
            color: var(--primary-color);
        }

        .nav-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px 3px 0 0;
        }

        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            overscroll-behavior: none;
            touch-action: pan-y pinch-zoom;
        }

        /* Calendar View */
        .calendar-container {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            overscroll-behavior: none;
            touch-action: pan-y pinch-zoom;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .calendar-header h2 {
            flex: 1;
            text-align: center;
            min-width: 200px;
        }

        .calendar-nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .calendar-nav button {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            background: white;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .calendar-nav button:hover {
            background: var(--secondary-color);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: var(--border-color);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: hidden;
        }

        .calendar-day-header {
            background: var(--secondary-color);
            padding: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .calendar-day {
            background: white;
            padding: 10px;
            min-height: 80px;
            position: relative;
            cursor: pointer;
            transition: background 0.3s;
        }

        .calendar-day:hover {
            background: var(--secondary-color);
        }

        .calendar-day-number {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .calendar-day.other-month .calendar-day-number {
            color: var(--text-secondary);
            opacity: 0.5;
        }

        .calendar-day.has-absence {
            background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(110, 231, 183, 0.12) 100%);
        }

        .calendar-day.weekend {
            background: rgba(148, 163, 184, 0.06);
        }

        .calendar-day.public-holiday {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(253, 224, 71, 0.12) 100%);;
        }

        .calendar-day.today {
            border: 2px solid var(--primary-color);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .absence-avatars {
            position: absolute;
            bottom: 4px;
            left: 4px;
            display: flex;
            gap: 2px;
            flex-wrap: wrap;
            max-width: calc(100% - 8px);
        }

        /* Mobile: show colored dots instead of avatars */
        @media (max-width: 768px) {
            .absence-avatars .child-avatar-tiny {
                width: 8px;
                height: 8px;
                font-size: 0;
                border-radius: 50%;
                min-width: 8px;
            }
        }

        /* Requests List */
        .requests-container {
            display: none;
        }

        .requests-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .request-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .request-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .request-info {
            flex: 1;
        }

        .request-dates {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .request-meta {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .request-badge {
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
        }

        .badge-pending {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }

        .badge-approved {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }

        .badge-billed {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }

        .request-actions {
            display: flex;
            gap: 10px;
        }
		
		.btn-success {
			background: var(--success-color);
			color: white;
		}

		.btn-success:hover {
			background: #059669;
		}

        /* Modals */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease-out;
        }

        .modal-header {
            padding: 24px 24px 0;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 16px;
        }

        .modal-header h2 {
            font-size: 20px;
            color: var(--text-primary);
        }

        .modal-body {
            padding: 24px;
        }

        .modal-footer {
            padding: 0 24px 24px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        /* Logout Modal Specific Styles */
        .logout-modal .modal-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            border-bottom: none;
            padding-bottom: 10px;
        }

        .logout-icon {
            font-size: 48px;
            margin-bottom: 12px;
            animation: waveHand 0.6s ease-in-out;
        }

        @keyframes waveHand {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-15deg); }
            50% { transform: rotate(15deg); }
            75% { transform: rotate(-15deg); }
        }

        .logout-modal .modal-body {
            padding: 20px 24px 24px;
        }

        .logout-modal .modal-footer {
            padding: 0 24px 24px;
            display: flex;
            gap: 10px;
            width: 100%;
        }

        .logout-modal .modal-footer .btn {
            flex: 1;
        }

        .date-range-picker {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        .alert {
            padding: 12px 16px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: block;
            line-height: 1.6;
        }

        .alert ul {
            display: block;
            margin: 10px 0 0 0;
            padding-left: 20px;
            list-style: disc;
        }

        .alert li {
            display: list-item;
            margin-bottom: 8px;
        }

        .alert-warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
            border: 1px solid rgba(245, 158, 11, 0.2);
        }

        .alert-danger {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-secondary);
        }

        .empty-state svg {
            width: 100px;
            height: 100px;
            margin-bottom: 20px;
            opacity: 0.3;
        }
		
		/* Admin Styles */
		.admin-container {
			display: none;
		}

		.admin-tabs {
			display: flex;
			gap: 10px;
			margin-bottom: 20px;
			border-bottom: 2px solid var(--border-color);
		}

		.admin-tab {
			padding: 12px 20px;
			background: none;
			border: none;
			color: var(--text-secondary);
			font-size: 16px;
			font-weight: 500;
			cursor: pointer;
			position: relative;
			transition: color 0.3s;
		}

		.admin-tab.active {
			color: var(--primary-color);
		}

		.admin-tab.active::after {
			content: '';
			position: absolute;
			bottom: -2px;
			left: 0;
			right: 0;
			height: 2px;
			background: var(--primary-color);
		}

		.search-container {
			margin-bottom: 20px;
			position: relative;
			max-width: 500px;
		}

		.search-icon {
			position: absolute;
			left: 16px;
			top: 50%;
			transform: translateY(-50%);
			font-size: 18px;
			pointer-events: none;
			z-index: 1;
		}

		.search-container .search-input {
			width: 100%;
			padding-left: 48px;
			padding-right: 48px;
		}

		.search-clear {
			position: absolute;
			right: 12px;
			top: 50%;
			transform: translateY(-50%);
			background: none;
			border: none;
			font-size: 20px;
			color: var(--text-secondary);
			cursor: pointer;
			padding: 4px 8px;
			border-radius: 4px;
			transition: all 0.2s;
		}

		.search-clear:hover {
			background: var(--secondary-color);
			color: var(--text-primary);
		}

		.children-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
			gap: 15px;
			margin-bottom: 20px;
		}

		.child-card {
			background: white;
			border-radius: 12px;
			padding: 20px;
			cursor: pointer;
			transition: all 0.3s;
			border: 2px solid transparent;
		}

		.child-card:hover {
			transform: translateY(-2px);
			box-shadow: var(--shadow-md);
			border-color: var(--primary-color);
		}

		.child-card.selected {
			border-color: var(--primary-color);
			background: rgba(99, 102, 241, 0.05);
		}

		.child-name {
			font-weight: 600;
			color: white;
			margin-bottom: 8px;
		}

        .child-name-admin {
			font-weight: 600;
			margin-bottom: 8px;
		}

		.child-info {
			font-size: 14px;
			color: var(--text-secondary);
			display: flex;
			flex-direction: column;
			gap: 4px;
            padding-top: 10px;
		}

		.child-info span {
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		/* Selected Child Section */
		.selected-child-section {
			margin-top: 30px;
			padding-top: 20px;
			border-top: 1px solid var(--border-color);
		}

		.selected-child-header {
			margin-bottom: 20px;
		}

		.selected-child-header h3 {
			font-size: 18px;
			font-weight: 600;
			color: var(--text-primary);
			margin: 0;
		}

		.child-requests {
			display: flex;
			flex-direction: column;
			gap: 15px;
		}

		.admin-request-card {
			background: white;
			border-radius: 12px;
			padding: 20px;
			margin-bottom: 15px;
			border-left: 4px solid var(--border-color);
		}

		.admin-request-card.pending {
			border-left: 4px solid #3b82f6;
			background: rgba(59, 130, 246, 0.08);
			box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
		}

		.request-header {
			display: flex;
			justify-content: space-between;
			align-items: start;
			margin-bottom: 10px;
		}

		.request-period {
			font-weight: 600;
			color: var(--text-primary);
		}

		.days-breakdown {
			background: var(--secondary-color);
			padding: 8px 12px;
			border-radius: 8px;
			font-size: 14px;
			color: var(--text-primary);
			margin: 10px 0;
		}

		/* Responsive Users Table */
		.users-table-container {
			overflow-x: auto;
			background: white;
			border-radius: 12px;
		}

		.users-table {
			width: 100%;
			min-width: 600px;
			background: white;
			border-radius: 12px;
			overflow: hidden;
		}

		.users-table th {
			background: var(--secondary-color);
			padding: 12px;
			text-align: left;
			font-weight: 600;
			color: var(--text-primary);
			font-size: 14px;
			white-space: nowrap;
		}

		.users-table td {
			padding: 12px;
			border-bottom: 1px solid var(--border-color);
		}

		.users-table tr:last-child td {
			border-bottom: none;
		}

		/* Children badges in users table */
		.children-badges {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
		}

		.child-badge {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			padding: 6px 12px;
			border-radius: 20px;
			font-size: 13px;
			font-weight: 500;
			background: var(--background-color);
			border: 1px solid var(--border-color);
			transition: all 0.2s ease;
		}

		.child-badge:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		}

		.child-badge.badge-purple {
			background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-blue {
			background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-green {
			background: linear-gradient(135deg, #10b981 0%, #059669 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-orange {
			background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-pink {
			background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-teal {
			background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-red {
			background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-indigo {
			background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-yellow {
			background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
			color: white;
			border: none;
		}

		.child-badge.badge-cyan {
			background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
			color: white;
			border: none;
		}

		.child-name {
			font-weight: 600;
		}

		.child-balance {
			background: rgba(255, 255, 255, 0.3);
			padding: 2px 6px;
			border-radius: 10px;
			font-size: 11px;
			font-weight: 600;
		}

		/* Mobile view - Cards layout */
		@media (max-width: 768px) {
			.users-table-container {
				background: transparent;
			}
			
			.users-table {
				display: block;
				background: transparent;
				min-width: auto;
			}
			
			.users-table thead {
				display: none;
			}
			
			.users-table tbody {
				display: block;
			}
			
			.users-table tr {
				display: block;
				background: white;
				border-radius: 12px;
				margin-bottom: 15px;
				padding: 15px;
				box-shadow: var(--shadow-sm);
			}
			
			.users-table td {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 8px 0;
				border-bottom: none;
			}
			
			.users-table td:not(:last-child) {
				border-bottom: 1px solid var(--border-color);
			}
			
			.users-table td::before {
				content: attr(data-label);
				font-weight: 600;
				color: var(--text-secondary);
				font-size: 14px;
			}
			
			.users-table td:last-child {
				justify-content: flex-end;
				padding-top: 12px;
			}
			
			.users-table td:last-child::before {
				display: none;
			}
			
			/* Ajustements pour les badges en mobile */
			.children-badges {
				justify-content: flex-end;
				max-width: 60%;
			}
			
			.child-badge {
				font-size: 12px;
				padding: 4px 8px;
			}
		}
		.user-actions {
			display: flex;
			gap: 8px;
		}

		.btn-icon {
			padding: 6px 10px;
			font-size: 14px;
			border-radius: 6px;
			border: 1px solid var(--border-color);
			background: white;
			cursor: pointer;
			transition: all 0.3s;
		}

		.btn-icon:hover {
			background: var(--secondary-color);
		}

		.admin-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 20px;
		}

		.request-actions {
			display: flex;
			gap: 10px;
			justify-content: space-between;
			align-items: center;
		}

		.actions-left {
			display: flex;
			gap: 10px;
		}

		.invoice-info {
			color: var(--success-color);
			font-size: 14px;
			font-weight: 500;
		}

        /* Responsive */
        @media (max-width: 768px) {
            .calendar-grid {
                font-size: 14px;
            }

            .calendar-day {
                min-height: 60px;
                padding: 8px;
            }

            .header-content {
                flex-direction: column;
                align-items: flex-start;
            }

            .date-range-picker {
                grid-template-columns: 1fr;
            }

            .request-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .request-actions {
                width: 100%;
                flex-direction: column;
                gap: 10px;
            }

            .actions-left {
                width: 100%;
                flex-wrap: wrap;
                gap: 8px;
            }

            .actions-left .btn-sm {
                padding: 14px 24px;
                font-size: 16px;
                flex: 1 1 calc(50% - 4px);
            }

            .actions-left .btn-sm:last-child {
                flex: 1 1 100%;
            }

            /* Modal adjustments for mobile */
            .modal {
                padding: 10px;
            }

            .modal-content {
                max-height: 85vh;
                border-radius: 15px;
                display: flex;
                flex-direction: column;
            }

            .modal-body {
                padding: 16px;
                overflow-y: auto;
                flex: 1;
            }

            .modal-header {
                padding: 16px 16px 0;
                padding-bottom: 12px;
                flex-shrink: 0;
            }

            .modal-footer {
                padding: 0 16px 16px;
                flex-shrink: 0;
            }

            .modal-header h2 {
                font-size: 18px;
            }

            .form-group {
                margin-bottom: 12px;
            }

            .form-group label {
                margin-bottom: 6px;
                font-size: 13px;
            }

            .form-control {
                padding: 10px 12px;
                font-size: 15px;
            }
        }

        /* Account View */
        .account-container {
            display: none;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: var(--shadow-sm);
            max-width: 600px;
            margin: 0 auto;
        }

        .profile-header {
            text-align: center;
            padding-bottom: 30px;
            border-bottom: 2px solid var(--border-color);
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 32px;
            color: white;
        }

        .profile-info {
            margin-top: 30px;
        }

        .profile-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .profile-item:last-child {
            border-bottom: none;
        }

        .profile-label {
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
        }

        .profile-value {
            color: var(--text-primary);
            font-weight: 600;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        /* Mobile Bottom Navigation */
        @media (max-width: 768px) {
            .header-info {
                width: 100%;
                justify-content: space-between;
            }

            .nav-tabs {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                top: auto;
                background: white;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
                z-index: 1000;
                padding: 0;
            }

            .nav-tabs-content {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 0;
                padding: 0;
            }

            #adminNavTabs .nav-tabs-content {
                grid-template-columns: repeat(4, 1fr);
            }

            .nav-tab {
                padding: 12px 8px;
                font-size: 12px;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 4px;
                position: relative;
            }

            .profile-value {
                font-size: clamp(12px, 3.5vw, 16px);
                text-align: right;
            }
            
            .nav-tab::before {
                content: '';
                font-size: 20px;
                display: block;
            }

            /* Parent nav icons */
            #parentNavTabs .nav-tab:nth-child(1)::before { content: '📅'; }
            #parentNavTabs .nav-tab:nth-child(2)::before { content: '📋'; }
            #parentNavTabs .nav-tab:nth-child(3)::before { content: '👤'; }

            /* Admin nav icons */
            #adminNavTabs .nav-tab:nth-child(1)::before { content: '📅'; }
            #adminNavTabs .nav-tab:nth-child(2)::before { content: '📋'; }
            #adminNavTabs .nav-tab:nth-child(3)::before { content: '👥'; }
            #adminNavTabs .nav-tab:nth-child(4)::before { content: '⚙️'; }
            
            .nav-tab.active::after {
                height: 2px;
                top: 0;
                bottom: auto;
            }
            
            /* .nav-tab:last-child {
                margin-left: 0;
                background: transparent;
                color: var(--primary-color);
                padding: 12px 8px;
                border-radius: 0;
            } */
            
            .main-content {
                padding-bottom: 80px;
            }
            
            .app-container {
                padding-bottom: 60px;
            }
        }

        /* Desktop - keep admin button style */
        @media (min-width: 769px) {
            /* .nav-tab:last-child {
                margin-left: auto;
                background: var(--primary-color);
                color: white;
                padding: 8px 20px;
                border-radius: 8px;
            } */
        }

        /* Avatar styles */
        .child-avatar {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 18px;
            flex-shrink: 0;
        }

        .child-avatar-small {
            width: 32px;
            height: 32px;
            font-size: 14px;
            border-radius: 8px;
        }

        .child-avatar-tiny {
            width: 20px;
            height: 20px;
            font-size: 10px;
            border-radius: 4px;
        }

        .child-avatar-large {
            width: 60px;
            height: 60px;
            font-size: 24px;
            border-radius: 15px;
        }

        /* Children selector in forms */
        .children-selector {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .child-select-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s;
            background: white;
        }

        .child-select-card:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.05);
        }

        .child-select-card.selected {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.1);
        }

        .child-select-card.selected .child-avatar {
            transform: scale(1.1);
        }

        .child-select-name {
            font-weight: 500;
            color: var(--text-primary);
        }

        /* Avatar colors - gradients */
        .avatar-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .avatar-blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
        .avatar-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
        .avatar-orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
        .avatar-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
        .avatar-teal { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
        .avatar-red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
        .avatar-indigo { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
        .avatar-yellow { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
        .avatar-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

        /* Children list in request cards */
        .request-children {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        /* Account view children list */
        .children-list {
            margin-top: 20px;
        }

        .child-account-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: var(--secondary-color);
            border-radius: 10px;
            margin-bottom: 10px;
        }

        /* Modal sections */
        .modal-section {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .modal-section:last-child {
            border-bottom: none;
        }

        .section-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 15px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        /* Add child button in forms */
        .add-child-button {
            color: var(--primary-color);
            background: none;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .add-child-button:hover {
            opacity: 0.7;
        }

        /* Children table */
        .children-table-container {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }

        .children-table {
            width: 100%;
            border-collapse: collapse;
        }

        .children-table thead {
            background: var(--background-color);
        }

        .children-table th {
            padding: 12px;
            text-align: left;
            font-weight: 500;
            font-size: 13px;
            color: var(--text-light);
            border-bottom: 1px solid var(--border-color);
        }

        .children-table td {
            padding: 8px 12px;
            border-bottom: 1px solid var(--border-color);
        }

        .children-table tbody tr:last-child td {
            border-bottom: none;
        }

        .children-table input,
        .children-table select {
            width: 100%;
            padding: 6px 10px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            background-color: var(--card-bg);
            color: var(--text-color);
        }

        .children-table input[type="number"] {
            max-width: 120px;
        }

        .children-table select {
            cursor: pointer;
        }

        .remove-child-btn {
            padding: 6px 12px;
            background: var(--danger-color);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            transition: opacity 0.3s;
        }

        .remove-child-btn:hover {
            opacity: 0.8;
        }

        .child-input-group {
            display: grid;
            grid-template-columns: 1fr 1fr auto;
            gap: 10px;
            margin-bottom: 10px;
            align-items: end;
        }

        /* Child Cards (User Modal) */
        #childrenCardsContainer {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .child-card {
            background: var(--secondary-color);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: hidden;
            transition: box-shadow 0.2s ease;
        }

        .child-card:hover {
            box-shadow: var(--shadow-sm);
        }

        .child-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px;
            gap: 12px;
            background: white;
        }

        .child-card-main-fields {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            flex: 1;
        }

        .child-field-name {
            flex: 1;
            min-width: 120px;
        }

        .child-field-category {
            width: 100px;
        }

        .child-card-main-fields .form-control {
            padding: 8px 10px;
            font-size: 14px;
        }

        .child-card-actions {
            display: flex;
            gap: 6px;
            flex-shrink: 0;
        }

        .btn-remove-child {
            width: 32px;
            height: 32px;
            border: none;
            background: var(--danger-color);
            color: white;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: opacity 0.2s ease;
        }

        .btn-remove-child:hover {
            opacity: 0.8;
        }

        .child-card-details {
            background: var(--secondary-color);
            border-top: 1px solid var(--border-color);
        }

        .child-details-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            padding: 12px;
        }

        .child-details-grid .child-field label {
            display: block;
            font-size: 11px;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .child-details-grid .form-control {
            padding: 8px 10px;
            font-size: 14px;
        }

        .form-control-static {
            padding: 8px 10px;
            font-size: 14px;
            background: var(--secondary-color);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            color: var(--text-secondary);
            cursor: not-allowed;
        }

        .optional-label {
            font-weight: 400;
            color: var(--text-secondary);
            font-size: 10px;
        }

        /* Responsive: stack details on smaller screens */
        @media (max-width: 600px) {
            .child-card-main-fields {
                flex-direction: column;
            }

            .child-field-name,
            .child-field-category {
                width: 100%;
                min-width: auto;
            }

            .child-details-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 400px) {
            .child-details-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Context Menu */
        .context-menu {
            position: fixed;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            padding: 8px;
            z-index: 1500;
            display: none;
            min-width: 200px;
            animation: fadeIn 0.2s ease-out;
        }

        .context-menu.active {
            display: block;
        }

        .context-menu-item {
            padding: 12px 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-primary);
            font-size: 14px;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .context-menu-item:hover {
            background: var(--secondary-color);
        }

        .context-menu-item.primary {
            color: var(--primary-color);
            font-weight: 500;
        }

        .context-menu-divider {
            height: 1px;
            background: var(--border-color);
            margin: 8px 0;
        }

        .context-menu-header {
            padding: 8px 16px;
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
        }

        /* Absence Counter in Context Menu */
        .absence-counter {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 16px;
            font-size: 13px;
            color: var(--text-primary);
            border-bottom: 1px solid var(--border-color);
            font-weight: 500;
        }

        .absence-counter-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .absence-counter-mobile {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 400;
            margin-top: 6px;
        }

        .absence-counter-mobile .absence-counter-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .absence-counter-mobile .child-avatar {
            width: 20px !important;
            height: 20px !important;
            font-size: 9px !important;
        }

        /* Bottom Sheet for Mobile */
        .bottom-sheet-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .bottom-sheet-overlay.active {
            display: block;
            opacity: 1;
        }

        .bottom-sheet {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            z-index: 2000;
            max-height: 70vh;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: none;
            flex-direction: column;
        }

        .bottom-sheet.active {
            display: flex;
            transform: translateY(0);
        }

        .bottom-sheet-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        .bottom-sheet-handle {
            width: 40px;
            height: 4px;
            background: var(--border-color);
            border-radius: 2px;
            margin: 0 auto 12px;
        }

        .bottom-sheet-header h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
            text-align: center;
        }

        .bottom-sheet-content {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            padding-bottom: 0;
        }

        .bottom-sheet-section {
            margin-bottom: 20px;
        }

        .bottom-sheet-subtitle {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }

        .bottom-sheet-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .bottom-sheet-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px;
            background: var(--secondary-color);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            width: 100%;
            text-align: left;
        }

        .bottom-sheet-item:active {
            transform: scale(0.98);
            background: #e5e7eb;
        }

        .bottom-sheet-item-icon {
            font-size: 20px;
            flex-shrink: 0;
        }

        .bottom-sheet-item-content {
            flex: 1;
        }

        .bottom-sheet-item-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .bottom-sheet-item-subtitle {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .bottom-sheet-item-badge {
            font-size: 11px;
            color: var(--success-color);
            font-weight: 600;
            margin-top: 4px;
        }

        .bottom-sheet-footer {
            padding: 16px 20px;
            border-top: 1px solid var(--border-color);
            background: white;
        }

        .btn-block {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .bottom-sheet-empty {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-secondary);
        }

        .bottom-sheet-empty-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }

        /* Hide bottom sheet on desktop, show context menu */
        @media (min-width: 769px) {
            .bottom-sheet,
            .bottom-sheet-overlay {
                display: none !important;
            }
        }

        /* Hide context menu on mobile, show bottom sheet */
        @media (max-width: 768px) {
            .context-menu {
                display: none !important;
            }
        }

        /* App Loader */
        .app-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            backdrop-filter: blur(4px);
        }

        .app-loader.hidden {
            display: none;
        }

        .loader-content {
            text-align: center;
        }

        .spinner {
            width: 50px;
            height: 50px;
            margin: 0 auto 20px;
            border: 4px solid var(--secondary-color);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader-content p {
            color: var(--text-secondary);
            font-size: 16px;
            font-weight: 500;
        }

        /* Settings Panel Navigation */
        .settings-layout {
            display: flex;
            gap: 24px;
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .settings-nav {
            width: 220px;
            flex-shrink: 0;
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .settings-nav-list {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        .settings-nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }

        .settings-nav-item:hover {
            background: var(--secondary-color);
            color: var(--text-primary);
        }

        .settings-nav-item.active {
            background: rgba(99, 102, 241, 0.08);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }

        .settings-nav-item span.nav-icon {
            font-size: 18px;
        }

        .settings-content {
            flex: 1;
            min-width: 0;
        }

        .settings-section {
            display: none;
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .settings-section.active {
            display: block;
        }

        .settings-section h3 {
            margin-bottom: 8px;
            color: var(--primary-color);
            font-size: 18px;
        }

        .settings-section-description {
            color: var(--text-secondary);
            margin-bottom: 24px;
            font-size: 14px;
            line-height: 1.5;
        }

        .settings-preview {
            margin-top: 20px;
            padding: 15px;
            background: var(--secondary-color);
            border-radius: 8px;
        }

        .settings-preview p {
            margin: 0;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .settings-actions {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }

        /* Responsive: Mobile settings nav */
        @media (max-width: 768px) {
            .settings-layout {
                flex-direction: column;
                padding: 15px;
                gap: 16px;
            }

            .settings-nav {
                width: 100%;
                position: static;
            }

            .settings-nav-list {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                padding: 8px;
            }

            .settings-nav-item {
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 12px 8px;
                border-left: none;
                border-radius: 10px;
                text-align: center;
                border: 2px solid transparent;
            }

            .settings-nav-item span.nav-icon {
                font-size: 24px;
            }

            .settings-nav-item span:not(.nav-icon) {
                font-size: 11px;
                line-height: 1.2;
                white-space: normal;
            }

            .settings-nav-item:hover {
                background: var(--secondary-color);
            }

            .settings-nav-item.active {
                background: rgba(99, 102, 241, 0.1);
                border-color: var(--primary-color);
                border-left-color: var(--primary-color);
            }

            .settings-section {
                padding: 16px;
            }

            .settings-section h3 {
                font-size: 16px;
            }
        }

        /* Email Campaign styles */
        .campaign-card {
            transition: box-shadow 0.2s;
        }

        .campaign-card:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        }

        .reminder-checkbox {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            border: 2px solid var(--border-color, #dee2e6);
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s;
            user-select: none;
        }

        .reminder-checkbox:hover {
            border-color: var(--primary-color, #6366f1);
            background: rgba(99, 102, 241, 0.04);
        }

        .reminder-checkbox:has(input:checked) {
            border-color: var(--primary-color, #6366f1);
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color, #6366f1);
        }

        .reminder-checkbox input[type="checkbox"] {
            display: none;
        }

        .email-campaign-tags-help code {
            background: rgba(0, 0, 0, 0.06);
            padding: 1px 6px;
            border-radius: 4px;
            font-size: 12px;
        }

        #campaignBodyPreview p {
            margin: 0 0 8px 0;
        }

        #emailCampaignModal .modal-body {
            max-height: 70vh;
            overflow-y: auto;
        }

        /* Utility classes */
        .text-center { text-align: center; }
        .mb-3 { margin-bottom: 1rem; }
        .mt-3 { margin-top: 1rem; }

        /* ============================================================================
           NOTIFICATION DROPDOWN STYLES
           ============================================================================ */

        .notification-dropdown {
            position: relative;
            display: flex;
            align-items: center;
        }

        .notification-trigger {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: none;
            background: transparent;
            border-radius: 10px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            color: var(--text-primary);
        }

        .notification-trigger:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .notification-icon {
            width: 22px;
            height: 22px;
            color: var(--text-secondary);
        }

        .notification-badge {
            position: absolute;
            top: 4px;
            right: 4px;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            background-color: var(--danger-color);
            color: white;
            font-size: 11px;
            font-weight: 600;
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: notificationPulse 0.3s ease;
        }

        @keyframes notificationPulse {
            0% { transform: scale(0.5); opacity: 0; }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); opacity: 1; }
        }

        .notification-menu {
            position: absolute;
            top: 100%;
            right: 0;
            width: 360px;
            max-width: calc(100vw - 20px);
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.2s ease;
            z-index: 1000;
            overflow: hidden;
        }

        .notification-menu.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(8px) scale(1);
        }

        .notification-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-color);
            background-color: #fafafa;
        }

        .notification-header span {
            font-weight: 600;
            font-size: 15px;
            color: var(--text-primary);
        }

        .notification-mark-all {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background-color 0.2s ease;
        }

        .notification-mark-all:hover {
            background-color: rgba(99, 102, 241, 0.1);
        }

        .notification-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .notification-empty,
        .notification-loading {
            padding: 40px 20px;
            text-align: center;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .notification-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 16px;
            cursor: pointer;
            transition: background-color 0.15s ease;
            position: relative;
            border-bottom: 1px solid var(--border-color);
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-item:hover {
            background-color: #f9fafb;
        }

        .notification-item.unread {
            background-color: rgba(99, 102, 241, 0.04);
        }

        .notification-item.unread:hover {
            background-color: rgba(99, 102, 241, 0.08);
        }

        .notification-item-icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f3f4f6;
            border-radius: 50%;
            font-size: 16px;
        }

        .notification-item-content {
            flex: 1;
            min-width: 0;
        }

        .notification-item-message {
            font-size: 14px;
            color: var(--text-primary);
            line-height: 1.4;
            margin: 0;
            word-wrap: break-word;
        }

        .notification-item.unread .notification-item-message {
            font-weight: 500;
        }

        .notification-item-time {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 4px;
            display: block;
        }

        .notification-item-dot {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background-color: var(--primary-color);
            border-radius: 50%;
        }

        /* Mobile responsive styles for notifications */
        @media (max-width: 768px) {
            .notification-menu {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                max-width: 100%;
                border-radius: 16px 16px 0 0;
                transform: translateY(100%);
                max-height: 70vh;
            }

            .notification-menu.open {
                transform: translateY(0);
            }

            .notification-list {
                max-height: calc(70vh - 60px);
            }

            .notification-trigger {
                width: 36px;
                height: 36px;
            }

            .notification-badge {
                top: 2px;
                right: 2px;
                min-width: 16px;
                height: 16px;
                font-size: 10px;
            }
        }
