/* ============================================================
   HOTARA - Premium Minimalist Design System
   Version 2.0
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* Colors */
    --hotara-primary:          #2563EB;
    --hotara-primary-light:    #3B82F6;
    --hotara-primary-dark:     #1D4ED8;
    --hotara-accent:           #FFCD38;
    
    --hotara-text:             #1F2937;
    --hotara-text-muted:       #6B7280;
    --hotara-text-light:       #9CA3AF;
    --hotara-background:       #FFFFFF;
    --hotara-background-soft:  #F9FAFB;
    --hotara-border:           #E5E7EB;
    --hotara-border-soft:      #F3F4F6;

    /* Semantic */
    --hotara-success:          #14B8A6;
    --hotara-success-soft:     #F0FDFA;
    --hotara-warning:          #FFCD38;
    --hotara-warning-soft:     #FEF9C3;
    --hotara-danger:           #FF6B8B;
    --hotara-danger-soft:      #FFF1F2;
    --hotara-info:             #8B5CF6;
    --hotara-info-soft:        #F5F3FF;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Shadows */
    --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:  0 2px 8px rgba(0,0,0,.04);
    --shadow-md:  0 4px 20px rgba(0,0,0,.06);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.08);
    --shadow-xl:  0 16px 48px rgba(0,0,0,.10);

    /* Radii */
    --radius-xs:  4px;
    --radius-sm:  6px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;

    /* Layout */
    --container-max: 1280px;
    --sidebar-width: 240px;

    /* Transitions */
    --ease: all 0.18s ease;
    --ease-md: all 0.25s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-sans);
    color: var(--hotara-text);
    background: var(--hotara-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--hotara-primary);
    line-height: 1.3;
    font-weight: 700;
}

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

a:hover { opacity: 0.75; }

img { max-width: 100%; display: block; }

/* Bootstrap overrides */
.container { max-width: var(--container-max); }

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
.text-xs    { font-size: 0.75rem;  }
.text-sm    { font-size: 0.875rem; }
.text-base  { font-size: 1rem;     }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem;  }
.text-2xl   { font-size: 1.5rem;   }
.text-3xl   { font-size: 1.875rem; }
.text-4xl   { font-size: 2.25rem;  }

.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-primary  { color: var(--hotara-primary)    !important; }
.text-muted    { color: var(--hotara-text-muted) !important; }
.text-light-c  { color: var(--hotara-text-light) !important; }
.text-success  { color: var(--hotara-success)    !important; }
.text-danger   { color: var(--hotara-danger)     !important; }
.text-warning  { color: var(--hotara-warning)    !important; }

/* ============================================================
   4. BUTTON SYSTEM
   ============================================================ */
.btn-hotara-primary,
.btn-hotara-secondary,
.btn-hotara-ghost,
.btn-hotara-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
}

.btn-hotara-primary {
    background: var(--hotara-primary);
    color: #fff;
    border-color: var(--hotara-primary);
}
.btn-hotara-primary:hover {
    background: #1F2937;
    border-color: #1F2937;
    color: #fff;
    opacity: 1;
}
.btn-hotara-primary:focus-visible {
    outline: 2px solid var(--hotara-primary);
    outline-offset: 2px;
}
.btn-hotara-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-hotara-secondary {
    background: var(--hotara-background);
    color: var(--hotara-text);
    border-color: var(--hotara-border);
}
.btn-hotara-secondary:hover {
    background: var(--hotara-background-soft);
    border-color: #D1D5DB;
    color: var(--hotara-text);
    opacity: 1;
}

.btn-hotara-ghost {
    background: transparent;
    color: var(--hotara-text-muted);
    border-color: transparent;
}
.btn-hotara-ghost:hover {
    background: var(--hotara-background-soft);
    color: var(--hotara-text);
    opacity: 1;
}

.btn-hotara-danger {
    background: var(--hotara-danger);
    color: #fff;
    border-color: var(--hotara-danger);
}
.btn-hotara-danger:hover {
    background: #B91C1C;
    color: #fff;
    opacity: 1;
}

