/* General Base Styles */
/* Import Montserrat font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Colors */
    --primary-50: #EBF8FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-500: #00BEFC; /* Cayn */
    --primary-600: #00A9E0; /* Slightly darker Cayn for hover */
    --primary-700: #0093C4; /* Even darker Cayn */
    --dark-secondary: #373435; /* Dark blue secondary */
    --secondary-500: #F59E0B; /* Amber/Orange for accents */
    --secondary-600: #D97706;
    --danger-500: #EF4444; /* Red for errors/logout */
    --danger-600: #DC2626;
    --warning-500: #FBBF24; /* Yellow for warnings */
    --warning-600: #D97706;
    --success-500: #10B981; /* Green for success */
    --success-600: #059669;
    --info-500: #60A5FA; /* Light blue for info */
    --info-600: #3B82F6;

    /* Neutral Colors */
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-300: #D1D5DB;
    --neutral-400: #9CA3AF;
    --neutral-500: #6B7280;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --neutral-900: #111827;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-base: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-full: 9999px;

    /* Shadows */
    --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);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

#app {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100vh;
    padding-bottom: calc(60px + 80px);
}

#page-container {
    flex-grow: 1;
    padding-bottom: var(--spacing-lg);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-900);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h2.page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-900);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--neutral-700);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-ease);
    border: 1px solid transparent;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background-color: var(--primary-600);
}

.btn-secondary {
    background-color: var(--neutral-200);
    color: var(--neutral-800);
    border-color: var(--neutral-300);
}

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

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

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

.btn-warning {
    background-color: var(--warning-500);
    color: var(--neutral-900);
}

.btn-warning:hover {
    background-color: var(--warning-600);
}

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

.btn-info:hover {
    background-color: var(--info-600);
}

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

.btn-success:hover {
    background-color: var(--success-600);
}

.btn-full {
    width: 100%;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--neutral-700);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-full);
    transition: background-color var(--transition-speed) ease;
}

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

/* Form Elements */
.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    color: var(--neutral-800);
    background-color: white;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.input-field:focus {
    border-color: var(--primary-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 190, 252, 0.2);
}

