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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            color: white;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 2.5rem;
            margin: 0;
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-top: 10px;
        }

        /* Header Title Container - side by side layout */
        .header-title-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 10px;
        }

        /* Header Animation Styles */
        .header-animation {
            position: relative;
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .globe {
            font-size: 3rem;
            position: relative;
            z-index: 0;
            /* Earth stays stationary */
        }

        .airplane-orbit {
            position: absolute;
            width: 90px;
            height: 90px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .airplane {
            position: absolute;
            font-size: 2rem;
        }

        .airplane-front {
            z-index: 10;
            animation: arc-flight-front 12s cubic-bezier(0.25, 0, 0.75, 1) infinite;
        }


        @keyframes arc-flight-front {
            0% { 
                /* Start: Left side, very small - slow */
                left: -12px;
                top: 34px;
                transform: rotate(45deg) scale(0.1);
            }
            50% { 
                /* Middle: Arc bottom, full size - fastest */
                left: 22px;
                top: 41px;
                transform: rotate(45deg) scale(1);
            }
            100% { 
                /* End: Right side, very small - slow again */
                left: 56px;
                top: 34px;
                transform: rotate(45deg) scale(0.1);
            }
        }


        .main-content {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .content-layout {
            display: flex;
            gap: 20px;
        }

        .main-panel {
            flex: 1;
            min-width: 0; /* Allow flex shrinking */
            overflow: hidden; /* Prevent horizontal overflow */
        }
        

        .calendar-panel {
            width: 300px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            transition: all 0.3s ease;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 20px;
            height: fit-content;
            max-height: calc(100vh - 40px); /* Allow almost full viewport but with margin */
            overflow: visible; /* No scrollbar on outer panel */
        }
        
        /* Calendar widget specific scrolling (only for the calendar part) */
        .calendar-widget {
            max-height: 500px; /* Reasonable limit for calendar */
            overflow-y: auto; /* Only calendar can scroll if needed */
        }
        
        /* When image viewer is present, adjust calendar widget height */
        .calendar-panel.has-image-viewer .calendar-widget {
            max-height: 300px; /* Smaller calendar when images are shown */
        }
        
        /* Remove duplicate - styles handled below */

        .calendar-header {
            margin-bottom: 20px;
            text-align: center;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 10px;
        }

        .calendar-header h3 {
            margin: 0;
            color: #667eea;
            font-size: 1.2rem;
        }

        /* Calendar panel collapsed state */
        .calendar-panel.collapsed {
            width: 60px;
            overflow: hidden;
        }
        
        .calendar-panel.collapsed .calendar-widget {
            display: none;
        }
        
        .calendar-panel.collapsed h3 {
            display: none;
        }
        
        /* Collapse button styles */
        .collapse-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            transition: background-color 0.2s ease;
            float: right;
            margin-top: -5px;
        }
        
        .collapse-btn:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }
        
        .collapse-arrow {
            font-size: 16px;
            transition: transform 0.3s ease;
            display: inline-block;
        }
        
        .calendar-panel.collapsed .collapse-arrow {
            transform: rotate(180deg);
        }
        
        /* Image viewer styles */
        .image-viewer-content {
            padding: 15px 0 10px 0;
            border-top: 2px solid #e0e0e0;
            margin-top: 20px;
            max-height: none; /* Allow image viewer to expand fully */
            overflow: visible; /* No scrollbar on image content */
        }
        
        .image-viewer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .image-viewer-header h4 {
            margin: 0;
            font-size: 1.1em;
        }
        
        .clear-images-btn {
            padding: 4px 8px;
            font-size: 12px;
            line-height: 1;
        }
        
        .images-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .image-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .image-item img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .image-item img:hover {
            transform: scale(1.02);
        }
        
        .image-item.failed .image-fallback {
            display: block !important;
            text-align: center;
            padding: 40px 20px;
            background: #f8f9fa;
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            color: #666;
        }
        
        .image-item.failed .image-fallback p {
            margin: 0 0 10px 0;
            font-size: 0.9em;
        }
        
        .image-search-actions {
            padding: 10px 0;
            border-top: 1px solid #e9ecef;
        }
        
        .no-images-message {
            text-align: center;
            padding: 40px 20px;
            color: #666;
        }
        
        .viewer-actions {
            text-align: center;
            padding-top: 10px;
            border-top: 1px solid #e0e0e0;
        }
        
        /* Image modal styles */
        .image-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .image-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            cursor: pointer;
        }
        
        .image-modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .image-modal-content img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .image-modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .image-modal-close:hover {
            background: rgba(0, 0, 0, 0.7);
        }
        
        .image-modal-caption {
            padding: 15px;
            margin: 0;
            background: #f8f9fa;
            text-align: center;
            font-weight: 500;
        }
        
        /* Recommendation item hover effect */
        .recommendation-item {
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .recommendation-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        /* Adjust calendar header layout */
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .calendar-header h3 {
            margin: 0;
        }

        /* Hide calendar panel on mobile/tablet */
        @media (max-width: 1024px) {
            .calendar-panel {
                display: none;
            }
            
            .content-layout {
                display: block;
            }
        }

        .tabs {
            display: flex;
            border-bottom: 2px solid #e0e0e0;
            margin-bottom: 20px;
            overflow-x: hidden; /* Prevent horizontal scrolling */
            width: 100%;
            box-sizing: border-box;
        }

        .tab {
            padding: 16px 24px;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 1rem;
            font-weight: 500;
            color: #444;
            transition: all 0.3s ease;
            white-space: nowrap;
            min-height: 44px;
            display: flex;
            align-items: center;
            outline: none;
        }

        .tab:focus-visible {
            outline: 3px solid #667eea;
            outline-offset: 2px;
            border-radius: 4px;
        }

        .tab.active {
            color: #667eea;
            border-bottom: 3px solid #667eea;
        }

        .tab:hover {
            color: #667eea;
        }

        .tab-content {
            display: none;
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        #tab-content-container {
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        /* Navigation Container */
        .navigation-container {
            position: relative;
        }

        /* Hamburger Menu Styles */
        .hamburger-menu-container {
            display: none; /* Hidden by default, shown on mobile */
            position: relative;
        }

        .hamburger-btn {
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 48px;
            height: 48px;
            padding: 12px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            border-radius: 8px;
            /* Improved focus indicator */
            outline: none;
        }

        .hamburger-btn:focus-visible {
            outline: 3px solid #667eea;
            outline-offset: 2px;
        }

        .hamburger-btn:hover {
            transform: scale(1.1);
        }

        .hamburger-line {
            display: block;
            height: 3px;
            width: 100%;
            background-color: #667eea;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .hamburger-btn.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger-btn.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-btn.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        .hamburger-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .hamburger-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .hamburger-menu {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100%;
            background: white;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 999;
            transition: all 0.3s ease;
            overflow-y: auto;
        }

        .hamburger-menu.active {
            left: 0;
        }

        .hamburger-menu-list {
            list-style: none;
            padding: 60px 0 20px 0;
            margin: 0;
        }

        .hamburger-menu-list li {
            border-bottom: 1px solid #f0f0f0;
        }

        .hamburger-tab {
            width: 100%;
            padding: 20px 24px;
            text-align: left;
            background: none;
            border: none;
            font-size: 1.1rem;
            font-weight: 500;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            min-height: 48px;
            outline: none;
        }

        .hamburger-tab:focus-visible {
            outline: 3px solid #667eea;
            outline-offset: -3px;
        }

        .hamburger-tab:hover {
            background-color: #f8f9ff;
            color: #667eea;
        }

        .hamburger-tab.active {
            background-color: #667eea;
            color: white;
        }

        /* Screen reader only content */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Tab text styling for better screen reader support */
        .tab-text {
            margin-left: 0.5em;
        }

        /* Better color contrast for text */
        body {
            color: #222;
        }

        /* Consolidated button styles - removed duplicate */

        .btn-secondary {
            background: #6c757d;
            color: white;
        }

        .btn-secondary:hover {
            background: #5a6268;
        }

        .btn-secondary:focus-visible {
            outline: 3px solid #495057;
            outline-offset: 2px;
        }

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

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(100%); }
            to { opacity: 1; transform: translateX(0); }
        }

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

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: #333;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #667eea;
        }

        /* Force date inputs to display in YYYY-MM-DD format */
        input[type="date"] {
            text-align: left;
            font-family: 'Courier New', monospace;
            letter-spacing: 0.5px;
        }

        /* Hide the calendar picker icon and use custom styling */
        input[type="date"]::-webkit-calendar-picker-indicator {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23667eea' d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E") no-repeat center center;
            background-size: 16px 16px;
            cursor: pointer;
        }

        /* Ensure consistent date format display */
        input[type="date"]::-webkit-datetime-edit {
            padding: 0;
        }

        input[type="date"]::-webkit-datetime-edit-fields-wrapper {
            background: transparent;
        }

        input[type="date"]::-webkit-datetime-edit-month-field,
        input[type="date"]::-webkit-datetime-edit-day-field,
        input[type="date"]::-webkit-datetime-edit-year-field {
            color: #333;
        }

        /* Custom date input styling */
        .date-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .date-input-custom {
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            font-weight: bold;
            padding-right: 40px !important;
        }

        .date-input-custom::placeholder {
            color: #999;
            font-weight: normal;
            letter-spacing: 0.5px;
        }

        .date-picker-btn {
            position: absolute;
            right: 8px;
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: background 0.2s ease;
        }

        .date-picker-btn:hover {
            background: rgba(102, 126, 234, 0.1);
        }

        .date-input-custom:focus + .date-picker-btn {
            color: #667eea;
        }

        textarea {
            resize: vertical;
            min-height: 80px;
        }

        .btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-right: 10px;
            margin-bottom: 10px;
            min-height: 44px;
            outline: none;
        }

        .btn:focus-visible {
            outline: 3px solid #4c63d2;
            outline-offset: 2px;
        }

        .btn:hover {
            background: linear-gradient(135deg, #5a67d8, #6c5ce7);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
        }

        .btn-secondary {
            background: #6c757d;
        }

        .btn-danger {
            background: #dc3545;
        }

        .item-card {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .item-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

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

        .item-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            flex-grow: 1;
        }

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

        .btn-small {
            padding: 6px 12px;
            font-size: 0.9rem;
        }

        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .summary-card {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
        }

        .summary-number {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .loading-text {
            font-size: 1rem !important;
            opacity: 0.7;
            font-style: italic;
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 0.7;
            }
            50% {
                opacity: 0.3;
            }
        }

        .summary-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        .budget-bar {
            width: 100%;
            height: 20px;
            background: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
            margin: 10px 0;
        }

        .budget-fill {
            height: 100%;
            background: linear-gradient(90deg, #28a745, #20c997);
            transition: width 0.3s ease;
            border-radius: 10px;
        }

        .budget-over {
            background: linear-gradient(90deg, #dc3545, #e74c3c);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 15px;
        }

        /* Navigation display controlled by JavaScript based on overflow */
        .tabs.force-hidden {
            display: none !important;
        }

        .hamburger-menu-container.force-show {
            display: block !important;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 2rem;
            }

            .main-content {
                padding: 20px;
            }
        }

        .empty-state {
            text-align: center;
            padding: 40px;
            color: #666;
        }

        .empty-state h3 {
            margin-bottom: 10px;
        }

        .day-section {
            margin-bottom: 30px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            overflow: hidden;
        }

        .day-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 15px 20px;
            font-weight: 600;
        }

        .day-content {
            padding: 20px;
        }

        .activity-item {
            display: flex;
            align-items: center;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .hotel-item {
            background: #e8f5e8;
            border-left: 4px solid #28a745;
        }

        .activity-time {
            background: #667eea;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            margin-right: 15px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .activity-details {
            flex-grow: 1;
        }

        .activity-name {
            font-weight: 600;
            margin-bottom: 2px;
        }

        .activity-location {
            color: #666;
            font-size: 0.9rem;
        }

        .export-section {
            margin-top: 30px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
        }

        /* Collapsible Panel Styles */
        .collapsible-header {
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0;
            margin: 0;
            transition: all 0.3s ease;
        }

        .collapsible-header:hover {
            opacity: 0.8;
        }

        .collapse-icon {
            font-size: 1.2em;
            transition: transform 0.3s ease;
            margin-left: 10px;
        }

        .collapse-icon.collapsed {
            transform: rotate(-90deg);
        }

        .collapsible-content {
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .collapsible-content.collapsed {
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
            margin-top: 0;
            margin-bottom: 0;
        }

        .collapsible-content.expanded {
            max-height: 10000px; /* Increased limit for many AI suggestions */
            overflow-y: auto; /* Enable scrolling if content is very tall */
        }

        /* Date Edit Button Styles */
        .date-text {
            display: inline;
        }

        .date-edit-btn {
            margin-left: 8px;
            padding: 2px 6px;
            font-size: 0.7rem;
            background: #6c757d;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .date-edit-btn:hover {
            background: #5a6268;
        }
        
        /* Time Edit Button Styles */
        .time-text {
            display: inline;
        }
        .time-edit-btn {
            margin-left: 8px;
            padding: 2px 6px;
            font-size: 0.7rem;
            background: #17a2b8;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        .time-edit-btn:hover {
            background: #138496;
        }

        /* Date Popup Styles */
        .date-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            border: 2px solid #667eea;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            z-index: 1000;
            min-width: 280px;
        }

        .date-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .date-popup h4 {
            margin: 0 0 15px 0;
            color: #333;
        }

        .date-popup input[type="date"] {
            width: 100%;
            padding: 10px;
            border: 2px solid #667eea;
            border-radius: 4px;
            font-size: 1rem;
            margin-bottom: 15px;
        }

        .date-popup-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .date-popup-buttons button {
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .btn-save-date {
            background: #28a745;
            color: white;
        }

        .btn-save-date:hover {
            background: #218838;
        }

        .btn-cancel-date {
            background: #6c757d;
            color: white;
        }

        .btn-cancel-date:hover {
            background: #5a6268;
        }
        
        /* Time Popup Styles */
        .time-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            border: 2px solid #17a2b8;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            z-index: 1000;
            min-width: 280px;
        }
        .time-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }
        .time-popup h4 {
            margin: 0 0 15px 0;
            color: #333;
        }
        .time-popup input[type="time"] {
            width: 100%;
            padding: 10px;
            border: 2px solid #17a2b8;
            border-radius: 4px;
            font-size: 1rem;
            margin-bottom: 15px;
        }
        .time-popup-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }
        .time-popup-buttons button {
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
        }
        .btn-save-time {
            background: #17a2b8;
            color: white;
        }
        .btn-save-time:hover {
            background: #138496;
        }
        .btn-cancel-time {
            background: #6c757d;
            color: white;
        }
        .btn-cancel-time:hover {
            background: #5a6268;
        }

        /* Calendar Widget Styles */
        .calendar-navigation {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
            padding: 10px 0;
        }

        .nav-btn {
            background: #667eea;
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .nav-btn:hover {
            background: #5a6fd8;
        }

        .month-year {
            font-weight: bold;
            color: #333;
            font-size: 1.1rem;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .day-header {
            background: #f8f9fa;
            padding: 8px 4px;
            text-align: center;
            font-weight: bold;
            font-size: 0.8rem;
            color: #666;
        }

        .calendar-day {
            background: white;
            min-height: 50px;
            padding: 4px;
            position: relative;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .calendar-day:hover {
            background: #f8f9fa;
        }

        .calendar-day.empty {
            background: #f5f5f5;
            cursor: default;
        }

        .calendar-day.today {
            background: #e3f2fd;
            border: 2px solid #2196f3;
        }

        .calendar-day.trip-day {
            background: #f3e5f5;
        }

        .calendar-day.today.trip-day {
            background: #e1f5fe;
        }

        .day-number {
            font-size: 0.9rem;
            font-weight: bold;
            margin-bottom: 2px;
            color: #333;
        }

        .day-events {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .event {
            font-size: 0.7rem;
            padding: 1px 2px;
            border-radius: 2px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .event-activity {
            background: #e8f5e8;
            color: #2e7d32;
        }

        .event-accommodation {
            background: #fff3e0;
            color: #ef6c00;
        }

        .event-icon {
            font-size: 0.8rem;
        }

        /* Calendar responsiveness */
        @media (max-width: 1200px) {
            .calendar-panel {
                width: 250px;
            }
            
            .calendar-day {
                min-height: 40px;
            }
            
            .event {
                font-size: 0.6rem;
            }
        }

        /* Company Branding Styles */
        .company-branding {
            text-align: right;
            margin-bottom: 10px;
            padding-right: 10px;
        }

        .company-link {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        .company-link:hover {
            color: white;
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
            text-decoration: underline;
        }

        /* Footer Styles */
        .footer {
            text-align: center;
            color: white;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .footer-content {
            margin: 0 auto;
            max-width: 600px;
        }

        .footer-email {
            margin: 0;
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .email-link {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        .email-link:hover {
            color: white;
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
            text-decoration: underline;
        }

        /* More info section styling */
        .more-info-section {
            margin-top: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-left: 3px solid #28a745;
            border-radius: 4px;
        }

        .more-info-content {
            margin-top: 5px;
            font-style: italic;
            color: #495057;
            white-space: pre-wrap;
        }

        /* Responsive adjustments for branding */
        @media (max-width: 768px) {
            .company-branding {
                text-align: center;
                padding-right: 0;
            }

            .company-link, .email-link {
                font-size: 0.9rem;
            }
        }
/* Dual Range Slider Styles */
.dual-range-container {
    position: relative;
    width: 100%;
    height: 40px;
}

.dual-range-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.dual-range-container input[type="range"]::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}

.dual-range-container input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}

.dual-range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.dual-range-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.dual-range-container input[type="range"]::-webkit-slider-thumb:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.dual-range-container input[type="range"]::-moz-range-thumb:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* Active/focus states */
.dual-range-container input[type="range"]:focus {
    outline: none;
}

.dual-range-container input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.dual-range-container input[type="range"]:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

/* Make the max slider appear above the min slider */
.dual-range-container input[type="range"]:last-child {
    z-index: 2;
}