/* Size variants */
.btn-hotara-sm { font-size: 0.8rem;  padding: 0.45rem 0.9rem;  min-height: 34px; border-radius: var(--radius-sm); }
.btn-hotara-lg { font-size: 1rem;    padding: 0.75rem 1.5rem; min-height: 48px; border-radius: var(--radius-md); }

/* Loading state */
.btn-loading { pointer-events: none; opacity: 0.7; }

/* Existing Bootstrap override for backward compat */
.btn-hotara-primary.btn { all: unset; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem; padding: 0.625rem 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--hotara-primary); background: var(--hotara-primary); color: #fff; cursor: pointer; transition: var(--ease); min-height: 40px; justify-content: center; width: 100%; }
.btn-hotara-primary.btn:hover { background: #1F2937; border-color: #1F2937; }

/* ============================================================
   5. FORM INPUTS
   ============================================================ */
.form-control,
.form-select {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--hotara-text);
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.875rem;
    transition: var(--ease);
    line-height: 1.5;
    width: 100%;
    min-height: 40px;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--hotara-primary);
    box-shadow: 0 0 0 3px rgba(17,24,39,.08);
    background: var(--hotara-background);
}

.form-control::placeholder { color: var(--hotara-text-light); }

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hotara-text);
    margin-bottom: 0.375rem;
    display: block;
}

.form-text {
    font-size: 0.78rem;
    color: var(--hotara-text-muted);
    margin-top: 0.25rem;
}