/* Utilities */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.justify-end {
    justify-content: flex-end;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray-500 {
    color: var(--neutral-500);
}

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

.p-4 {
    padding: 1rem;
}

.rounded-lg {
    border-radius: var(--border-radius-base);
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-gray-200 {
    border-color: var(--neutral-200);
}

.cursor-pointer {
    cursor: pointer;
}

.bg-blue-50 {
    background-color: #EFF6FF;
}

.hover\:bg-blue-100:hover {
    background-color: #DBEAFE;
}

.bg-white {
    background-color: white;
}

.hover\:bg-gray-50:hover {
    background-color: #F8F9FA;
}

.font-semibold {
    font-weight: 600;
}

.text-lg {
    font-size: 1.125rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.text-xs {
    font-size: 0.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
}

.text-red-500 {
    color: var(--danger-500);
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: white;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding-top: calc(var(--spacing-md) + env(safe-area-inset-top, 0px));
}

.main-header .logo {
    height: 35px;
    width: auto;
}

.header-actions {
    display: flex;
    gap: var(--spacing-md);
}

.badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--danger-500);
    color: white;
    border-radius: var(--border-radius-full);
    padding: 2px 6px;
    font-size: 0.7rem;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bottom Navigation (Footer) */
#bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    border-top: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    background: none;
    border: none;
    color: var(--neutral-500);
    font-size: 0.75rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: color var(--transition-speed) ease;
}

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

.nav-btn.active i {
    color: var(--primary-700);
}

.nav-btn:hover {
    color: var(--primary-500);
}

.nav-btn:hover i {
    color: var(--primary-500);
}

/* New CSS Classes for JS Refactor */

/* Filters */
.filter-sort-tab {
    border-radius: var(--border-radius-full);
}
.filter-sort-tab.active {
    background-color: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.feature-filter-item {
    background-color: #F3F4F6;
    color: #373435;
    border-radius: var(--border-radius-full);
}

.feature-filter-item.selected {
    background-color: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* Vouchers */
.voucher-slide-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(5px);
}

.voucher-slide-discount {
    font-weight: 700;
}

/* Locations Card */
.location-card-travel-times {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-card-info.no-margin {
    margin: 0;
}

.location-card-price-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-top: var(--spacing-sm);
}

/* General Layout */
.no-locations-message {
    text-align: center;
    color: var(--neutral-500);
    padding: 2rem 0;
    grid-column: 1 / -1;
}

/* Home Page - Existing CSS with minor tweaks */
.hero-section {
    background: linear-gradient(to right bottom, var(--dark-secondary), var(--primary-500));
    color: white;
    padding: var(--spacing-xxl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    padding-top: calc(var(--spacing-xxl) + var(--spacing-md) + env(safe-area-inset-top, 0px));
    margin-top: -1px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/storapedia.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h2, .hero-section p {
    color: white;
}

.hero-section .search-container {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius-full);
    padding: var(--spacing-xs);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.hero-section .search-container input {
    flex-grow: 1;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    color: var(--neutral-800);
    background: transparent;
}

.hero-section .search-container input:focus {
    outline: none;
}

.hero-section .search-container button {
    background-color: var(--primary-500);
    color: white;
    border: none;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease;
}

.hero-section .search-container button:hover {
    background-color: var(--primary-600);
}

/* Easy Steps */
.easy-steps-container {
    margin-bottom: var(--spacing-xl);
    display: none;
}

@media (min-width: 768px) {
    .easy-steps-container {
        display: block;
    }
}

.easy-steps-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    gap: var(--spacing-md);
    scroll-snap-type: x mandatory;
}

.easy-step-item {
    flex: 0 0 auto;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
}

.easy-step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-100);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.easy-step-icon i {
    font-size: 1.5rem;
    color: var(--primary-700);
}

.easy-step-text {
    font-size: 0.85rem;
    color: var(--neutral-700);
    line-height: 1.3;
}

/* Vouchers Slider */
.voucher-slider-container {
    margin-bottom: var(--spacing-xl);
}

.voucher-slider {
    overflow: hidden;
    position: relative;
    padding: 0 var(--spacing-lg);
}

.voucher-slider-inner {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
}

.voucher-slide {
    flex: 0 0 calc(100% - var(--spacing-lg) * 2);
    max-width: 300px;
    height: 120px;
    background-color: var(--primary-200);
    border-radius: var(--border-radius-lg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--spacing-md);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
}

.voucher-code {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    user-select: all;
}

/* Locations Container */
.locations-container {
    /* No specific padding here */
}

.filter-sort-tabs {
    display: flex;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-sort-tab {
    flex: 0 0 auto;
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--neutral-300);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
}

.filter-sort-tab:hover:not(.active) {
    background-color: var(--neutral-200);
}

.feature-filter-list {
    display: flex;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.feature-filter-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--neutral-300);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
}

.feature-filter-item:hover:not(.selected) {
    background-color: var(--neutral-100);
}

/* Location Card Design */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

.location-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.location-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.location-card-title {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xs);
    color: var(--neutral-900);
}

.location-card-info {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 4px;
}

.location-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-top: var(--spacing-sm);
}

.star-rating {
    color: var(--secondary-500);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 3px;
}

.star-rating i {
    font-size: 0.95rem;
}

.btn-secondary-custom {
    width: 100%;
    margin-top: 1rem;
    border-radius: var(--border-radius-full);
    background-color: #00BEFC;
    border-color: #00BEFC;
    color: white;
}

