/* =====================================================================
   EXTENDED CSS - Reusable styles extracted from LYHotel templates
   ===================================================================== */

/* =====================================================================
   FORM FIELD STYLING - Common form styles used across multiple forms
   ===================================================================== */
.font-nunito {
			font-family: 'Nunito', sans-serif;
		}
		
		/* Smooth scrolling for anchor links */
		html {
			scroll-behavior: smooth;
            
		}
		
		/* Custom gradient text shadows */
		.text-shadow-2xl {
			text-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
		}
		
		/* Line clamp utilities for consistent text truncation */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
		
		/* Custom focus states */
		.focus-ring {
			outline: 2px solid transparent;
			outline-offset: 2px;
		}
		
		.focus-ring:focus {
			outline: 2px solid #3b82f6;
			outline-offset: 2px;
		}
		
		/* Modal animations */
		.animate-fadeIn {
			animation: fadeIn 0.3s ease-in-out;
		}
		
		@keyframes fadeIn {
			from { opacity: 0; transform: translateY(-20px); }
			to { opacity: 1; transform: translateY(0); }
		}
		
		/* Scrollbar styling for modals */
		.modal-body::-webkit-scrollbar {
			width: 6px;
		}
		
		.modal-body::-webkit-scrollbar-track {
			background: #f1f1f1;
			border-radius: 8px;
		}
		
		.modal-body::-webkit-scrollbar-thumb {
			background: lightgray;
			border-radius: 8px;
		}
		
		.modal-body::-webkit-scrollbar-thumb:hover {
			background: lightgray;
		}

		/* Hotel API Modal specific styles */
		.nights-dropdown-menu {
			box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
		}

		.nights-dropdown-btn svg {
			transition: transform 0.2s ease-in-out;
		}

		.nights-dropdown-btn[aria-expanded="true"] svg {
			transform: rotate(180deg);
		}