.form-control.is-invalid { border-color: var(--hotara-danger); box-shadow: none; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
.invalid-feedback { font-size: 0.78rem; color: var(--hotara-danger); margin-top: 0.25rem; }

/* ============================================================
   6. BADGE / STATUS SYSTEM
   ============================================================ */
.badge-hotara {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
}

.badge-success   { background: var(--hotara-success-soft); color: var(--hotara-success); }
.badge-warning   { background: var(--hotara-warning-soft); color: #92400E; }
.badge-danger    { background: var(--hotara-danger-soft);  color: var(--hotara-danger); }
.badge-info      { background: var(--hotara-info-soft);    color: var(--hotara-info); }
.badge-neutral   { background: var(--hotara-border-soft);  color: var(--hotara-text-muted); }
.badge-dark      { background: #F3F4F6;                    color: var(--hotara-primary); }

/* Booking status specific */
.badge-confirmed  { background: #F0FDF4; color: #15803D; }
.badge-pending    { background: #FFFBEB; color: #B45309; }
.badge-cancelled  { background: #FEF2F2; color: #DC2626; }
.badge-completed  { background: #EFF6FF; color: #1D4ED8; }
.badge-checked-in { background: #F0FDF4; color: #15803D; }

/* ============================================================
   7. CARD SYSTEM
   ============================================================ */
.card-hotara {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--ease-md);
}

.card-hotara:hover {
    box-shadow: var(--shadow-md);
    border-color: #D1D5DB;
}

.card-hotara-body { padding: 1.25rem; }
.card-hotara-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--hotara-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================================
   8. NAVBAR
   ============================================================ */
.hotara-navbar {
    background: var(--hotara-background);
    border-bottom: 1px solid var(--hotara-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    height: 60px;
    display: flex;
    align-items: center;
}

.hotara-navbar .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.hotara-navbar .navbar-brand,
.hotara-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--hotara-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.hotara-navbar .navbar-brand:hover,
.hotara-logo:hover { opacity: 1; color: var(--hotara-primary); }

.logo-text {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--hotara-primary);
}

.hotara-navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hotara-text-muted);
    padding: 0.45rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--ease);
}

.hotara-navbar .nav-link:hover,
.hotara-navbar .nav-link.active {
    color: var(--hotara-primary);
    background: var(--hotara-background-soft);
}

.hotara-navbar .navbar-toggler {
    border: 1px solid var(--hotara-border);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--hotara-text);
    font-size: 1.1rem;
}

.hotara-navbar .navbar-toggler:focus { box-shadow: none; }

/* Navbar user avatar */
.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--hotara-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-name { font-size: 0.9rem; font-weight: 500; color: var(--hotara-text); }

.user-dropdown {
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
}

.user-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: var(--hotara-text);
    transition: var(--ease);
}

.user-dropdown .dropdown-item:hover {
    background: var(--hotara-background-soft);
    color: var(--hotara-primary);
}

.hotara-btn-primary {
    background: var(--hotara-primary);
    color: #fff;
    border: 1px solid var(--hotara-primary);
    border-radius: var(--radius-md);
    padding: 0.45rem 1.125rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.hotara-btn-primary:hover { background: #1F2937; border-color: #1F2937; color: #fff; opacity: 1; }

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero-section {
    background: var(--hotara-background-soft);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(17,24,39,.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hotara-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--hotara-primary);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--hotara-text-muted);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ============================================================
   10. SEARCH BOX
   ============================================================ */
.search-box {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hotara-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.search-input {
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.875rem;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--hotara-text);
    background: var(--hotara-background);
    width: 100%;
    transition: var(--ease);
    height: 46px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-input:focus {
    outline: none;
    border-color: var(--hotara-primary);
    box-shadow: 0 0 0 3px rgba(17,24,39,.06);
}

.search-input::placeholder { color: var(--hotara-text-light); }

.search-btn {
    background: var(--hotara-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    height: 46px;
}

.search-btn:hover { background: #1F2937; }

.search-divider {
    width: 1px;
    background: var(--hotara-border);
    align-self: stretch;
    flex-shrink: 0;
}

/* Guest selector */
.guest-selector { position: relative; }

.guest-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    min-width: 240px;
    z-index: 200;
    display: none;
}

.guest-dropdown.show { display: block; }

.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--hotara-border-soft);
}

.guest-row:last-of-type { border-bottom: none; }

.guest-counter { display: flex; align-items: center; gap: 0.75rem; }

.counter-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--hotara-border);
    background: var(--hotara-background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--hotara-text);
    transition: var(--ease);
    user-select: none;
    line-height: 1;
}

.counter-btn:hover { background: var(--hotara-primary); color: #fff; border-color: var(--hotara-primary); }
.counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.counter-value { font-size: 0.9rem; font-weight: 600; min-width: 24px; text-align: center; }

/* ============================================================
   11. SECTION HEADINGS
   ============================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hotara-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--hotara-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.975rem;
    color: var(--hotara-text-muted);
    line-height: 1.6;
}

/* ============================================================
   12. HOTEL CARD
   ============================================================ */
.hotel-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: var(--ease-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.hotel-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #D1D5DB;
    transform: translateY(-2px);
    color: inherit;
    opacity: 1;
}

.hotel-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--hotara-border-soft);
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hotel-card:hover .hotel-card-image img { transform: scale(1.04); }

.hotel-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.hotel-badge {
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hotel-badge-stars { background: rgba(17,24,39,.75); color: #fff; }
.hotel-badge-deal  { background: rgba(22,163,74,.9);  color: #fff; }

.hotel-wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--hotara-text-muted);
    transition: var(--ease);
    z-index: 2;
    font-size: 0.875rem;
}

.hotel-wishlist:hover { background: #fff; color: var(--hotara-danger); }

.hotel-card-body {
    padding: 1.125rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-name {
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--hotara-primary);
    line-height: 1.35;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-location {
    font-size: 0.8rem;
    color: var(--hotara-text-muted);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.625rem;
}

.hotel-stars { color: var(--hotara-warning); font-size: 0.7rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

.hotel-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}

.rating-score {
    background: var(--hotara-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
}

.rating-label { font-size: 0.78rem; color: var(--hotara-text-muted); }

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.amenity-tag {
    font-size: 0.75rem;
    color: var(--hotara-text-muted);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.hotel-card-footer {
    border-top: 1px solid var(--hotara-border-soft);
    padding-top: 0.875rem;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.hotel-price-from { font-size: 0.72rem; color: var(--hotara-text-light); margin-bottom: 0.1rem; }

.hotel-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hotara-primary);
    line-height: 1;
}

.hotel-price-per { font-size: 0.72rem; color: var(--hotara-text-muted); font-weight: 400; }

.hotel-cta {
    flex-shrink: 0;
    background: var(--hotara-primary);
    color: #fff;
    border: none;
    padding: 0.45rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-sans);
}

.hotel-cta:hover { background: #1F2937; color: #fff; opacity: 1; }

/* ============================================================
   13. CITY / DESTINATION CARD
   ============================================================ */
.city-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    text-decoration: none;
    aspect-ratio: 3/4;
    background: var(--hotara-border-soft);
    transition: var(--ease-md);
}

.city-card:hover { transform: translateY(-2px); opacity: 1; }

.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.city-card:hover img { transform: scale(1.04); }

.city-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.city-card-name { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: 0.15rem; }
.city-card-count { color: rgba(255,255,255,.75); font-size: 0.78rem; }

/* ============================================================
   14. TRUST STRIP
   ============================================================ */
.trust-strip {
    background: var(--hotara-background);
    border-top: 1px solid var(--hotara-border);
    border-bottom: 1px solid var(--hotara-border);
    padding: 1.5rem 0;
}

.trust-item { display: flex; align-items: center; gap: 0.75rem; }

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--hotara-background-soft);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--hotara-primary);
    flex-shrink: 0;
}

.trust-title { font-size: 0.85rem; font-weight: 600; color: var(--hotara-primary); }
.trust-sub   { font-size: 0.75rem; color: var(--hotara-text-muted); }

/* ============================================================
   15. FOOTER
   ============================================================ */
.hotara-footer {
    background: var(--hotara-primary);
    color: rgba(255,255,255,.65);
    padding: 3.5rem 0 2rem;
}

.footer-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.5);
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 0.875rem; transition: var(--ease); }
.footer-links a:hover { color: #fff; opacity: 1; }

.footer-divider { border-color: rgba(255,255,255,.12); margin: 2rem 0 1.5rem; }

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: 0.875rem;
    transition: var(--ease);
    text-decoration: none;
}