/* View Details Modal (Swipe-up Effect) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

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

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 600px;
    border-top-left-radius: var(--spacing-lg);
    border-top-right-radius: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-speed) var(--transition-ease);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--neutral-200);
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0;
}

.close-modal-btn, .back-step-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--neutral-500);
    cursor: pointer;
    transition: color var(--transition-speed) ease;
    line-height: 1;
    padding: 0;
}

.close-modal-btn:hover, .back-step-btn:hover {
    color: var(--neutral-700);
}

.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
}

.modal-footer {
    padding: var(--spacing-md) var(--spacing-xl);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.modal-footer .btn {
    margin: 0;
}

/* Booking Flow Modal specifics */
.service-type-toggle {
    display: flex;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    border: 1px solid var(--primary-500);
    margin-bottom: var(--spacing-lg);
}

.service-type-toggle button {
    flex: 1;
    padding: var(--spacing-md);
    background-color: white;
    color: var(--primary-700);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.service-type-toggle button.active {
    background-color: var(--primary-500);
    color: white;
}

.service-type-toggle button:hover:not(.active) {
    background-color: var(--primary-50);
}

#pickup-details {
    margin-top: var(--spacing-md);
}

#pickup-map {
    border-radius: var(--border-radius-base);
    margin-top: var(--spacing-md);
}

.booking-option {
    display: flex;
    flex-direction: column;
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.booking-option:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-sm);
}

.booking-option.selected {
    border-color: var(--primary-500);
    background-color: var(--primary-50);
}

.booking-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.booking-option-header h5 {
    font-size: 1rem;
    margin-bottom: 0;
}

.booking-option-header input[type="radio"] {
    accent-color: var(--primary-500);
    width: 18px;
    height: 18px;
}

.duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.duration-btn {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.duration-btn.selected {
    background-color: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.duration-btn:hover:not(.selected) {
    background-color: var(--neutral-200);
}

#total-price-summary {
    color: var(--primary-700);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.payment-option {
    display: flex;
    align-items: center;
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.payment-option:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-sm);
}

.payment-option input[type="radio"] {
    accent-color: var(--primary-500);
    margin-right: var(--spacing-sm);
    width: 18px;
    height: 18px;
}

/* Bookings Page */
.page-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    background-color: white;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: var(--spacing-lg);
}

/* Styling for Booking page and modals */
.booking-list-container {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.no-bookings-message {
    text-align: center;
    padding: 2rem;
    color: var(--neutral-500);
}

.booking-card {
    background-color: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.booking-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--neutral-100);
}

.booking-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

.booking-card-info {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 4px;
}

.booking-status-badge {
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    color: white;
    display: inline-block;
}

.booking-status-badge.status-active {
    background-color: var(--primary-500);
}

.booking-status-badge.status-checked_in {
    background-color: var(--info-500);
}

.booking-status-badge.status-completed {
    background-color: var(--success-500);
}

.booking-status-badge.status-cancelled {
    background-color: var(--danger-500);
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.booking-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-full);
}

.booking-details-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.booking-details-modal-content {
    background-color: white;
    width: 90%;
    max-width: 680px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-500);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}
.booking-details-modal-header {
    background-color: #ffffff;
    color: var(--dark-secondary);
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-200);
    flex-shrink: 0;
}
.booking-details-modal-body {
    padding: 1.8rem 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
    color: var(--neutral-700);
    font-size: 0.98em;
    line-height: 1.6;
}
.booking-details-title {
    margin: 0 0 1.2rem 0;
    color: var(--dark-secondary);
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid var(--neutral-300);
    padding-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
    font-size: 0.95em;
}
.booking-detail-item strong {
    font-weight: 600;
}
.booking-total-price {
    font-weight: bold;
    color: var(--success-500);
}
.booking-seal-photo {
    max-width: 180px;
    height: auto;
    display: block;
    margin-top: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--neutral-300);
}
.booking-check-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.98em;
}
.booking-check-status-grid p {
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
}
.booking-check-status-grid p.status-done {
    background-color: var(--success-100);
    color: var(--success-700);
}
.booking-check-status-grid p.status-pending {
    background-color: var(--neutral-100);
    color: var(--neutral-500);
}

