/**
 * Luxury Coach Service - Modern Theme CSS
 * A sleek, responsive design system with glass morphism and smooth animations
 */

/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */

:root {
    /* Color Palette - Purple Theme */
    --color-primary-lightest: #EEEAFD;
    --color-primary-light: #D8CAFC;
    --color-primary-accent: #C2A9EF;
    --color-primary: #AC88E8;
    --color-primary-dark: #9667E0;
    --color-primary-darker: #8654D1;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-primary-accent) 0%, var(--color-primary) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--color-primary-lightest) 0%, rgba(238, 234, 253, 0) 100%);

    /* Shadows - Layered for depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 30px -5px rgba(172, 136, 232, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
}

/* Admin Layout - Dark Navy Override */
body.admin-layout {
    --color-primary-lightest: #E2E8F0;
    --color-primary-light: #CBD5E1;
    --color-primary-accent: #64748B;
    --color-primary: #475569;
    --color-primary-dark: #334155;
    --color-primary-darker: #1E293B;

    --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-primary-accent) 0%, var(--color-primary) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--color-primary-lightest) 0%, rgba(226, 232, 240, 0) 100%);
    --shadow-colored: 0 10px 30px -5px rgba(30, 41, 59, 0.3);
}

body.admin-layout .btn-primary {
    background: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

body.admin-layout .btn-primary:hover {
    background: #0b5ed7;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

body.admin-layout .bg-primary-dark {
    background: #e8f4fd;
    color: #0d6efd;
}

body.admin-layout .bg-primary-dark:hover {
    background: #0d6efd;
    color: #fff !important;
}

body.admin-layout .ticket-selection-header {
    padding: 0.6rem 2rem;
}

body.admin-layout .ticket-selection-header h2 {
    font-size: 0.95rem;
}

/* Booking Layout - White/Neutral Override */
body.booking-layout {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --color-primary-lightest: #F3F4F6;
    --color-primary-light: #E5E7EB;
    --color-primary-accent: #9CA3AF;
    --color-primary: #6B7280;
    --color-primary-dark: #4B5563;
    --color-primary-darker: #374151;

    --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-primary-accent) 0%, var(--color-primary) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--color-primary-lightest) 0%, rgba(243, 244, 246, 0) 100%);
    --shadow-colored: 0 10px 30px -5px rgba(75, 85, 99, 0.2);

    background: #ffffff;
}

/* Restore purple for buttons in booking layout */
body.booking-layout .btn-primary {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
    box-shadow: 0 10px 30px -5px rgba(172, 136, 232, 0.3);
}

body.booking-layout .btn-primary:hover {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
    box-shadow: 0 6px 16px rgba(172, 136, 232, 0.4);
}

body.booking-layout .btn-continue {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
    box-shadow: 0 10px 30px -5px rgba(172, 136, 232, 0.3);
}

body.booking-layout .btn-continue:hover:not(:disabled) {
    box-shadow: 0 6px 16px rgba(172, 136, 232, 0.4);
}

body.booking-layout .btn-select {
    background: #9667E0;
}

body.booking-layout .btn-select:hover {
    background: #8654D1;
}

body.booking-layout .btn-select.btn-select-soldout,
body.booking-layout .btn-select.btn-select-soldout:hover {
    background: #9ca3af;
}

body.booking-layout .btn-book {
    background: #9667E0;
}

body.booking-layout .btn-book:hover {
    background: #8654D1;
}

body.booking-layout .btn-book.btn-book-soldout,
body.booking-layout .btn-book.btn-book-soldout:hover {
    background: #9ca3af;
}

body.booking-layout .cta-button {
    background: #9667E0;
}

body.booking-layout .cta-button:hover {
    background: #8654D1;
}

body.booking-layout .cta-button.cta-button-soldout,
body.booking-layout .cta-button.cta-button-soldout:hover {
    background: #9ca3af;
}

body.booking-layout .qty-btn:hover:not(:disabled) {
    background: #AC88E8;
}

/* Dark purple for calendar title bar */
body.booking-layout .calendar-header {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
}