/* Basic form field styling */
.form-select,
.form-control,
.datepicker {
    border: 1px solid #d1d5db !important;
    border-radius: 0.375rem !important;
    padding: 1rem 0.75rem !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out !important;
    font-size: 0.875rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Focus states for form fields */
.form-select:focus,
.form-control:focus
 {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

/* Hover states for form fields */
.form-select:hover,
.form-control:hover {
    border-color: #9ca3af !important;
}

/* Form labels styling */
.form-field-container label {
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    font-size: 0.875rem !important;
}

/* Error feedback styling */
.form-field-container .invalid-feedback {
    color: #dc2626 !important;
    font-size: 0.75rem !important;
    margin-top: 0.2rem !important;
}

/* Form help text styling */
.form-field-container .form-text,
.form-text {
    color: #6b7280 !important;
    font-size: 0.75rem !important;
    margin-top: 0.2rem !important;
}

/* Select dropdown specific styling */
.form-field-container select {
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1rem 1rem !important;
    padding-right: 2rem !important;
}

/* Error state styling */
.form-field-container .is-invalid {
    border-color: #dc2626 !important;
}

.form-field-container .is-invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important;
}
/* Textarea specific styling */
.form-field-container textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Compact textarea for forms like capture_details */
.form-field-container.compact textarea {
    min-height: 80px !important;
}

/* Date picker specific styling */
.form-field-container input[type="date"],
.datepicker,
.form-select,
.form-control {
    padding: 0.5rem 0.75rem !important;
}

/* =====================================================================
   CHECKBOX STYLING - Checkbox and boolean field styling
   ===================================================================== */

/* Basic checkbox styling */
.form-field-container input[type="checkbox"] {
    width: auto !important;
    margin-right: 0.5rem !important;
    padding: 0 !important;
    vertical-align: middle !important;
    transform: scale(1.2) !important;
}

/* Checkbox container styling */
.form-field-container .form-check {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* Checkbox input styling */
.form-field-container .form-check-input {
    margin: 1px !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    flex-shrink: 0 !important;
}

/* Checkbox label styling */
.form-field-container .form-check-label {
    margin-bottom: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    line-height: 1.125rem !important;
}

/* Override crispy forms checkbox styling */
.form-field-container .checkbox label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

.form-field-container .checkbox input[type="checkbox"] {
    margin: 0 !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    flex-shrink: 0 !important;
}

/* Additional checkbox alignment fixes */
.form-field-container .form-group {
    margin-bottom: 1rem !important;
}

.form-field-container .form-group label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* Boolean field specific styling */
.form-field-container .form-group input[type="checkbox"] + label::before {
    display: none !important;
}

.form-field-container .checkbox {
    margin-bottom: 0 !important;
}

.form-field-container .checkbox div {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* =====================================================================
   SWIPER CAROUSEL STYLING - Image carousel styles
   ===================================================================== */

/* Swiper main container */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
}

/* Swiper slide styling */
.swiper-slide {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper slide images */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper navigation buttons */
.swiper-button-next, 
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show navigation on hover */
article:hover .swiper-button-next, 
article:hover .swiper-button-prev {
    opacity: 1;
}

/* Navigation button hover states */

/* Navigation button icons */
.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 12px;
    font-weight: bold;
}

/* =====================================================================
   MODAL STYLING - Modal animation and styling
   ===================================================================== */

/* Modal animation styles - Generic for any modal with room ID */

[id*="Modal"] .relative > div.scale-100 {
    transform: scale(1);
    opacity: 1;
}

/* Modal facility item styling */
[id*="Modal"] ol li {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

[id*="Modal"] ol li:hover {
    background-color: #f9fafb;
}

[id*="Modal"] ol li:last-child {
    border-bottom: none;
}

/* Modal focus styles for accessibility */
[id*="Modal"] button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* =====================================================================
   UTILITY CLASSES - Commonly used utility styles
   ===================================================================== */

/* Hide specific form field labels */
#div_id_type label, 
#div_id_rating label {
    display: none;
}

/* Error alert styling */
.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Success alert styling */
.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Info alert styling */
.alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =====================================================================
   RESPONSIVE DESIGN - Media queries for mobile optimization
   ===================================================================== */

/* Grid responsiveness for form layouts */
@media (max-width: 640px) {
    .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .form-field-container input,
    .form-field-container select,
    .form-field-container textarea {
        font-size: 1rem !important; /* Prevents zoom on iOS */
    }
}

/* =====================================================================
   SEARCHABLE DROPDOWN STYLING - Custom searchable dropdown components
   ===================================================================== */

/* Searchable dropdown wrapper */
.searchable-dropdown-wrapper {
    position: relative;
    width: 100%;
}

/* Searchable dropdown input styling */
.searchable-dropdown-input {
    padding-right: 2.5rem !important; /* Space for clear button */
}

/* Searchable dropdown list container */
.searchable-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 15rem;
    overflow-y: auto;
    margin-top: 0.25rem;
}

/* Dropdown list items */
.searchable-dropdown-list > div {
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease-in-out;
}

.searchable-dropdown-list > div:last-child {
    border-bottom: none;
}

.searchable-dropdown-list > div:hover {
    background-color: #eff6ff;
}

/* Selected item styling */
.searchable-dropdown-list > div.bg-blue-100 {
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 500;
}

/* Keyboard navigation active item */
.searchable-dropdown-list > div.bg-blue-200 {
    background-color: #bfdbfe;
    color: #1e40af;
}

/* No results styling */
.searchable-dropdown-list > div.text-gray-500 {
    cursor: default;
    font-style: italic;
}

.searchable-dropdown-list > div.text-gray-500:hover {
    background-color: transparent;
}

/* Clear button styling */
.searchable-dropdown-wrapper button {
    background: none;
    border: none;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
}

.searchable-dropdown-wrapper button:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Scrollbar styling for dropdown list */
.searchable-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.searchable-dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.searchable-dropdown-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.searchable-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Focus states for searchable dropdown */
.searchable-dropdown-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

/* Responsive adjustments for searchable dropdown */
@media (max-width: 640px) {
    .searchable-dropdown-list {
        max-height: 12rem;
    }
    
    .searchable-dropdown-list > div {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
}
    
    .swiper-button-next, 
    .swiper-button-prev {
        width: 25px;
        height: 25px;
        --swiper-navigation-size: 14px;
    }
    
    /* Force single column on smaller containers */
    .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 1024px) {
    .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* Form overflow prevention */
form {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Root container constraints for main divs */
div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* =====================================================================
   ACCESSIBILITY ENHANCEMENTS - Screen reader and keyboard navigation
   ===================================================================== */

/* Screen reader only class */
.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;
}

/* Focus visible styles for better keyboard navigation */
.form-field-container input:focus-visible,
.form-field-container select:focus-visible,
.form-field-container textarea:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

    .file-upload-area {
        border: 2px dashed #d1d5db;
        border-radius: 0.5rem;
        padding: 2rem;
        text-align: center;
        transition: all 0.3s ease;
        background-color: #f9fafb;
        cursor: pointer;
        position: relative;
    }
    
    .file-upload-area:hover {
        border-color: #3b82f6;
        background-color: #eff6ff;
    }
    
    .file-upload-area.dragover {
        border-color: #3b82f6;
        background-color: #dbeafe;
        transform: scale(1.02);
    }
    
    /* Hide the default file input styling */
    .file-upload-area input[type="file"] {
        display: none !important;
    }
    
    /* Hide crispy forms file input wrapper when inside drop area */
    .file-upload-area .form-group {
        display: none !important;
    }

/* =====================================================================
   AGENT REGISTRATION FORM STYLING - Multi-step form specific styles
   ===================================================================== */

/* Form step container */
.form-step {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: translateX(0);
}

.form-step.hidden {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Progress step indicators */
.step-indicator {
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.step-indicator.active {
    transform: scale(1.1);
}

/* File upload area error states */
.file-upload-area.border-red-300 {
    border-color: #fca5a5 !important;
    background-color: #fef2f2 !important;
}

.file-upload-area.border-green-300 {
    border-color: #86efac !important;
    background-color: #f0fdf4 !important;
}

/* Field error message styling */
.field-error-message {
    animation: slideDown 0.3s ease-out;
}

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

/* Validation alert styling */
.validation-alert {
    animation: slideDown 0.3s ease-out;
}

/* =====================================================================
   FLYER SPECIFIC STYLING - Travel flyer component styles
   ===================================================================== */

/* Responsive flyer grid */
.responsive-flyer {
    transition: all 0.3s ease;
}

.responsive-flyer:hover {
    transform: translateY(-4px);
}

/* Flyer image container */
.responsive-flyer .flyer-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Badge styling for flyer metadata */
.flyer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

/* Flyer type selection badges */
.type-selection-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #fef3c7;
    color: #92400e;
    transition: all 0.2s ease;
}

.type-selection-badge button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    color: #f59e0b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.type-selection-badge button:hover {
    color: #d97706;
}

/* Flyer search results styling */
.search-results-message {
    animation: fadeIn 0.3s ease-in-out;
}

/* Flyer modal specific styling */
.flyer-modal-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

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

/* File input styling for flyer upload */
.flyer-file-input {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.flyer-file-input input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.flyer-file-input:hover {
    background-color: #f3f4f6;
}

/* Notification styling */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    animation: slideInRight 0.3s ease-out;
}

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

/* Toggle switch styling for download modal */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 2.75rem;
    height: 1.5rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 1.5rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #059669;
}

input:checked + .toggle-slider:before {
    transform: translateX(1.25rem);
}

/* Loading spinner for buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Form field focus enhancement for agent registration */
.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1) !important;
    outline: none !important;
}