.booking-qrcode-container {
    text-align: center;
    margin-top: 1.5rem;
    padding: 10px;
    border-radius: 8px;
    background-color: var(--neutral-50);
    box-shadow: inset 0 0 4px rgba(0,0,0,0.05);
}
.booking-qrcode-container canvas {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.booking-qrcode-container canvas.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.5);
    z-index: 1100;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.booking-qrcode-caption {
    text-align: center;
    font-size: 0.85em;
    color: var(--neutral-500);
    margin-top: 0.8rem;
}

/* Modal specific styles */
.booking-review-body h4, .booking-extend-body h4, .booking-pay-body h4 {
    margin-top: 1.5rem;
}
.rating-input {
    display: flex;
    justify-content: center;
    font-size: 2.5em;
    color: var(--secondary-500);
    cursor: pointer;
}
.rating-input .star {
    color: var(--neutral-300);
    transition: color 0.2s;
}
.rating-input .star:hover,
.rating-input .star[data-rating="1"]:hover,
.rating-input .star[data-rating="2"]:hover,
.rating-input .star[data-rating="3"]:hover,
.rating-input .star[data-rating="4"]:hover,
.rating-input .star[data-rating="5"]:hover {
    color: var(--secondary-500);
}
.rating-input .star[data-rating="1"].active,
.rating-input .star[data-rating="2"].active,
.rating-input .star[data-rating="3"].active,
.rating-input .star[data-rating="4"].active,
.rating-input .star[data-rating="5"].active {
    color: var(--secondary-500);
}
.input-field {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--neutral-300);
    resize: vertical;
}

/* Invoice HTML for PDF (print-specific styles included in JS, but overall styles here) */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #334155;
    line-height: 1.6;
}

.invoice-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-500);
}

.invoice-header .logo {
    max-width: 180px;
    height: auto;
}

.invoice-header .company-info {
    text-align: right;
    font-size: 0.9em;
}

.invoice-header .company-info h1 {
    color: var(--primary-700);
    font-size: 2.2em;
    margin: 0 0 5px 0;
    font-weight: 800;
}

.invoice-header .company-info p {
    margin: 0;
    color: #64748B;
}

.invoice-details, .bill-to {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.invoice-details div, .bill-to div {
    flex-basis: 48%;
}

.invoice-details h2, .bill-to h2 {
    font-size: 1.5em;
    color: var(--dark-secondary);
    margin-bottom: 10px;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 5px;
    font-weight: 700;
}

.invoice-details p, .bill-to p {
    margin: 5px 0;
    font-size: 0.95em;
}

.invoice-details strong, .bill-to strong {
    color: var(--dark-secondary);
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.invoice-table th, .invoice-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-table th {
    background-color: var(--primary-500);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
}

.invoice-table tr:nth-child(even) {
    background-color: #F8FAFC;
}

.invoice-table .total-row td {
    background-color: var(--primary-50);
    color: var(--primary-700);
    font-weight: 700;
    font-size: 1.2em;
    border-top: 2px solid var(--primary-500);
}

.invoice-table .total-row td:last-child {
    text-align: right;
    font-size: 1.5em;
    font-weight: 800;
}

.payment-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #EFF6FF;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary-100);
}

.payment-info h3 {
    color: var(--primary-700);
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.payment-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.invoice-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #CBD5E1;
    font-size: 0.85em;
    color: #64748B;
}

@media print {
    body {
        background-color: #ffffff;
    }

    .invoice-container {
        box-shadow: none;
        border: none;
    }
}

@media (max-width: 600px) {
    .invoice-container {
        padding: 20px;
    }

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

    .invoice-header .company-info {
        text-align: left;
        margin-top: 15px;
    }

    .invoice-details, .bill-to {
        flex-direction: column;
    }

    .invoice-details div, .bill-to div {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .invoice-table th, .invoice-table td {
        padding: 8px 10px;
        font-size: 0.8em;
    }

    .invoice-table .total-row td {
        font-size: 1em;
    }

    .invoice-table .total-row td:last-child {
        text-align: right;
        font-size: 1.2em;
    }
}

/* Inbox Page */
.inbox-main-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 var(--spacing-lg);
    position: relative;
}

.page-title.inbox-title {
    display: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.chat-messages-display {
    flex-grow: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    background-color: var(--neutral-100);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    scroll-behavior: smooth;
    padding-bottom: calc(var(--spacing-md) + 80px);
}

.message-container {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-sm);
}

.message-container.sent {
    align-items: flex-end;
}

.message-container.received {
    align-items: flex-start;
}

.message-bubble-content {
    max-width: 80%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: 0.95rem;
    word-wrap: break-word;
}

.message-container.sent .message-bubble-content {
    background-color: var(--primary-500);
    color: white;
}

.message-container.received .message-bubble-content {
    background-color: white;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-200);
}