/* Light header for ticket selection (Headout style) */
body.booking-layout .ticket-selection-header {
    background: #f8f9fa;
}

body.booking-layout .ticket-selection-header h2 {
    color: #8654D1;
}

body.booking-layout .ticket-selection-header .ticket-selection-subheader {
    color: #6b7280;
    opacity: 1;
}

body.booking-layout .ticket-selection-header .travelers-header-badge {
    background: rgba(134, 84, 209, 0.1);
    color: #8654D1;
}

body.booking-layout .ticket-selection-header .travelers-header-badge.badge-complete {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

/* Light header for auth pages (login/register) */
body.auth-layout .ticket-selection-header {
    background: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

body.auth-layout .ticket-selection-header h2 {
    color: #1a202c;
}

body.auth-layout .ticket-selection-header .ticket-selection-subheader {
    color: rgba(0, 0, 0, 0.6);
}

/* Dark gray order summary header */
body.booking-layout .order-summary-header {
    background: #6B7280;
}

body.booking-layout .order-summary-header h3 {
    color: #ffffff;
}

/* Purple shade for product info banner */
body.booking-layout .product-info-banner {
    background: linear-gradient(135deg, #EEEAFD 0%, #f8fafc 100%);
    border-left-color: #AC88E8;
}

body.booking-layout .product-hero {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

body.booking-layout .hero-section.hero-bg {
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
}

body.booking-layout .hero-section::before {
    background: none;
}

/* White header for booking pages - not sticky */
body.booking-layout .navbar {
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative !important;
    z-index: 1030;
}

body.booking-layout .navbar-spacer {
    display: none;
}

body.booking-layout .navbar.scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.booking-layout .nav-link {
    color: #374151 !important;
}

body.booking-layout .nav-link:hover {
    color: #7C3AED !important;
    background: rgba(124, 58, 237, 0.06);
}

body.booking-layout .nav-link::after {
    background: var(--color-primary);
}

body.booking-layout .nav-link.active {
    color: #7C3AED !important;
    font-weight: 600;
}

body.booking-layout .nav-link.active::after {
    width: 60%;
}

body.booking-layout .navbar-brand {
    color: var(--color-primary) !important;
}

body.booking-layout .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

body.booking-layout .navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(0.3);
}

/* Purple for progress bar and active step */
body.booking-layout .booking-progress-inner::after {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
}

body.booking-layout .progress-step.active .progress-step-icon {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
    border-color: #9667E0;
    box-shadow: 0 10px 30px -5px rgba(150, 103, 224, 0.3);
}

body.booking-layout .progress-step.active .progress-step-label {
    color: #8654D1;
}

/* Dark charcoal for confirmation number card */
body.booking-layout .confirmation-number-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    box-shadow: 0 10px 30px -5px rgba(31, 41, 55, 0.3);
}

/* Dark charcoal for active tab */
body.booking-layout .info-tabs .nav-link.active {
    background: #4B5563;
}

/* Dark charcoal for addon checkmark and terms checkbox */
body.booking-layout .addon-selected-check {
    background: linear-gradient(135deg, #4B5563 0%, #374151 100%);
}

body.booking-layout .terms-checkbox-label input:checked + .terms-checkbox-custom {
    background: linear-gradient(135deg, #4B5563 0%, #374151 100%);
    border-color: #6B7280;
}

/* Dark purple for selected calendar day number */
body.booking-layout .calendar-day.selected .day-number {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
}

/* Dark purple for calendar date info icon */
body.booking-layout .cal-info-date i {
    background: linear-gradient(135deg, #9667E0 0%, #8654D1 100%);
}

/* Neutral accent for section heading text */
body.booking-layout .experiences-section h2,
body.booking-layout .product-description h2,
body.booking-layout .product-title,
body.booking-layout .section-title {
    color: #1e293b;
}

/* Neutral form focus states for booking pages */
body.booking-layout .form-control:focus,
body.booking-layout .form-select:focus {
    border-color: #9CA3AF;
    box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.15);
}

body.booking-layout .form-control:hover,
body.booking-layout .form-select:hover {
    border-color: #D1D5DB;
}

body.booking-layout .input-group-text {
    background: #F3F4F6;
    border-color: #E5E7EB;
    color: #4B5563;
}

/* Neutral glass-dark for booking pages */
body.booking-layout .glass-dark {
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Neutral scrollbar for booking pages */
body.booking-layout ::-webkit-scrollbar-track {
    background: #F3F4F6;
}

body.booking-layout ::-webkit-scrollbar-thumb {
    background: #9CA3AF;
}

body.booking-layout ::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom, var(--color-primary-lightest), #ffffff);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--color-primary-dark);
}

h1 { font-size: var(--text-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Glass Morphism Effects
   ========================================================================== */

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(172, 136, 232, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(172, 136, 232, 0.2);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    padding: var(--space-4) 0;
}

.navbar.scrolled {
    box-shadow: var(--shadow-xl);
    padding: var(--space-3) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%) !important;
}

.navbar.fixed-top + div {
    min-height: 76px;
}

.navbar-brand {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white !important;
    transition: transform var(--transition-base);
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: var(--space-2) var(--space-4) !important;
    margin: 0 var(--space-1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 60%;
}

.nav-link.btn-style {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-6) !important;
    font-weight: 600;
}

.nav-link.btn-style:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.btn-style::after {
    display: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-weight: 600;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: var(--text-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
}

/* Button ripple effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border: none;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    overflow: hidden;
    background: white;
}

.card:hover {
    box-shadow: var(--shadow-2xl);
}

.card.hover-lift:hover {
    transform: translateY(-8px);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-6);
    border-bottom: none;
    font-weight: 700;
}

.card-header-primary {
    background: var(--gradient-primary);
    color: white;
}

.card-body {
    padding: var(--space-8);
}

.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Form Controls
   ========================================================================== */

/* Form labels - applies to both CakePHP generated labels and Bootstrap classes */
label,
.form-label {
    font-weight: 500;
    color: #6b7280;
    margin-bottom: var(--space-2);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    background: white;
}

.form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    background-color: white;
}

.form-select:focus {
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 4px rgba(172, 136, 232, 0.15);
    outline: none;
}

.form-select:hover {
    border-color: var(--color-primary-light);
}

.form-control-lg {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.form-control:focus {
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 4px rgba(172, 136, 232, 0.15);
    outline: none;
    background: white;
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--color-primary-light);
}

/* Floating Labels */
.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: #6b7280;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--color-primary);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Input Groups */
.input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.input-group-text {
    background: var(--color-primary-lightest);
    border: 2px solid var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 600;
}

/* Password Toggle Button */
.password-toggle {
    border: 2px solid #e5e7eb;
    border-left: none;
    background: white;
    color: #6b7280;
    padding: var(--space-2) var(--space-4);
    transition: all var(--transition-base);
    cursor: pointer;
}

.password-toggle:hover {
    background: var(--color-primary-lightest);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-light);
}

.password-toggle:focus {
    outline: none;
    background: var(--color-primary-lightest);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 4px rgba(172, 136, 232, 0.15);
}

.password-toggle:active {
    background: var(--color-primary-light);
    transform: scale(0.95);
}

.password-toggle i {
    font-size: 1rem;
    pointer-events: none;
}

/* Input group integration with password toggle */
.input-group:has(.password-toggle) .form-control {
    border-right: none;
}

.input-group:has(.password-toggle) .form-control:focus {
    border-right: none;
}

.input-group:has(.password-toggle) .form-control:focus + .password-toggle {
    border-color: var(--color-primary-accent);
}

/* ==========================================================================
   Validation States
   ========================================================================== */

.is-invalid {
    border-color: #ef4444 !important;
}

.is-valid {
    border-color: #10b981 !important;
}

.invalid-feedback,
.error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    font-weight: 500;
}

.valid-feedback {
    color: #10b981;
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    font-weight: 500;
}

/* ==========================================================================
   Alerts & Flash Messages
   ========================================================================== */

.alert {
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    border: none;
    box-shadow: var(--shadow-md);
    animation: slideInDown var(--transition-slow);
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.alert-danger {
    background: #ffe0e0 !important;
    color: #b71c1c !important;
    border: 1px solid #ffcdd2 !important;
    font-size: 0.875rem !important;
}

.alert-info {
    background: linear-gradient(135deg, var(--color-primary-lightest) 0%, var(--color-primary-light) 100%);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-accent);
}

.alert-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

/* Error Summary - Validation Errors */
.error-summary {
    background: #ffffff;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: slideInDown var(--transition-slow);
}

.error-summary-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border-bottom: 1px solid #fecaca;
}

.error-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.error-summary-text {
    flex: 1;
    min-width: 0;
}

.error-summary-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #991b1b;
    margin: 0;
    line-height: 1.3;
}

.error-summary-subtitle {
    font-size: var(--text-xs);
    color: #b91c1c;
    margin: 2px 0 0;
    opacity: 0.8;
}

.error-summary-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-2);
    background: #ef4444;
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}