/* Required field indicator */
.form-step label .text-red-500 {
    font-weight: bold;
}

/* Progress bar animation */
#progress-bar {
    transition: width 0.5s ease-in-out;
}

/* Step navigation buttons */
.form-step button {
    transition: all 0.3s ease;
}

.form-step button:hover {
    transform: translateY(-1px);
}

/* Mobile responsiveness for agent registration */
@media (max-width: 768px) {
    .form-step .grid.grid-cols-1.md\\:grid-cols-12 {
        grid-template-columns: 1fr !important;
    }
    
    .form-step .md\\:col-span-2,
    .form-step .md\\:col-span-5 {
        grid-column: span 1 !important;
    }
    
    .file-upload-area {
        padding: 1.5rem !important;
    }
    
    .file-upload-area svg {
        width: 2rem !important;
        height: 2rem !important;
    }
}

/* =====================================================================
   DASHBOARD STYLES - Modern dashboard components
   ===================================================================== */

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.dashboard-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dashboard-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.dashboard-card-content {
    padding: 1.5rem;
}

/* Dashboard Action Buttons */
.dashboard-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    transform: translateY(0);
    border: none;
    cursor: pointer;
}

.dashboard-action-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.dashboard-action-btn:focus {
    outline: none;
    ring: 4px;
    ring-opacity: 50%;
    ring-color: #3b82f6;
}