.message-meta {
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-top: 4px;
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.chat-input-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--neutral-200);
    background-color: white;
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.chat-text-input {
    flex-grow: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    background-color: var(--neutral-50);
    color: var(--neutral-800);
}

.chat-text-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 190, 252, 0.2);
}

.chat-send-button {
    background-color: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--border-radius-full);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.chat-send-button:hover {
    background-color: var(--primary-600);
}

/* Notifications Page */
.notification-list {
    padding: 0 var(--spacing-lg);
}

.notification-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neutral-200);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-bottom: var(--spacing-sm);
}

.notification-item.bg-blue-50 {
    background-color: var(--primary-50);
    border-color: var(--primary-100);
}

.notification-item:hover {
    box-shadow: var(--shadow-sm);
}

.notification-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.notification-item p {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: 0;
}

.notification-item .text-right {
    text-align: right;
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-top: var(--spacing-sm);
}

/* Notification Pop-up (using existing modal styles for simplicity, but making it smaller/attached) */
/* This will require JS to position correctly, but CSS sets up the visual */
#notification-popup-modal {
    background-color: rgba(0, 0, 0, 0.2);
}

#notification-popup-modal .modal-content {
    max-width: 350px;
    border-radius: var(--border-radius-base);
    margin-bottom: var(--spacing-md);
    transform: translateY(0%);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

#notification-popup-modal.active .modal-content {
    opacity: 1;
    visibility: visible;
}

/* Profile Page */
#profile-content {
    padding: var(--spacing-xl);
}

.profile-header-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.profile-picture-wrapper {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin: 0 auto var(--spacing-md) auto;
    position: relative;
    cursor: pointer;
    border: 3px solid var(--primary-500);
    box-shadow: var(--shadow-sm);
}

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.profile-picture-wrapper:hover .profile-picture-overlay {
    opacity: 1;
}

.profile-user-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--neutral-900);
}

.profile-user-email {
    font-size: 0.95rem;
    color: var(--neutral-600);
    margin-bottom: var(--spacing-md);
}

.profile-verification-status {
    margin-top: var(--spacing-md);
}

.profile-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--success-100);
    color: var(--success-700);
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-verified-badge i {
    font-size: 1rem;
}

.profile-section-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.profile-section-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: var(--spacing-sm);
}

.profile-section-card .btn {
    margin-top: var(--spacing-md);
}

/* FAQ Modal (from profile page) */
#faq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

#faq-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

#faq-modal-overlay .modal-content {
    max-width: 700px;
    height: auto;
    max-height: 90vh;
    border-radius: var(--border-radius-lg);
    transform: translateY(0);
}

#faq-modal-overlay .modal-header {
    justify-content: space-between;
}

#faq-modal-overlay .modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--neutral-500);
    cursor: pointer;
}

.faq-list-in-modal {
    padding: var(--spacing-md) var(--spacing-xl);
    overflow-y: auto;
}

.faq-item-card {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    background-color: white;
    font-weight: 600;
    transition: background-color var(--transition-speed) ease;
}

.faq-question:hover {
    background-color: var(--neutral-100);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--neutral-800);
}