.error-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-summary-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    color: #374151;
    border-bottom: 1px solid #fee2e2;
    transition: background var(--transition-fast);
}

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

.error-summary-item:hover {
    background: #fef2f2;
}

.error-summary-field {
    font-weight: 600;
    color: #991b1b;
    white-space: nowrap;
}

.error-summary-message {
    color: #6b7280;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.dropdown-toggle.no-caret::after {
    display: none;
}
.user-initial-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--color-primary-darker);
    color: var(--color-primary-darker);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.header-search-form {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}
.header-search-form .form-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 8px 0 0 8px;
    padding: 4px 10px;
    font-size: 0.85rem;
}
.header-search-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}
.header-search-form .form-control:focus {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    box-shadow: none;
    color: white;
}
.header-search-form .btn {
    border-radius: 0 8px 8px 0;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    border-left: 0;
    color: white;
    padding: 4px 10px;
    font-size: 0.85rem;
}
.header-search-form .btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}
@media (max-width: 991.98px) {
    .header-search-form {
        max-width: 100%;
        margin: 10px 0;
    }
}
/* Light mode search form for booking pages */
body.booking-layout .header-search-form .form-control {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111827;
}
body.booking-layout .header-search-form .form-control::placeholder {
    color: #9ca3af;
}
body.booking-layout .header-search-form .form-control:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: none;
    color: #111827;
}
body.booking-layout .header-search-form .btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-left: 0;
    color: #6b7280;
}
body.booking-layout .header-search-form .btn:hover {
    background: #e5e7eb;
    color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    padding: var(--space-8) 0;
    margin-top: var(--space-16);
    border-top: 1px solid #e5e7eb;
}