.social-link:hover { background: rgba(255,255,255,.2); color: #fff; opacity: 1; }

/* ============================================================
   16. AUTH LAYOUT
   ============================================================ */
.auth-page {
    min-height: 100vh;
    background: var(--hotara-background-soft);
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--hotara-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hotara-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.375rem;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--hotara-text-muted);
    margin-bottom: 1.75rem;
    text-align: center;
}

.text-primary-hotara { color: var(--hotara-primary); }
.text-primary-hotara:hover { color: #1F2937; opacity: 1; }

/* ============================================================
   17. ADMIN / DASHBOARD LAYOUT
   ============================================================ */
.admin-wrapper { display: flex; min-height: 100vh; background: var(--hotara-background-soft); }

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--hotara-background);
    border-right: 1px solid var(--hotara-border);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.admin-sidebar-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--hotara-border);
    flex-shrink: 0;
}

.admin-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--hotara-primary);
    text-decoration: none;
}

.admin-nav { padding: 1rem 0; flex: 1; }

.admin-nav-section {
    padding: 0.875rem 1.25rem 0.375rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hotara-text-light);
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.55rem 1.25rem;
    color: var(--hotara-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 2px solid transparent;
    transition: var(--ease);
    border-radius: 0;
}

.admin-nav-item i { font-size: 0.975rem; width: 18px; text-align: center; flex-shrink: 0; }

.admin-nav-item:hover {
    color: var(--hotara-primary);
    background: var(--hotara-background-soft);
    opacity: 1;
}

.admin-nav-item.active {
    color: var(--hotara-primary);
    background: var(--hotara-background-soft);
    border-left-color: var(--hotara-primary);
    font-weight: 600;
}

.admin-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--hotara-border);
    flex-shrink: 0;
}

/* Hotel selector in sidebar */
.hotel-selector {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--hotara-border);
    background: var(--hotara-background-soft);
}

.hotel-selector .form-select { font-size: 0.825rem; }

/* Admin main */
.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin 0.3s ease;
}

.admin-header {
    height: 60px;
    background: var(--hotara-background);
    border-bottom: 1px solid var(--hotara-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hotara-primary);
    margin: 0;
}

.admin-content { padding: 1.75rem; flex: 1; }

.header-user  { display: flex; align-items: center; gap: 0.75rem; }

.header-avatar {
    width: 32px;
    height: 32px;
    background: var(--hotara-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--hotara-text);
    cursor: pointer;
    padding: 0.25rem;
}