.faq-toggle-icon {
    transition: transform var(--transition-speed) ease;
}

.faq-toggle-icon.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    color: var(--neutral-700);
    border-top: 1px solid var(--neutral-100);
    background-color: var(--neutral-50);
}

.faq-answer.hidden {
    display: none;
}

/* Loader Overlay */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-speed) ease;
}

.spinner {
    border: 4px solid var(--neutral-300);
    border-top: 4px solid var(--primary-500);
    border-radius: var(--border-radius-full);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

#loader-text {
    margin-top: var(--spacing-md);
    color: var(--neutral-700);
    font-size: 1rem;
    font-weight: 500;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* SweetAlert2 overrides (for showToast) */
.swal2-popup {
    font-family: 'Montserrat', sans-serif !important;
    border-radius: var(--border-radius-base) !important;
    box-shadow: var(--shadow-lg) !important;
}

.swal2-title {
    font-weight: 700 !important;
    color: var(--neutral-900) !important;
}

.swal2-html-container {
    color: var(--neutral-700) !important;
}

.swal2-confirm.swal2-styled {
    background-color: var(--primary-500) !important;
    border-color: var(--primary-500) !important;
    border-radius: var(--border-radius-full);
}

.swal2-cancel.swal2-styled {
    background-color: var(--neutral-200) !important;
    color: var(--neutral-800) !important;
    border-radius: var(--border-radius-full);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header {
        padding: var(--spacing-sm) var(--spacing-md);
        padding-top: calc(var(--spacing-sm) + env(safe-area-inset-top, 0px));
    }

    #app {
        padding-bottom: calc(60px + 56px);
    }

    .hero-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .section-title {
        padding: 0 var(--spacing-md);
    }

    .easy-steps-list, .filter-sort-tabs, .feature-filter-list {
        padding: 0 var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    }

    .grid-view {
        padding: 0 var(--spacing-md);
    }

    .modal-header, .modal-footer, .modal-body,
    .booking-details-modal-header, .booking-details-modal-body {
        padding: var(--spacing-md);
    }

    #profile-content {
        padding: var(--spacing-md);
    }

    .profile-header-card, .profile-section-card {
        padding: var(--spacing-lg);
    }

    .chat-input-controls {
        bottom: 60px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .chat-text-input {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .chat-send-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .chat-messages-display {
        padding-bottom: calc(var(--spacing-md) + 56px);
    }

    #faq-modal-overlay .modal-content {
        max-width: 95%;
    }

    .faq-list-in-modal {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .notification-list {
        padding: 0 var(--spacing-md);
    }
}

/* Styling for readonly inputs */
.input-field[readonly] {
    background-color: var(--neutral-100);
    cursor: not-allowed;
    border-color: var(--neutral-200);
    color: var(--neutral-500);
}

/* Installation Banner */
.install-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.install-banner.hidden {
    display: none;
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.install-banner-icon {
    width: 40px;
    height: 40px;
}

.install-banner-text {
    display: flex;
    flex-direction: column;
}

.install-banner-text strong {
    font-weight: 600;
    color: var(--neutral-800);
}

.install-banner-text span {
    font-size: 0.85rem;
    color: var(--neutral-600);
}

#install-button {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    border-radius: var(--border-radius-full);
}

#close-install-banner {
    font-size: 1.5rem;
    padding: 0 var(--spacing-sm);
}

/* Location Detail Modal */
.location-status-badge {
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
}

.location-status-badge.open {
    background-color: var(--success-500);
}

.location-status-badge.closed {
    background-color: var(--danger-500);
}

.location-detail-card {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neutral-200);
}

.location-detail-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.location-detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.location-detail-address {
    color: var(--neutral-500);
    margin: 0;
    padding-right: 1rem;
}

.location-detail-description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--neutral-700);
}

.location-features-list {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neutral-200);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--neutral-100);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--neutral-800);
}

.opening-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.opening-hours-table td {
    padding: 0.5rem 0;
    font-weight: 600;
}