footer .text-muted {
    font-size: var(--text-xs);
    color: #9ca3af !important;
}

footer p {
    font-size: var(--text-xs);
}

.site-footer {
    background: #ffffff;
    padding: 60px 0 30px;
    margin-top: 0;
    border-top: 1px solid #e5e7eb;
}
.footer-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: #5B21B6;
    color: #fff;
    transform: translateY(-3px);
}
.footer-heading {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #6b7280;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #5B21B6;
    padding-left: 5px;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.footer-contact i {
    color: #5B21B6;
}
.footer-links .lang-active i {
    color: #5B21B6;
}
.footer-divider {
    border-color: #e5e7eb;
    margin: 40px 0 20px;
}
.footer-copyright {
    color: #9ca3af;
    font-size: 0.85rem;
}
@media (max-width: 767.98px) {
    .footer-social {
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(55, 65, 81, 0.5);
}
@media (max-width: 575.98px) {
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }
}

/* Toast Notifications */
.toast-container-welcome {
    z-index: 1080;
}
.toast-welcome {
    background-color: #9b59b6;
    color: #fff;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow);
}

.slide-in-down {
    animation: slideInDown var(--transition-slow);
}

.slide-in-up {
    animation: slideInUp var(--transition-slow);
}

.scale-in {
    animation: scaleIn var(--transition-slow);
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-base);
}

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

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Gradients */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Page-specific Enhancements
   ========================================================================== */