@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-xl); }
    .admin-main { margin-left: 0; }
    .mobile-toggle { display: block; }
}

/* ============================================================
   18. STAT CARDS
   ============================================================ */
.stat-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
}

.stat-card-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--hotara-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.625rem;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hotara-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-card-change {
    font-size: 0.78rem;
    color: var(--hotara-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-card-icon {
    width: 36px;
    height: 36px;
    background: var(--hotara-background-soft);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--hotara-primary);
    flex-shrink: 0;
}

/* ============================================================
   19. DATA TABLE
   ============================================================ */
.table-hotara {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table-hotara thead th {
    background: var(--hotara-background-soft);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hotara-text-muted);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--hotara-border);
    white-space: nowrap;
}

.table-hotara tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--hotara-border-soft);
    color: var(--hotara-text);
    vertical-align: middle;
}

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

.table-hotara tbody tr:hover { background: var(--hotara-background-soft); }

.table-wrapper {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

/* ============================================================
   20. BREADCRUMB
   ============================================================ */
.breadcrumb-hotara {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--hotara-text-muted);
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-hotara li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb-hotara a { color: var(--hotara-text-muted); transition: var(--ease); }
.breadcrumb-hotara a:hover { color: var(--hotara-primary); opacity: 1; }
.breadcrumb-hotara .separator { color: var(--hotara-text-light); font-size: 0.7rem; }
.breadcrumb-hotara .active { color: var(--hotara-primary); font-weight: 500; }

/* ============================================================
   21. ALERT / FLASH
   ============================================================ */
.alert-hotara {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    border: 1px solid;
}

.alert-hotara-success { background: var(--hotara-success-soft); border-color: #BBF7D0; color: #15803D; }
.alert-hotara-danger  { background: var(--hotara-danger-soft);  border-color: #FECACA; color: #DC2626; }
.alert-hotara-warning { background: var(--hotara-warning-soft); border-color: #FDE68A; color: #92400E; }
.alert-hotara-info    { background: var(--hotara-info-soft);    border-color: #BAE6FD; color: #0369A1; }

/* ============================================================
   22. EMPTY STATE
   ============================================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--hotara-text-muted);
}

.empty-state-icon {
    font-size: 2.5rem;
    color: var(--hotara-text-light);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hotara-text);
    margin-bottom: 0.4rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--hotara-text-muted);
    max-width: 280px;
    line-height: 1.6;
}

/* ============================================================
   23. SKELETON LOADER
   ============================================================ */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}

/* ============================================================
   24. BOOKING FLOW
   ============================================================ */
.booking-flow-header {
    background: var(--hotara-primary);
    padding: 2rem 0 1.75rem;
    color: #fff;
}

.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.25rem;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,.45);
}

.booking-step.done    { color: rgba(255,255,255,.7); }
.booking-step.active  { color: #fff; font-weight: 600; }

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.booking-step.active .step-num { background: #fff; color: var(--hotara-primary); border-color: #fff; }
.booking-step.done   .step-num { background: rgba(255,255,255,.15); }

.step-divider { width: 40px; height: 1px; background: rgba(255,255,255,.2); margin: 0 0.5rem; }

/* ============================================================
   25. PAGINATION
   ============================================================ */
.pagination-hotara {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.pagination-hotara .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--hotara-text);
    background: var(--hotara-background);
    text-decoration: none;
    transition: var(--ease);
}

.pagination-hotara .page-link:hover { background: var(--hotara-background-soft); color: var(--hotara-primary); opacity: 1; }
.pagination-hotara .page-link.active { background: var(--hotara-primary); color: #fff; border-color: var(--hotara-primary); }
.pagination-hotara .page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ============================================================
   26. MODAL
   ============================================================ */
.modal-hotara .modal-dialog { max-width: 480px; }

.modal-hotara .modal-content {
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.modal-hotara .modal-header {
    border-bottom: 1px solid var(--hotara-border);
    padding: 1.25rem 1.5rem;
}

.modal-hotara .modal-title { font-size: 1rem; font-weight: 600; }
.modal-hotara .modal-body  { padding: 1.5rem; }
.modal-hotara .modal-footer { border-top: 1px solid var(--hotara-border); padding: 1rem 1.5rem; }

/* ============================================================
   27. TOAST
   ============================================================ */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast-hotara {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    max-width: 360px;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    animation: toast-in 0.2s ease;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   28. BOOKING STATUS TAGS (inline)
   ============================================================ */
.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-success  { background: var(--hotara-success); }
.status-dot-warning  { background: var(--hotara-warning); }
.status-dot-danger   { background: var(--hotara-danger); }
.status-dot-neutral  { background: var(--hotara-text-light); }

/* ============================================================
   29. SEARCH RESULTS PAGE
   ============================================================ */
.search-results-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: var(--ease-md);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .search-results-card { flex-direction: row; }
}

.search-results-card:hover { box-shadow: var(--shadow-md); border-color: #D1D5DB; }

.search-result-image {
    width: 100%;
    aspect-ratio: 16/10;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--hotara-border-soft);
}

@media (min-width: 768px) {
    .search-result-image { width: 260px; aspect-ratio: auto; }
}

.search-result-image img { width: 100%; height: 100%; object-fit: cover; }

.search-result-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.search-result-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--hotara-border-soft);
}

/* Filter sidebar */
.filter-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.filter-section { padding: 1rem 1.125rem; border-bottom: 1px solid var(--hotara-border-soft); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: 0.825rem; font-weight: 600; color: var(--hotara-primary); margin-bottom: 0.75rem; }

/* ============================================================
   30. HOTEL DETAIL PAGE
   ============================================================ */
.hotel-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 180px;
    gap: 0.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hotel-gallery-grid { grid-template-columns: 1.65fr 1fr 1fr; grid-template-rows: 280px 180px; }
}

.hotel-gallery-main { grid-column: 1; grid-row: 1 / 3; }

.hotel-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hotel-gallery-img:hover { transform: scale(1.02); }

.hotel-gallery-more {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.hotel-gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    gap: 0.375rem;
}

/* Room card */
.room-card {
    background: var(--hotara-background);
    border: 1px solid var(--hotara-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--ease-md);
}

.room-card:hover { border-color: #D1D5DB; box-shadow: var(--shadow-sm); }

.room-card.sold-out { opacity: 0.55; }

/* ============================================================
   31. CUSTOMER DASHBOARD
   ============================================================ */
.customer-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--hotara-border);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.customer-nav-item {
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hotara-text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--ease);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.customer-nav-item:hover { color: var(--hotara-primary); opacity: 1; }
.customer-nav-item.active { color: var(--hotara-primary); border-bottom-color: var(--hotara-primary); font-weight: 600; }

/* ============================================================
   32. MISC UTILITIES
   ============================================================ */
.divider-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--hotara-text-light);
    font-size: 0.8rem;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--hotara-border);
}