.closed-day {
    color: var(--danger-500);
}

/* Category Slider */
.sp-category-slider-container {
    position: relative;
}

.sp-category-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sp-category-slider::-webkit-scrollbar {
    display: none;
}

.sp-category-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    background: white;
    display: flex;
    flex-direction: column;
}

.sp-category-card-content {
    display: flex;
    padding: 1rem;
    flex-grow: 1;
}

.sp-category-image {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-base);
    margin-right: 1rem;
}

.sp-category-text {
    display: flex;
    flex-direction: column;
}

.sp-category-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.sp-category-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: var(--neutral-600);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-category-footer {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid var(--neutral-200);
    margin-top: auto;
}

/* Category Detail Popup */
.sp-category-detail-modal-content {
    max-width: 500px;
    margin: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.sp-size-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-200);
}

.sp-size-details {
    padding-right: 1rem;
}

.sp-size-title {
    margin: 0;
    font-weight: 600;
}

.sp-size-description {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: var(--neutral-600);
}

.sp-size-capacity {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.sp-size-capacity.available {
    color: var(--success-500);
    background-color: rgba(25, 135, 84, 0.1);
}

.sp-size-capacity.full {
    color: var(--danger-500);
    background-color: rgba(220, 53, 69, 0.1);
}

.sp-size-rates {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--neutral-700);
}

.sp-quantity-selector {
    display: flex;
    align-items: center;
}

.btn-quantity {
    width: 30px;
    height: 30px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    background-color: var(--neutral-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.btn-quantity:hover {
    background-color: var(--neutral-200);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Booking Flow Modal */
#booking-flow-modal .modal-content {
    max-width: 600px;
    height: auto;
    max-height: 90vh;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: translateY(0);
}

.sp-bookings-flow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    flex-shrink: 0;
}

.sp-bookings-flow-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.sp-bookings-flow-input-group {
    margin-bottom: 1.5rem;
}

.sp-bookings-flow-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sp-bookings-flow-input-group .sp-input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
}

.sp-bookings-flow-input-group .sp-input-field:focus {
    border-color: var(--primary-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 190, 252, 0.2);
}

.sp-bookings-flow-input-group .flex-container {
    display: flex;
    gap: 1rem;
}

.sp-duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sp-duration-btn {
    flex-grow: 1;
    background-color: white;
    color: var(--primary-500);
    border: 1px solid var(--neutral-300);
    padding: 0.75rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sp-duration-btn.active {
    background-color: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.sp-duration-btn.active span {
    color: white !important;
}

.sp-duration-btn:hover:not(.active) {
    background-color: var(--primary-50);
}

.sp-bookings-flow-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--neutral-200);
    text-align: right;
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 1000;
}

.sp-bookings-flow-footer .btn {
    padding: 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-weight: 600;
}

.sp-bookings-flow-footer #next-step-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sp-service-type-toggle {
    display: flex;
    width: 100%;
    border: 1px solid var(--primary-500);
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sp-service-type-toggle button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background-color: white;
    color: var(--primary-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sp-service-type-toggle button.active {
    background-color: var(--primary-500);
    color: white;
}

.sp-service-type-toggle button:hover:not(.active) {
    background-color: var(--primary-50);
}

.sp-summary-section {
    margin-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1rem;
}

.sp-summary-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.sp-editable-summary-list {
    display: flex;
    flex-direction: column;
}

.sp-summary-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 0.75rem;
    border: 1px solid var(--neutral-300);
}

.sp-summary-item-card .btn-outline-primary {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    background-color: var(--primary-50);
    border: 1px solid var(--primary-500);
    color: var(--primary-500);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.sp-summary-item-card .btn-outline-primary:hover {
    background-color: var(--primary-100);
}

.sp-total-price {
    margin-top: 1rem;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-700);
}