/* Registration Form Enhancements */
.form-section-badge {
    width: 44px;
    height: 44px;
    font-size: var(--text-lg);
    font-weight: 700;
    box-shadow: var(--shadow-colored);
}

/* Better form spacing - removed duplicate, consolidated above */

/* Form helper text */
small.text-muted {
    font-size: var(--text-xs);
    color: #9ca3af;
    display: block;
    margin-top: var(--space-1);
}

/* Muted text styling */
.text-muted {
    color: #9ca3af !important;
    font-size: 0.8125rem;
}

/* Optional labels */
span.text-muted {
    font-size: var(--text-xs);
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* CakePHP form error styling */
.error-message,
.form-error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    display: block;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }

    .card-body {
        padding: var(--space-5);
    }

    .navbar-brand {
        font-size: var(--text-xl);
    }

    .btn-lg {
        padding: var(--space-2) var(--space-5);
        font-size: var(--text-sm);
    }

    .form-control-lg {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    footer .col-md-6 {
        text-align: center !important;
    }
}

/* ==========================================================================
   Loading States
   ========================================================================== */

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary-lightest);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-accent);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ============================================
   Component-specific utilities
   ============================================ */

/* Navbar spacer */
.navbar-spacer {
    height: 116px;
}

/* Registration step indicators */
.step-indicator {
    width: 28px;
    height: 28px;
    font-weight: 600;
}

/* OTP input field */
.otp-input {
    font-size: 2rem;
    letter-spacing: 0.5rem;
}

/* Primary color link */
.link-primary-theme {
    color: var(--color-primary);
}

/* URL rewriting warning */
.url-rewriting-warning {
    padding: 1rem;
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* ==========================================================================
   Admin Layout
   ========================================================================== */

.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #111827;
    z-index: 1030;
    box-shadow: var(--shadow-md);
}

.admin-user-dropdown {
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-3);
    border: none;
}

.admin-user-dropdown:hover,
.admin-user-dropdown:focus {
    opacity: 0.9;
    box-shadow: none;
}

.admin-header .dropdown-menu {
    font-size: var(--text-xs);
}

.admin-header .dropdown-item {
    padding: var(--space-1) var(--space-4);
    font-size: var(--text-xs);
}

.admin-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    width: 250px;
    background: #f9fafb;
    border-right: 1px solid #d6d6d6;
    box-shadow: var(--shadow-md);
    z-index: 1020;
    overflow-y: auto;
    transition: width 0.25s ease, transform 0.25s ease;
}

/* Sidebar toggle button */
.sidebar-toggle {
    border: none;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.sidebar-toggle:hover {
    opacity: 1;
}

/* Collapsed sidebar state */
html.sidebar-collapsed .admin-sidebar {
    width: 60px;
    overflow: hidden;
}

html.sidebar-collapsed .admin-sidebar .nav-link span,
html.sidebar-collapsed .admin-sidebar .nav-link .link-text {
    display: none;
}

html.sidebar-collapsed .admin-sidebar .sidebar-section-label {
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

html.sidebar-collapsed .admin-sidebar .nav-link {
    text-align: center;
    padding: var(--space-3) 0 !important;
}

html.sidebar-collapsed .admin-sidebar .nav-link i {
    margin: 0 !important;
    font-size: 1.1rem;
}

html.sidebar-collapsed .admin-content {
    margin-left: 60px;
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.admin-sidebar .nav,
.admin-sidebar .nav-item {
    padding: 0;
    margin: 0;
    list-style: none;
}

.admin-sidebar .nav-link {
    color: var(--color-primary-darker) !important;
    background: #ffffff !important;
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-5) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block;
    width: 100%;
    transition: all var(--transition-fast);
}

.admin-sidebar .nav-link:hover {
    background: var(--color-primary-accent);
    transform: none !important;
}

.admin-sidebar .nav-link.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-right: 2px solid var(--color-primary-darker);
    font-weight: 600;
}

.admin-sidebar .nav-link::after {
    display: none;
}

.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.sidebar-section-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a8a8a;
    padding: var(--space-3) var(--space-5) var(--space-1);
}