.price-display { font-variant-numeric: tabular-nums; }

.sticky-summary {
    position: sticky;
    top: 80px;
}

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Hover badge animation */
.hover-badge {
    transition: var(--ease);
    color: var(--hotara-text-muted) !important;
    border-color: var(--hotara-border) !important;
    font-size: 0.8rem !important;
}
.hover-badge:hover {
    background: var(--hotara-primary) !important;
    border-color: var(--hotara-primary) !important;
    color: #fff !important;
}

/* Section spacing */
.section-gap-sm { padding: 3rem 0; }
.section-gap    { padding: 4rem 0; }
.section-gap-lg { padding: 5.5rem 0; }

/* Cursor pointer */
.cursor-pointer { cursor: pointer; }

/* Image placeholder */
.img-placeholder {
    background: var(--hotara-background-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hotara-text-light);
    font-size: 1.5rem;
}

/* ============================================================
   33. RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 575.98px) {
    .hotel-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; }
    .auth-card { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }
    .admin-content { padding: 1rem; }
    .hero-section { padding: 3rem 0 2.5rem; }
    .hero-title { font-size: 1.75rem; }
}

@media (max-width: 767.98px) {
    .search-box { padding: 1rem; border-radius: var(--radius-lg); }
    .sticky-summary { position: static; }
}