.dashboard-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(0) scale(1);
}

/* Dashboard Tabs */
.dashboard-tab {
    transition: all 0.2s ease-in-out;
    border: none;
    background: none;
    cursor: pointer;
}

.dashboard-tab.active {
    border-bottom: 2px solid;
}

.dashboard-tab:hover {
    background-color: #f9fafb;
}

/* Tab Panels */
.tab-panel {
    transition: all 0.3s ease-in-out;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive Dashboard Adjustments */
@media (max-width: 768px) {
    .dashboard-tab {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
    
    .dashboard-action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .dashboard-card {
        margin: 0 0.5rem;
    }
    
    .dashboard-card-header,
    .dashboard-card-content {
        padding: 1rem;
    }
}

/* =====================================================================
   TRAVELLER MANAGEMENT FORM STYLING - Specific styles for traveller forms
   ===================================================================== */

/* Traveller card styling */
.traveller-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
}

.traveller-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Traveller card header */
.traveller-card-header {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 0.75rem 1rem;
    color: white;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Document upload section styling */
.document-upload-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.document-upload-section h4 {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* File input styling for traveller forms */
.form-field-container input[type="file"] {
    border: 2px dashed #d1d5db !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.form-field-container input[type="file"]:hover {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
}

.form-field-container input[type="file"]:focus {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Delete checkbox styling for traveller forms */
.form-field-container .form-check input[type="checkbox"][name*="DELETE"] {
    accent-color: #dc2626 !important;
}

.form-field-container .form-check label[for*="DELETE"] {
    color: #dc2626 !important;
    font-weight: 500 !important;
}

/* Traveller form grid responsiveness */
@media (max-width: 1024px) {
    .grid.grid-cols-1.lg\\:grid-cols-2.xl\\:grid-cols-3 {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    .grid.grid-cols-1.lg\\:grid-cols-2.xl\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .traveller-card {
        margin-bottom: 1.5rem;
    }
    
    .traveller-card-header {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Form action buttons styling */
.form-actions-container {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.form-actions-container .btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-actions-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.form-actions-container .btn-secondary {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.form-actions-container .btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

/* Error message styling for traveller forms */
.traveller-form-errors {
    margin-bottom: 1.5rem;
}

.traveller-form-errors .alert {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.traveller-form-errors .alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Help text styling */
.form-help-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.form-help-text svg {
    flex-shrink: 0;
}
:root {
    --scroll-thumb: rgba(255, 120, 120, 0.6);      /* normal color */
    --scroll-thumb-hover: rgba(255, 120, 120, 0.9); /* hover color */
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.8),
        var(--scroll-thumb)
    );
    box-shadow: 0 0 6px var(--scroll-thumb); /* trailing glow */
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,1),
        var(--scroll-thumb-hover)
    );
    box-shadow: 0 0 10px var(--scroll-thumb-hover); /* stronger glow */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) transparent;
}