.sidebar-section-label:first-child {
    padding-top: var(--space-4);
}

.admin-content {
    margin-left: 250px;
    padding-top: 56px;
    min-height: 100vh;
    background: #f9fafb;
    transition: margin-left 0.25s ease;
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        margin-left: 0;
    }
}

/* ==========================================================================
   Profile Card (View Admin/User)
   ========================================================================== */

.profile-header {
    background: var(--gradient-primary);
    padding: var(--space-8) var(--space-6);
    text-align: center;
}

.profile-header-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.profile-header-content {
    position: relative;
    z-index: 1;
}

.profile-header-banner {
    position: relative;
    min-height: 150px;
}

.profile-header-banner.profile-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.profile-header-content-bar {
    background: var(--gradient-primary);
    padding: var(--space-4) var(--space-6);
    text-align: center;
}

.profile-content-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-header-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 60%;
    max-height: 80%;
    object-fit: contain;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
}

.profile-avatar-text {
    font-size: var(--text-2xl);
    font-weight: 700;
}

.profile-name {
    color: #ffffff;
    font-weight: 600;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    font-size: 0.5rem;
    line-height: 1;
    vertical-align: middle;
    border-radius: 50%;
}

.profile-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.profile-details {
    padding: var(--space-6);
}

.profile-detail-row {
    border-bottom: 1px solid #f0f0f0;
}

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

.profile-detail-icon {
    width: 36px;
    text-align: center;
    color: var(--color-primary);
}

.profile-detail-label {
    font-size: var(--text-xs);
}

.profile-detail-value {
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .profile-header {
        padding: var(--space-6) var(--space-4);
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }

    .profile-avatar-text {
        font-size: var(--text-xl);
    }

    .profile-details {
        padding: var(--space-4);
    }
}

/* ==========================================================================
   Admin Table
   ========================================================================== */