.sp-confirmation-summary {
    background: var(--neutral-50);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.sp-pickup-fee-summary {
    background: var(--neutral-50);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    margin-top: 1rem;
}

.sp-total-price-container {
    margin-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1rem;
    text-align: right;
}

.sp-price-details {
    font-size: 0.9rem;
    color: var(--neutral-500);
    text-align: right;
}

.sp-discount-text {
    color: var(--success-500);
}

.sp-original-price-strikethrough {
    color: var(--danger-500);
    text-decoration: line-through;
}

.sp-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sp-payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    background-color: white;
}

.sp-payment-option input {
    margin-right: 10px;
}

.sp-pickup-modal-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.sp-pickup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.sp-pickup-modal-body {
    overflow-y: auto;
    flex-grow: 1;
}

.sp-pickup-modal-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    margin-top: 1.5rem;
    text-align: right;
    position: sticky;
    bottom: 0;
    background: white;
}

.sp-pickup-btn {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-300);
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.sp-pickup-btn:hover {
    background-color: var(--neutral-200);
}

.sp-pickup-btn-primary {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background-color: var(--primary-500);
    color: white;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.sp-pickup-btn-primary:hover {
    background-color: var(--primary-600);
}

.sp-pickup-btn-primary[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Review Modal */
.star {
    cursor: pointer;
    color: #ccc;
    font-size: 2.5em;
    transition: color 0.2s;
}

.rating-input {
    display: flex;
    justify-content: center;
    font-size: 2.5em;
    color: #FFD700;
    cursor: pointer;
}

.swal-title {
    font-weight: 700 !important;
}

.swal-html-container {
    text-align: left !important;
}

.swal-list {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
    text-align: left;
}

.swal-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.swal-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.swal-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.swal-question i {
    transition: transform 0.3s;
}

.swal-question i.rotate {
    transform: rotate(180deg);
}

.swal-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.swal-answer.open {
    max-height: 200px;
}

.swal-answer p {
    margin: 10px 0 0;
    color: #555;
}

/* Styling untuk Modal Umum dan Modifikasi untuk Inventory Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end; /* Memposisikan modal di bagian bawah */
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

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

.modal-content-inner {
    background-color: white;
    width: 100%; /* Lebar penuh di mobile */
    max-width: 680px; /* Batasan lebar di desktop */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.modal-overlay.active .modal-content-inner {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-500);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    color: var(--neutral-700);
}

/* Add Inventory Modal Styling */
.add-inventory-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inventory-form-card-modal,
.inventory-list-card-modal {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.inventory-form-card-modal .inventory-form .form-group {
    margin-bottom: 1rem;
}

.inventory-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

/* Perubahan untuk tampilan tabel */
.inventory-table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-table th,
.inventory-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.inventory-table th {
    background-color: var(--primary-100);
    color: var(--primary-800);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.inventory-item-name {
    font-weight: 600;
}

.inventory-item-description {
    font-size: 0.85rem;
    color: var(--neutral-600);
}

.inventory-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.empty-list-message {
    font-style: italic;
    color: var(--neutral-500);
    text-align: center;
    padding: 1rem;
}



/* -- assets/css/main.css -- */

/* Membuat container aksi menggunakan flexbox */
.booking-actions {
    display: flex;
    justify-content: space-between; /* Menyebar elemen ke sisi berlawanan */
    align-items: center;            /* Menyelaraskan secara vertikal */
    flex-wrap: wrap;                /* Memastikan wrap di layar kecil */
    gap: 0.75rem;                   /* Jarak antar elemen */
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Grup untuk tombol-tombol aksi */
.action-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Styling untuk badge status pickup */
.pickup-status-display {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid transparent;
}

/* Pewarnaan badge berdasarkan status */
.pickup-status-display.status-requested {
    background-color: #fff8e1;
    color: #f59e0b;
    border-color: #f59e0b;
}

.pickup-status-display.status-picked_up {
    background-color: #e0f2fe;
    color: #3b82f6;
    border-color: #3b82f6;
}

.pickup-status-display.status-completed {
    background-color: #dcfce7;
    color: #22c55e;
    border-color: #22c55e;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}