.admin-table {
    font-size: var(--text-sm);
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead th {
    background: var(--color-primary-lightest);
    color: var(--color-primary-dark);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-3) var(--space-4);
    border-bottom: none;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: var(--space-3) var(--space-4);
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

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

.admin-table tbody tr {
    transition: background var(--transition-fast);
}

.admin-table tbody tr:hover {
    background: rgba(226, 232, 240, 0.4);
}

.admin-table .table-empty td {
    padding: var(--space-8) var(--space-4);
}

/* Mobile card list (replaces table on small screens) */
.admin-list-cards .admin-list-item {
    padding: var(--space-4);
    border-bottom: 1px solid #f0f0f0;
    transition: background var(--transition-fast);
}

.admin-list-cards .admin-list-item:last-child {
    border-bottom: none;
}

.admin-list-cards .admin-list-item:hover {
    background: rgba(226, 232, 240, 0.4);
}

/* Admin table hover action rows */
.admin-table .action-row { display: none; }
.admin-table .data-row:hover + .action-row,
.admin-table .action-row:hover { display: table-row; }
.admin-table .data-row { cursor: pointer; }
.admin-table .data-row:hover { background-color: #f8f9fa; }
.admin-table .action-row td { border-top: none !important; }
.admin-table .action-row td form { display: inline; }
.action-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}
.action-link:hover { opacity: 1; text-decoration: none; }

body.admin-layout .action-link.text-secondary {
    color: #198754 !important;
}

.admin-card-header {
    background: #FFFFFF;
    color: var(--color-primary-dark);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #CBD5E1;
}

.admin-card-header-primary {
    background: var(--color-primary-lightest);
}

.admin-sticky-actions {
    position: sticky;
    top: 72px;
    z-index: 10;
}

.checkbox-scroll-container {
    max-height: 250px;
    overflow-y: auto;
}

/* Dropzone image upload */
.dropzone {
    border: 2px dashed var(--color-primary-light);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.dropzone:hover {
    border-color: var(--color-primary);
}

.dropzone.dragover {
    border-color: var(--color-primary);
    background: var(--color-primary-lightest);
}

.dropzone-icon {
    font-size: 2rem;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.dropzone-text {
    color: #6c757d;
    font-size: 0.875rem;
}

.dropzone-text span {
    color: var(--color-primary);
    text-decoration: underline;
}

.dropzone-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
}

.dropzone-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.dropzone-thumb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.dropzone-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone-thumb .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border: none;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.dropzone-thumb .remove-btn:hover {
    background: #dc3545;
}

.dropzone-thumb {
    cursor: grab;
}

.dropzone-thumb:active {
    cursor: grabbing;
}

.dropzone-thumb.sortable-ghost {
    opacity: 0.4;
    border: 2px dashed var(--color-primary, #0d6efd);
}

.dropzone-thumb .cover-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 110, 253, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-primary-dark {
    background: var(--color-primary-lightest);
    color: var(--color-primary-dark);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-primary-dark:hover {
    background: var(--color-primary);
    color: #fff !important;
}

.bg-danger-light {
    background: #fff5f5;
    color: #dc3545;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-danger-light:hover {
    background: #dc3545;
    color: #fff !important;
}

.bg-blue-light {
    background: #e8f4fd;
    color: #0d6efd;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-blue-light:hover {
    background: #0d6efd;
    color: #fff !important;
}

.bg-info-light {
    background: #e8f6fc;
    color: #0dcaf0;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-info-light:hover {
    background: #0dcaf0;
    color: #fff !important;
}

.bg-white-blue {
    background: #fff;
    color: #333;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-white-blue:hover {
    background: #0d6efd;
    color: #fff !important;
}

.bg-warning-light {
    background: #fff8e1;
    color: #d97706;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-warning-light:hover {
    background: #d97706;
    color: #fff !important;
}

.bg-success-light {
    background: #f0fdf4;
    color: #16a34a;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-success-light:hover {
    background: #16a34a;
    color: #fff !important;
}

/* Summernote WYSIWYG Overrides */
.note-editor.note-frame {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: none;
}

.note-editor.note-frame .note-toolbar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.25rem;
}

.note-editor.note-frame .note-editing-area .note-editable {
    background: #fff;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
}

.note-editor.note-frame .note-statusbar {
    display: none;
}

.note-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: normal;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.note-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.note-btn.active,
.note-btn:active {
    background: #e5e7eb;
    color: #111827;
}

/* ==========================================================================
   Stat Cards
   ========================================================================== */

.stat-card {
    border-left: 4px solid;
}

.stat-card-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
}

.stat-card-success .stat-card-label,
.stat-card-success .stat-card-value,
.stat-card-success .stat-card-subtitle {
    color: #155724;
}

.stat-card-info {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    border-left-color: #007bff;
}

.stat-card-info .stat-card-label,
.stat-card-info .stat-card-value,
.stat-card-info .stat-card-subtitle {
    color: #004085;
}

.stat-card-primary {
    background: linear-gradient(135deg, var(--color-primary-lightest) 0%, var(--color-primary-light) 100%);
    border-left-color: var(--color-primary-dark);
}

.stat-card-primary .stat-card-label,
.stat-card-primary .stat-card-value,
.stat-card-primary .stat-card-subtitle {
    color: var(--color-primary-darker);
}

.stat-card-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-left-color: #ffc107;
}

.stat-card-warning .stat-card-label,
.stat-card-warning .stat-card-value,
.stat-card-warning .stat-card-subtitle {
    color: #856404;
}

.stat-card-label {
    font-size: var(--text-sm);
    margin-bottom: 0.25rem;
}

.stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-card-subtitle {
    font-size: var(--text-sm);
}

.stat-card.hover-lift {
    cursor: default;
}

/* ==========================================================================
   Destination Picker
   ========================================================================== */

.destination-picker {
    position: relative;
}

.destination-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.destination-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--color-primary-lightest);
    color: var(--color-primary-darker);
    border: 1px solid var(--color-primary-light);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    font-size: var(--text-sm);
    font-weight: 500;
}

.destination-chip-label {
    white-space: nowrap;
}

.destination-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-primary-dark);
    font-size: 1rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.destination-chip-remove:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.destination-input-wrap {
    position: relative;
}

.destination-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 200px;
    overflow-y: auto;
}

.destination-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: var(--text-sm);
    transition: var(--transition-fast);
}

.destination-option:hover,
.destination-option.highlighted {
    background: var(--color-primary-lightest);
}

.destination-option-add {
    color: var(--color-primary-dark);
    border-top: 1px solid #eee;
}

.destination-option-add:hover,
.destination-option-add.highlighted {
    background: var(--color-primary-lightest);
    color: var(--color-primary-darker);
}

/* ==========================================================================
   CSP-compliant Utility Classes
   Replaces inline style="" attributes blocked by Content Security Policy
   ========================================================================== */

/* Colors */
.text-primary-darker { color: var(--color-primary-darker); }
.text-primary-deep { color: #5B21B6; }
.text-gray-500 { color: #6b7280; }
.text-gray-400 { color: #9ca3af; }
.text-gray-800 { color: #1f2937; }

/* Font sizes */
.fs-065em { font-size: 0.65em; }
.fs-075 { font-size: 0.75rem; }
.fs-085 { font-size: 0.85rem; }
.fs-1rem { font-size: 1rem; }
.fs-11 { font-size: 1.1rem; }
.fs-12 { font-size: 1.2rem; }
.fs-125 { font-size: 1.25rem; }

/* Layout helpers */
.gap-0 { gap: 0; }
.z-index-2 { z-index: 2; }
.cursor-pointer { cursor: pointer; }
.cursor-grab { cursor: grab; }
.opacity-30 { opacity: 0.3; }
.mw-600 { max-width: 600px; }
.mw-400 { max-width: 400px; }
.mw-180 { max-width: 180px; }
.mw-150 { max-width: 150px; }
.w-40px { width: 40px; }
.w-80px { width: 80px; }

/* Language toggle (header) */
.lang-toggle-link { font-size: 0.85rem; padding: 0 !important; margin: 0 !important; }
.lang-toggle-sep { font-size: 0.85rem; opacity: 0.5; margin: 0 4px; }

/* Admin badge/button with blue bg */
.badge-action-blue { background-color: #0d6efd; cursor: pointer; }
.btn-admin-primary { background-color: #0d6efd; color: #fff; }
.btn-admin-primary:hover { background-color: #0b5ed7; color: #fff; }

/* Progress bar small */
.progress-sm { height: 10px; }

/* Alert warm (admin edit travelers) */
.alert-warm { background: #fff7ed; border: 1px solid #fed7aa; }

/* Booking button center variant */
.btn-continue-center { justify-content: center; padding: var(--space-3) var(--space-5); font-size: var(--text-base); }

/* Form hint (register page) */
.form-hint { color: #9ca3af; font-size: var(--text-xs); margin-top: var(--space-1); display: block; }

/* Admin gallery thumbnails */
.admin-thumb-gallery { width: 60px; height: 45px; object-fit: cover; border-radius: 4px; }
.admin-thumb-gallery-sm { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; }

/* Monospace small text (transaction ID) */
.text-mono-sm { font-family: monospace; font-size: 0.75rem; }

/* Payment body */
.payment-body-center { padding: var(--space-10) var(--space-6); text-align: center; }

/* Booking confirmation helpers */
.section-divider { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.no-border-top { border-top: none; padding-top: 0; }

/* Drawer note text */
.drawer-note { font-size: 0.85rem; color: #6b7280; margin: 0 0 12px 0; }
.drawer-order-label-mt { margin-top: 8px; }

/* Admin shared utilities */
.drag-handle { cursor: grab; user-select: none; }
.drag-handle:active { cursor: grabbing; }
.drag-handle-icon { color: #6c757d; }
.drag-handle-icon.is-featured { color: #0a2540; }

.badge-purple { background-color: #7c3aed; color: #fff; }
.badge-xs { font-size: 0.65rem; }
.badge-sm { font-size: 0.7rem; }

