﻿/* Premium Typography - Modern Elegant Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

.navbar,
.search-wrapper {
  backdrop-filter: blur(10px)
}

.admin-table th,
.badge-pill,
.badge-verified-inline,
.btn-action,
.nav-links a,
.premium-badge,
.status-badge {
  white-space: nowrap
}

.btn-action-modal,
.btn-whatsapp,
.hero-tags a,
.nav-links a,
.social-links a {
  text-decoration: none
}

#compare-head th,
#compare-head th:not(:first-child) {
  padding: 20px 10px;
  z-index: 20;
  border-bottom: 2px solid #f0f0f0
}

#compare-bar,
.premium-badge {
  left: 50%;
  transform: translateX(-50%)
}

.compare-label-cell,
.inq-label,
.price-label,
button.btn-submit {
  text-transform: uppercase
}

:root {
  --primary: #0F4C3A;
  --primary-dark: #072E22;
  --gold: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #DFBD69 0%, #9E7F28 100%);
  --bg-light: #F8F9FA;
  --text-dark: #2C3E50;
  --white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}


.divider,
.divider-center {
  height: 4px;
  border-radius: 2px;
  background: var(--gold)
}

.agency-card,
.feature-card,
a,
button,
input,
select,
textarea {
  transition: var(--transition)
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.compare-logo,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DM Serif Display', Georgia, serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit
}

.btn-cta-daftar:focus-visible,
.btn-nav:focus-visible,
.btn-submit:focus-visible,
.btn-whatsapp:focus-visible,
.close-modal:focus-visible,
.compare-action-btn:focus-visible,
.media-close:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.pkg-meta-item i,
.text-gold {
  color: var(--gold)
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%
}

.section-padding {
  padding: clamp(40px, 8vw, 80px) 0
}

.view {
  display: none;
  animation: .5s fadeUp
}

.detail-grid,
.view.active {
  display: block
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0
  }

  to {
    opacity: 1;
    max-height: 2000px
  }
}

.divider {
  width: 60px;
  margin: 15px auto
}

.section-header.centered {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px)
}

.section-header.centered h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
  color: var(--primary-dark);
  text-wrap: balance;
  font-weight: 400;
}

.section-header.centered p {
  color: #64748b;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

.divider-center {
  width: 80px;
  margin: 0 auto 20px
}

.navbar {
  background: rgba(255, 255, 255, .98);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03)
}

.hero,
.nav-links a {
  position: relative;
  text-align: center
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--primary);
  cursor: pointer;
  flex-shrink: 0
}

.logo img {
  height: clamp(35px, 6vw, 42px);
  width: auto
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 30px)
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: clamp(.85rem, 2vw, .95rem);
  min-width: 80px;
  display: inline-block
}

.about-content strong,
.compare-info-box i,
.icon-option.selected i,
.nav-links a:not(.btn-nav):hover,
.rp-val,
.tier-option input[value=premium]+.tier-box .tier-price {
  color: var(--primary)
}

.btn-nav,
.social-links a:hover .fa-tiktok {
  color: #fff !important
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition)
}

.nav-links a:not(.btn-nav):hover::after {
  width: 100%
}

.btn-nav {
  background: var(--primary);
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 28px);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(15, 76, 58, .2);
  min-width: 150px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 76, 58, .3)
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  background: 0 0;
  border: none;
  padding: 5px
}

.hero,
.hero-overlay {
  border-radius: 0 0 clamp(30px, 6vw, 60px) clamp(30px, 6vw, 60px)
}

.hero {
  background: linear-gradient(rgba(7, 46, 34, .85), rgba(7, 46, 34, .6)) center/cover fixed, url('https://images.unsplash.com/photo-1565552629477-2941379f6d1e?ixlib=rb-4.0.3&w=1920&q=80') center/cover fixed;
  min-height: clamp(450px, 70vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 10vw, 100px) 20px;
  margin-bottom: 30px
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 46, 34, .85) 0, rgba(7, 46, 34, .6) 100%);
  z-index: 1
}

.hero-content {
  color: #fff;
  width: 100%;
  max-width: 850px;
  padding: 20px;
  position: relative;
  z-index: 2
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  margin-bottom: clamp(15px, 3vw, 25px);
  line-height: 1.2
}

.hero p {
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
  opacity: .9;
  margin-bottom: clamp(25px, 5vw, 40px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6
}

.search-wrapper {
  background: rgba(255, 255, 255, .15);
  padding: clamp(8px, 2vw, 12px);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
  max-width: 700px;
  margin: 0 auto
}

.search-box-hero {
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-wrap: wrap;
  padding: 6px;
  gap: 8px
}

.search-box-hero input {
  border: none;
  flex: 1;
  min-width: 200px;
  padding: clamp(12px, 3vw, 16px) clamp(20px, 4vw, 30px);
  outline: 0;
  border-radius: 50px;
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: #444
}

.search-box-hero button {
  background: var(--gold-gradient);
  border: none;
  padding: clamp(12px, 3vw, 14px) clamp(25px, 5vw, 40px);
  border-radius: 40px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: clamp(.9rem, 2vw, 1rem);
  box-shadow: 0 5px 15px rgba(212, 175, 55, .3);
  white-space: nowrap
}

.search-box-hero button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, .4)
}

.hero-tags {
  margin-top: 20px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.8rem, 2vw, .9rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px
}

.hero-tags a {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: clamp(.75rem, 2vw, .85rem)
}

.hero-tags a:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px)
}

.features-section {
  margin-top: clamp(-80px, -15vw, -140px);
  position: relative;
  z-index: 10;
  padding-bottom: 40px
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 30px)
}

.feature-card {
  background: #fff;
  padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border-bottom: 4px solid transparent
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--gold)
}

.feature-icon {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-block
}

.feature-text h2,
.feature-text h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-bottom: 10px
}

.feature-text p {
  color: #666;
  font-size: clamp(.85rem, 2vw, .95rem);
  line-height: 1.6
}

.agency-grid,
.top-10-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 30px)
}

.agency-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0f0f0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative
}

.agency-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.agency-card.premium {
  border: 1px solid #dfbd69;
  background: linear-gradient(to bottom, #fff, #fffbf0)
}

.badge-premium {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold-gradient);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(.7rem, 1.5vw, .75rem);
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1)
}

.tier-box,
.tier-option,
.tier-price {
  position: relative
}

.card-body,
.card-header {
  padding: 20px;
  display: flex
}

.card-header {
  gap: 15px;
  align-items: flex-start;
  border-bottom: 1px solid #f9f9f9
}

.card-header h4 {
  margin: 0;
  color: var(--primary);
  min-height: 45px;
  display: flex;
  align-items: center
}

.card-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
  flex-shrink: 0
}

.card-body {
  flex-direction: column;
  flex: 1
}

.price-tag {
  display: block;
  color: var(--primary);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  margin-top: 10px
}

.btn-whatsapp {
  display: block;
  width: 100%;
  text-align: center;
  background: #25d366;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: auto
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px)
}

.form-card {
  background: #fff;
  padding: clamp(25px, 5vw, 40px);
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .03)
}

.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: clamp(.9rem, 2vw, .95rem);
  letter-spacing: .3px
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: clamp(14px, 3vw, 16px) clamp(16px, 4vw, 20px);
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  outline: 0;
  background: #fcfcfc;
  font-size: clamp(.9rem, 2vw, 1rem);
  box-sizing: border-box;
  color: #2d3436
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(15, 76, 58, .15);
  transform: translateY(-2px)
}

textarea#reg-desc {
  min-height: 200px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit
}

.row-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.half {
  flex: 1;
  min-width: min(100%, 250px)
}

/* ================================================
   REGISTRATION FORM REDESIGN - Section Cards
   ================================================ */
.reg-section-card {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
  background: #f9fafb;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid #f0f0f0;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.reg-section-card *:not(i):not(.fa):not(.fas):not(.fab):not(.far):not(.fa-solid):not(.fa-brands):not(.fa-regular),
.reg-section-card h4,
.reg-section-card h5,
.reg-section-card label {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
}

.reg-section-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.reg-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.reg-section-card label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.005em;
}

.reg-section-card input,
.reg-section-card select,
.reg-section-card textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.reg-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.reg-icon-badge.violet {
  background: #ede9fe;
  color: #7c3aed;
}

.reg-icon-badge.red {
  background: #fee2e2;
  color: #dc2626;
}

.reg-icon-badge.blue {
  background: #dbeafe;
  color: #2563eb;
}

.reg-icon-badge.pink {
  background: #fce7f3;
  color: #db2777;
}

.reg-icon-badge.sky {
  background: #e0f2fe;
  color: #0284c7;
}

.reg-icon-badge.emerald {
  background: #d1fae5;
  color: #059669;
}

.reg-icon-badge.amber {
  background: #fef3c7;
  color: #d97706;
}

.reg-optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: #9ca3af;
}

/* Subsection (Google search, wilayah) */
.reg-subsection {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.reg-subsection-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4b5563;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reg-hint {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.reg-hint i {
  color: #d1d5db;
}

/* Input with icon */
.reg-input-icon-wrap {
  position: relative;
}

.reg-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

.reg-input-with-icon {
  padding-left: 42px !important;
}

/* Place search */
.reg-place-search-wrapper {
  position: relative;
  background: linear-gradient(135deg, #ede9fe, #e0f2fe, #fce7f3);
  padding: 3px;
  border-radius: 14px;
  transition: box-shadow 0.3s ease;
}

.reg-place-search-wrapper:focus-within {
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 8px 25px rgba(124, 58, 237, 0.1);
}

.reg-place-search-wrapper .reg-input-icon {
  left: 16px;
  font-size: 15px;
  color: #7c3aed;
  transition: transform 0.2s ease;
}

.reg-place-search-wrapper:focus-within .reg-input-icon {
  transform: translateY(-50%) scale(1.15);
  color: #6d28d9;
}

.reg-place-search-wrapper input.reg-input-with-icon {
  background: #fff;
  border: none;
  border-radius: 11px;
  padding: 14px 18px 14px 44px !important;
  font-size: 0.92rem;
  color: #1f2937;
  width: 100%;
  outline: none;
  box-shadow: none;
  transition: background 0.2s;
}

.reg-place-search-wrapper input.reg-input-with-icon::placeholder {
  color: #a78bfa;
  font-weight: 400;
}

.reg-place-search-wrapper input.reg-input-with-icon:focus {
  background: #faf8ff;
  transform: none;
  box-shadow: none;
}

.reg-place-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  max-height: 260px;
  overflow-y: auto;
}

.reg-place-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}

.reg-place-item:hover {
  background: #f5f3ff;
}

.reg-place-item:last-child {
  border-bottom: none;
}

.reg-place-main {
  font-weight: 600;
  font-size: 13px;
  color: #1f2937;
}

.reg-place-main i {
  color: #7c3aed;
  margin-right: 6px;
}

.reg-place-sub {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  padding-left: 22px;
}

/* Wilayah grid */
.reg-wilayah-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .reg-wilayah-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reg-wilayah-grid .form-group {
  margin-bottom: 0;
}

.reg-wilayah-grid label {
  font-size: 0.78rem !important;
  margin-bottom: 6px !important;
}

.reg-wilayah-grid input {
  font-size: 0.85rem !important;
  padding: 10px 12px !important;
}

/* Social media grid */
.reg-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.reg-social-grid .form-group {
  margin-bottom: 0;
}

/* Association checkbox chips */
.reg-assoc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reg-assoc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.reg-assoc-chip:hover {
  border-color: #0891b2;
  background: #f0fdfa;
}

.reg-assoc-chip input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #0891b2;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.reg-assoc-chip:has(input:checked) {
  background: #ecfeff;
  border-color: #06b6d4;
  color: #0e7490;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.12);
}

/* Textarea in redesigned form */
.reg-section-card textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e1e4e8;
  background: #fcfcfc;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reg-section-card textarea:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(15, 76, 58, 0.15);
}

/* Responsive for social grid on mobile */
@media (max-width: 480px) {
  .reg-social-grid {
    grid-template-columns: 1fr;
  }
}

.tier-selector {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  perspective: 1000px
}

/* =====================================================
   PRICING TIER CARDS - Premium SaaS Redesign v2
   ===================================================== */

/* Base Container */
#regForm .tier-selector-compact {
  display: flex !important;
  gap: 16px !important;
  margin-bottom: 40px !important;
  align-items: stretch !important;
  padding-top: 72px !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  perspective: 800px;
}

/* Hide radio inputs accessibly */
#regForm .tier-option input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: auto !important;
  margin: -1px !important;
}

/* Card wrapper */
#regForm .tier-option-compact {
  flex: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  position: relative !important;
}

/* Premium card prominence */
#regForm .tier-option-featured {
  transform: scale(1.06);
  z-index: 5 !important;
  filter: drop-shadow(0 12px 24px rgba(212, 175, 55, 0.15));
  animation: premiumFloat 4s ease-in-out infinite;
}

@keyframes premiumFloat {

  0%,
  100% {
    transform: scale(1.06) translateY(0);
  }

  40% {
    transform: scale(1.06) translateY(-5px);
  }

  60% {
    transform: scale(1.06) translateY(-5px);
  }

  80% {
    transform: scale(1.06) translateY(0);
  }
}

/* ------------------------------------------------
   CARD BASE
   ------------------------------------------------ */
#regForm .tier-box-compact {
  background: #ffffff !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 24px !important;
  padding: 32px 24px 28px !important;
  text-align: center !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.45s cubic-bezier(.22, .61, .36, 1) !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02) !important;
  position: relative !important;
  overflow: visible !important;
}



#regForm .tier-box-compact:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.05) !important;
  border-color: #c7ccd5 !important;
}

/* ------------------------------------------------
   BASIC CARD - Deep Blue Theme
   ------------------------------------------------ */
#regForm .tier-box-basic {
  border-color: #93c5fd !important;
  background: linear-gradient(175deg, #eff6ff 0%, #ffffff 40%) !important;
}



#regForm .tier-box-basic:hover {
  border-color: #60a5fa !important;
  box-shadow:
    0 20px 50px rgba(59, 130, 246, 0.15),
    0 4px 12px rgba(59, 130, 246, 0.08) !important;
}

/* ------------------------------------------------
   PREMIUM CARD - Rich Gold Theme
   ------------------------------------------------ */
#regForm .tier-box-featured {
  border: 2.5px solid #d4af37 !important;
  background: linear-gradient(175deg, #fffbeb 0%, #fef3c7 15%, #ffffff 55%) !important;
  box-shadow:
    0 4px 30px rgba(212, 175, 55, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    inset 0 0 60px rgba(212, 175, 55, 0.03) !important;
}






#regForm .tier-box-featured:hover {
  border-color: #b8860b !important;
  box-shadow:
    0 24px 60px rgba(212, 175, 55, 0.22),
    0 0 0 2px rgba(212, 175, 55, 0.12),
    0 4px 12px rgba(212, 175, 55, 0.1) !important;
}

/* ------------------------------------------------
   TYPOGRAPHY - Tier title
   ------------------------------------------------ */
#regForm .tier-box-compact h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.02em !important;
  color: #1f2937 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

/* Basic title - Blue */
#regForm .tier-box-basic h3 {
  color: #1e40af !important;
}

/* Premium title - Gold gradient */
#regForm .tier-box-featured h3 {
  background: linear-gradient(135deg, #92400e 0%, #d4af37 50%, #92400e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem !important;
}

/* ------------------------------------------------
   TYPOGRAPHY - Price pill
   ------------------------------------------------ */
#regForm .tier-price-compact {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #374151 !important;
  margin: 10px auto 20px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  background: #f8f9fa;
  padding: 12px 20px;
  border-radius: 16px;
  display: inline-block;
  border: 1.5px solid #e5e7eb;
  transition: all 0.3s ease;
}

/* Basic price pill */
#regForm .tier-box-basic .tier-price-compact {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1e40af !important;
}

/* Premium price pill */
#regForm .tier-box-featured .tier-price-compact {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border-color: #fbbf24;
  color: #92400e !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
}

/* Strike price */
#regForm .tier-price-compact .price-strike {
  text-decoration: line-through;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.6;
  display: block;
  margin-bottom: 2px;
}

/* ------------------------------------------------
   FEATURE LIST
   ------------------------------------------------ */
#regForm .tier-features-compact {
  padding: 0 !important;
  list-style: none !important;
  font-size: 0.84rem !important;
  text-align: left !important;
  margin-top: 16px !important;
  flex: 1 !important;
}

#regForm .tier-features-compact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.4;
  padding: 4px 0;
  transition: color 0.2s ease;
}

#regForm .tier-features-compact li i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  flex-shrink: 0;
  background: #10b981;
  border-radius: 50%;
}

/* Basic tier feature icon */
#regForm .tier-box-basic .tier-features-compact li i {
  background: #3b82f6;
}

/* Premium tier feature icon */
#regForm .tier-box-featured .tier-features-compact li i {
  background: linear-gradient(135deg, #d4af37, #92400e);
}

/* Disabled feature */
#regForm .tier-features-compact li.disabled {
  color: #9ca3af;
  opacity: 0.65;
}

#regForm .tier-features-compact li.disabled i {
  background: #d1d5db;
  color: #fff;
}

/* Bold feature text */
#regForm .tier-features-compact li b {
  font-weight: 700;
  color: #111827;
}

#regForm .tier-box-featured .tier-features-compact li b {
  color: #78350f;
}

#regForm .tier-box-basic .tier-features-compact li b {
  color: #1e3a5f;
}

/* ------------------------------------------------
   BADGE - "Terpopuler"
   ------------------------------------------------ */
#regForm .featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #92400e 0%, #d4af37 45%, #fbbf24 100%);
  color: #fff;
  padding: 6px 22px;
  border-radius: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow:
    0 4px 16px rgba(212, 175, 55, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55), 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

#regForm .featured-badge i {
  margin-right: 5px;
}

/* ================================================
   SELECTED STATES
   ================================================ */

/* -- Free selected -- */
#regForm .tier-option input:checked+.tier-box-compact {
  border-color: var(--primary) !important;
  background: linear-gradient(175deg, #ecfdf5 0%, #fff 40%) !important;
  box-shadow:
    0 0 0 3px rgba(15, 76, 58, 0.15),
    0 12px 40px rgba(15, 76, 58, 0.12) !important;
  transform: translateY(-6px) !important;
}

/* -- Checkmark badge on label wrapper -- */
#regForm .tier-option-compact::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 20;
  border: 3px solid #fff;
  animation: checkPop 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

/* Show checkmark when radio checked - the label wraps input+box */
#regForm .tier-option-compact:has(input:checked)::after {
  display: flex;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* -- Premium selected -- */
#regForm .tier-option-featured input:checked+.tier-box-featured {
  border-color: #b8860b !important;
  background: linear-gradient(175deg, #fffbeb 0%, #fef3c7 20%, #fff 50%) !important;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.2),
    0 16px 50px rgba(212, 175, 55, 0.2) !important;
  transform: scale(1.08) !important;
}

/* -- Basic selected -- */
#regForm .tier-option-basic input:checked+.tier-box-basic {
  border-color: #2563eb !important;
  background: linear-gradient(175deg, #eff6ff 0%, #dbeafe 15%, #fff 50%) !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.15),
    0 16px 50px rgba(37, 99, 235, 0.12) !important;
  transform: translateY(-6px) !important;
}

/* ================================================
   BILLING TOGGLE - Glassmorphism
   ================================================ */

.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 10px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50px;
  width: fit-content;
  max-width: 380px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  position: relative;
  z-index: 10;
}

.billing-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  transition: all 0.3s ease;
  cursor: pointer;
}

.billing-label.active {
  color: #1f2937;
  font-weight: 700;
}

.billing-toggle {
  position: relative;
  width: 48px;
  height: 26px;
}

.billing-toggle input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: #d1d5db;
  outline: none;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
}

.billing-toggle input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
}

.billing-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.billing-toggle input[type="checkbox"]:checked::before {
  left: 25px;
}

.billing-discount {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  #regForm .tier-selector-compact {
    flex-direction: column !important;
    gap: 16px !important;
    padding-top: 20px !important;
  }

  /* Premium card first on mobile */
  #regForm .tier-option-featured {
    transform: none !important;
    order: -1 !important;
    filter: none !important;
    animation: none !important;
  }

  #regForm .tier-option-featured input:checked+.tier-box-featured {
    transform: none !important;
  }

  /* ---- Card: CSS Grid 2-column layout ---- */
  #regForm .tier-box-compact {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "title   features"
      "price   features" !important;
    align-items: start !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
    padding: 20px 18px !important;
    border-radius: 18px !important;
    flex-direction: unset !important;
    text-align: left !important;
  }

  /* Title: top-left */
  #regForm .tier-box-compact h3 {
    grid-area: title !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
    align-self: end;
  }

  /* Price pill: below title, left column */
  #regForm .tier-price-compact {
    grid-area: price !important;
    font-size: 0.78rem !important;
    margin: 0 !important;
    padding: 5px 14px !important;
    display: inline-block !important;
    width: fit-content !important;
    align-self: start;
  }

  /* Features: right column, spans both rows */
  #regForm .tier-features-compact {
    grid-area: features !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 0 !important;
    align-self: center;
  }

  #regForm .tier-features-compact li {
    font-size: 0.75rem !important;
    margin-bottom: 0 !important;
    gap: 7px !important;
    line-height: 1.35 !important;
  }

  #regForm .tier-features-compact li i {
    width: 17px !important;
    height: 17px !important;
    font-size: 0.55rem !important;
    flex-shrink: 0 !important;
  }

  /* Badge: repositioned for mobile grid */
  #regForm .featured-badge {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.6rem;
  }

  /* --- Checkmark badge: adjust for mobile --- */
  #regForm .tier-option-compact::after {
    top: -6px;
    right: -4px;
    width: 24px;
    height: 24px;
    font-size: 10px;
    border-width: 2px;
  }

  /* Billing toggle */
  .billing-toggle-container {
    padding: 8px 18px;
    gap: 10px;
    max-width: 340px;
  }

  .billing-label {
    font-size: 0.78rem;
  }

  .billing-discount {
    font-size: 0.55rem;
    padding: 2px 7px;
  }
}



/* Dynamic CTA Button Styles */
/* Dynamic CTA Button Styles - High Specificity */
#btn-reg-submit.btn-reg-submit {
  width: 100% !important;
  padding: 12px 24px !important;
  /* Smaller padding */
  border-radius: 50px !important;
  border: none !important;
  font-size: 1rem !important;
  /* Smaller font */
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
  text-transform: capitalize !important;
  /* Ensure Title Case */
  letter-spacing: 0.5px !important;
  margin-top: 15px !important;
}

#btn-reg-submit.btn-tier-free {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(15, 76, 58, 0.35) !important
}

#btn-reg-submit.btn-tier-free:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(15, 76, 58, 0.45) !important
}

#btn-reg-submit.btn-tier-basic {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35) !important
}

#btn-reg-submit.btn-tier-basic:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45) !important
}

#btn-reg-submit.btn-tier-premium {
  background: linear-gradient(135deg, #b88746 0%, #fdf5a6 50%, #b88746 100%) !important;
  /* Gold gradient explicitly */
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important
}

#btn-reg-submit.btn-tier-premium:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5) !important
}

.btn-tier-premium {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4)
}

.btn-tier-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5)
}

.tier-box h3 {
  color: var(--primary-dark);
  letter-spacing: .5px
}

.tier-price {
  color: var(--text-dark);
  margin: 10px 0 20px;
  z-index: 2;
  line-height: 1.2
}

.tier-price span {
  display: inline-block
}

.tier-price small {
  font-size: .85rem;
  font-weight: 400;
  color: #666;
  display: block;
  margin-top: 5px
}

.tier-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: .95rem;
  line-height: 2
}

.highlight-text,
.pkg-title {
  line-height: 1.3
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px
}

.tier-features i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: .75rem;
  flex-shrink: 0
}

.status-active,
.tier-features i.fa-check {
  background: #e8f5e9;
  color: #2e7d32
}

.btn-delete,
.tier-features i.fa-times {
  background: #ffebee;
  color: #c62828
}

.premium-badge {
  position: absolute;
  top: -15px;
  background: linear-gradient(135deg, #d4af37 0, #b48e26 100%);
  color: #fff;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, .4);
  z-index: 10
}

.tier-option input[value=Premium]+.tier-box h3 {
  color: #b48e26
}

.filter-wrapper {
  background: #fff;
  padding: clamp(15px, 3vw, 20px);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
  margin-bottom: 30px
}

.btn-reset,
.toggle-verified .btn-reset-inline {
  background: 0 0;
  font-size: clamp(.8rem, 2vw, .85rem);
  cursor: pointer
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary);
  flex-wrap: wrap;
  gap: 10px
}

.btn-reset {
  border: none;
  color: #888;
  border-bottom: 1px dashed #888
}

.btn-reset:hover,
.toggle-verified .btn-reset-inline:hover {
  color: #c62828;
  border-color: #c62828
}

.filter-bar {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.filter-bar select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  flex: 1;
  min-width: min(100%, 150px);
  font-size: clamp(.85rem, 2vw, .95rem)
}

.admin-table td,
.admin-table th {
  padding: clamp(12px, 3vw, 15px);
  font-size: clamp(.85rem, 2vw, .95rem)
}

.toggle-verified {
  display: flex;
  align-items: center;
  gap: 6px
}

.toggle-verified .btn-reset-inline {
  margin-left: 4px;
  padding: 0;
  border: none;
  border-bottom: 1px dashed #888
}

.admin-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05)
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: #fff
}

.admin-table th {
  text-align: left;
  background: #f8f9fa;
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid #eee
}

.admin-table td {
  border-bottom: 1px solid #eee;
  color: #444
}

.admin-table tr:hover {
  background: #fcfcfc
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: clamp(.7rem, 1.5vw, .75rem);
  font-weight: 600;
  display: inline-block
}

.status-pending {
  background: #fff3e0;
  color: #ef6c00
}

.btn-action {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: clamp(.75rem, 1.8vw, .85rem);
  margin-right: 5px;
  margin-bottom: 5px
}

.btn-edit {
  background: #e3f2fd;
  color: #1565c0
}

.btn-edit:hover {
  background: #bbdefb
}

.btn-delete:hover {
  background: #ffcdd2
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, .6);
  backdrop-filter: blur(5px);
  padding: 20px
}

.modal-content {
  background-color: #fefefe;
  margin: clamp(20px, 5vh, 50px) auto;
  padding: 0;
  border-radius: 16px;
  width: min(95%, 800px);
  max-width: 800px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .3);
  position: relative;
  animation: .4s slideUp;
  max-height: 90vh;
  display: flex;
  flex-direction: column
}

.modal-body {
  padding: clamp(40px, 8vw, 60px) clamp(20px, 4vw, 30px) clamp(20px, 4vw, 30px);
  overflow-y: auto;
  flex: 1
}

.close-modal {
  color: #fff;
  z-index: 10;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center
}

.close-modal:hover {
  background: rgba(0, 0, 0, .5);
  transform: rotate(90deg)
}

.btn-brochure:hover,
.btn-gallery:hover,
.btn-video:hover,
.facility-item:hover {
  transform: translateY(-2px)
}

.modal-header-bg {
  background: var(--primary);
  height: clamp(100px, 20vw, 150px);
  border-radius: 16px 16px 0 0;
  position: relative;
  z-index: 20
}

.modal-profile-img {
  width: clamp(80px, 15vw, 100px);
  height: clamp(80px, 15vw, 100px);
  background: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: clamp(-35px, -6vw, -50px);
  left: clamp(20px, 4vw, 30px);
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
  object-fit: cover;
  z-index: 50
}

.package-item,
.price-box,
.timeline {
  position: relative
}

.modal-title-row {
  width: 100%;
  margin-bottom: 20px
}

/* â”€â”€ Credentials Line (all info in one wrapping row) â”€â”€ */
.cred-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 0;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  width: 100%;
}

.cred-item {
  white-space: nowrap;
  cursor: default;
}

.cred-item strong {
  color: #374151;
  font-weight: 700;
  margin-right: 2px;
}

.cred-dot {
  margin: 0 8px;
  color: #ccc;
  font-weight: 400;
}

/* Grade circle badge (letter inside colored circle) */
.grade-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.grade-gold {
  background: linear-gradient(135deg, #fef9e7, #f7dc6f);
  color: #8b6914;
  border: 1.5px solid #d4af37;
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.25);
}

.grade-silver {
  background: linear-gradient(135deg, #f8f9fa, #d5d8dc);
  color: #495057;
  border: 1.5px solid #9CA3AF;
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.25);
}

.grade-bronze {
  background: linear-gradient(135deg, #fef3e2, #f0c27f);
  color: #8b5e14;
  border: 1.5px solid #CD7F32;
  box-shadow: 0 1px 4px rgba(205, 127, 50, 0.25);
}

.cred-check {
  font-size: 0.65rem;
  color: #059669;
  margin-left: 2px;
}

.action-buttons,
.social-links {
  margin-bottom: 25px;
  display: flex
}

.title-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 45px
}

.title-flex h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--primary-dark)
}

.badge-verified-inline {
  background: var(--gold-gradient);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: clamp(.65rem, 1.5vw, .7rem);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.rating-row {
  display: flex;
  align-items: center;
  margin-top: 5px;
  gap: 5px;
  flex-wrap: wrap
}

.modal-badges {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap
}

.badge-pill {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: clamp(.75rem, 1.8vw, .85rem);
  font-weight: 500;
  background: #f0f0f0;
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e0e0
}

.badge-pill[style*="background:#2C3E50"] {
  background: #2c3e50 !important;
  color: #d4af37 !important;
  border: 1px solid #d4af37 !important
}

.badge-pill.verified {
  background: var(--gold-gradient);
  color: #fff;
  border: none;
  font-weight: 600
}

.section-divider {
  width: 100%;
  border: none
}

.info-sidebar {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee
}

.info-sidebar h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 5px
}

.social-links {
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px)
}

.fa-tiktok {
  color: #000;
  transition: color .3s
}

.action-buttons {
  gap: 10px;
  flex-wrap: wrap
}

.btn-action-modal,
.facility-item {
  align-items: center;
  white-space: nowrap
}

.btn-action-modal {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: clamp(.8rem, 2vw, .85rem)
}

.btn-brochure {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #e8f5e9
}

.btn-brochure:hover {
  background: var(--primary);
  color: #fff
}

.btn-gallery {
  border: 1px solid #2980b9;
  color: #2980b9;
  background: #ebf5fb
}

.btn-gallery:hover {
  background: #2980b9;
  color: #fff
}

.btn-video {
  border: 1px solid #e74c3c;
  color: #e74c3c;
  background: #fdedec;
  cursor: pointer
}

.btn-video:hover {
  background: #e74c3c;
  color: #fff
}

.btn-action-modal i {
  margin-right: 6px
}

.facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0
}

.facility-item {
  display: flex;
  gap: 8px;
  font-size: clamp(.8rem, 2vw, .9rem);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .03)
}

.facility-item:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  border-color: var(--gold)
}

.facility-icon-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
  flex-shrink: 0
}

@keyframes facilityWiggle {

  0%,
  100% {
    transform: rotate(0)
  }

  30% {
    transform: rotate(-8deg)
  }

  60% {
    transform: rotate(6deg)
  }
}

.facility-item:hover .facility-icon-pill {
  animation: .5s facilityWiggle
}

.package-list {
  margin-top: 20px
}

.package-wrapper {
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #fffbf0 0, #fff7e3 100%);
  border: 1px solid #f2e0b8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05)
}

.package-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
  border-color: #e3c972
}

.package-item {
  padding: clamp(18px, 4vw, 22px) clamp(18px, 4vw, 70px) clamp(18px, 4vw, 22px) clamp(18px, 4vw, 24px);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(15px, 3vw, 24px);
  flex-wrap: wrap
}

.package-item::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: clamp(15px, 3vw, 20px);
  top: clamp(18px, 4vw, 22px);
  color: var(--primary);
  font-size: clamp(.9rem, 2vw, 1rem);
  z-index: 10;
  background: rgba(255, 255, 255, .8);
  padding: 5px;
  border-radius: 50%
}

.faq-item.active .faq-question i,
.package-item.active::after {
  transform: rotate(180deg)
}

.pkg-left-content {
  flex: 1;
  min-width: min(100%, 250px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.pkg-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap
}

.pkg-title {
  color: var(--primary)
}

.pkg-date {
  font-size: clamp(.7rem, 1.5vw, .75rem);
  color: #d35400;
  background: #fff3e0;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #ffe0b2;
  white-space: nowrap
}

.pkg-date i {
  margin-right: 4px
}

.pkg-meta-row {
  display: flex;
  gap: clamp(10px, 2vw, 15px);
  margin-bottom: 4px;
  flex-wrap: wrap
}

.pkg-meta-item {
  font-size: clamp(.8rem, 2vw, .86rem);
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap
}

.pkg-description {
  margin: 8px 0 4px;
}

.pkg-desc-text {
  font-size: clamp(.82rem, 2vw, .88rem);
  color: #555;
  line-height: 1.55;
  margin: 0;
}

.pkg-desc-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkg-desc-toggle {
  font-size: clamp(.75rem, 1.8vw, .82rem);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  margin-top: 4px;
  text-decoration: none;
}

.pkg-desc-toggle:hover {
  text-decoration: underline;
}

.pkg-highlights {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.rp-row,
.timeline-item {
  gap: clamp(10px, 2vw, 15px)
}

.highlight-pill {
  display: flex;
  align-items: center;
  padding: 3px 0;
  background: 0 0;
  border: none;
  box-shadow: none;
  font-size: clamp(.8rem, 2vw, .85rem);
  color: #123027
}

.highlight-icon {
  width: auto;
  height: auto;
  margin-right: 6px;
  background: 0 0
}

.highlight-icon i {
  font-size: clamp(.85rem, 2vw, .9rem);
  color: var(--primary)
}

.price-box {
  text-align: right;
  width: auto;
  min-width: min(100%, 230px);
  padding: clamp(12px, 3vw, 14px) clamp(14px, 3vw, 18px);
  margin-left: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  border: 1px dashed rgba(15, 76, 58, .15);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center
}

.price-box::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 10px;
  bottom: 10px;
  border-left: 1px dashed rgba(15, 76, 58, .25);
  border-radius: 2px
}

.price-label {
  display: block;
  font-size: clamp(.72rem, 1.5vw, .78rem);
  color: #999;
  margin-bottom: 2px;
  font-style: italic;
  letter-spacing: .04em
}

.price-strike-summary {
  text-decoration: line-through;
  color: #b0a07a;
  font-size: clamp(.8rem, 2vw, .86rem);
  display: block;
  margin-bottom: -2px
}

.price-final {
  color: var(--primary);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.15rem)
}

.room-price-table {
  margin-top: 4px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  font-size: clamp(.8rem, 2vw, .86rem);
  min-width: min(100%, 180px);
  width: 100%
}

.rp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #e0e0e0
}

.rp-row:last-child {
  border-bottom: none
}

.rp-type {
  color: #555;
  font-weight: 500;
  white-space: nowrap
}

.rp-type i {
  width: 18px;
  color: var(--gold);
  text-align: center
}

.rp-price-group {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center
}

#compare-body td:not(:first-child),
.btn-cta-daftar,
.btn-split,
.compare-travel-name {
  text-align: center
}

.rp-strike {
  text-decoration: line-through;
  color: #aaa;
  font-size: clamp(.7rem, 1.5vw, .75rem);
  line-height: 1;
  margin-bottom: 1px
}

.itinerary-box {
  display: none;
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: clamp(15px, 3vw, 20px);
  animation: .3s slideDown
}

.btn-cta-daftar {
  background: linear-gradient(135deg, #0f4c3a 0, #072e22 100%);
  color: #fff;
  padding: clamp(14px, 3vw, 16px);
  border-radius: 12px;
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  box-shadow: 0 8px 25px rgba(15, 76, 58, .3);
  width: 100%;
  margin-top: 30px
}

.btn-cta-daftar:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 76, 58, .4);
  color: #fff
}

.timeline {
  border-left: 2px solid var(--gold)
}

.timeline-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start
}

.t-date,
.t-title {
  margin-bottom: 2px
}

.timeline-item:last-child {
  margin-bottom: 0
}

.timeline-dot {
  width: 32px;
  height: 32px;
  background: var(--gold-gradient);
  border-radius: 50%;
  position: absolute;
  top: 0;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .3);
  z-index: 2;
  animation: 2s infinite pulseGold
}

.media-nav,
.search-filter-box i {
  top: 50%;
  transform: translateY(-50%)
}

.timeline-dot i {
  font-size: 14px;
  color: #fff
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, .7)
  }

  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0)
  }
}

.t-content {
  display: flex;
  flex-direction: column
}

.t-date {
  font-size: clamp(.75rem, 1.8vw, .8rem);
  color: #888
}

.t-title {
  font-size: clamp(.95rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--text-dark)
}

.t-desc {
  font-size: clamp(.85rem, 2vw, .9rem)
}

.t-airline {
  display: inline-block;
  background: #e3f2fd;
  color: #1565c0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: clamp(.7rem, 1.5vw, .75rem);
  margin-top: 5px;
  font-weight: 500
}

.media-lightbox,
.media-nav:hover {
  background: rgba(0, 0, 0, .8)
}

.inquiry-package-badge i,
.media-title {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem)
}

.media-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3500;
  backdrop-filter: blur(4px);
  padding: 20px
}

.media-lightbox-content {
  position: relative;
  max-width: 960px;
  width: min(95%, 960px);
  margin: clamp(20px, 5vh, 40px) auto;
  background: #fff;
  border-radius: 20px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35)
}

.media-title {
  margin-bottom: 12px
}

.media-main-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000
}

.media-close,
.media-nav {
  position: absolute;
  color: #fff;
  align-items: center;
  display: flex;
  cursor: pointer
}

#mediaMainImage {
  width: 100%;
  max-height: 65vh;
  display: block;
  object-fit: contain;
  background: #000
}

.media-nav {
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  border-radius: 999px;
  border: none;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  font-size: clamp(1rem, 2vw, 1.2rem)
}

.media-prev {
  left: clamp(8px, 2vw, 12px)
}

.media-next {
  right: clamp(8px, 2vw, 12px)
}

.media-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #f0f0f0
}

.media-thumbs::-webkit-scrollbar {
  height: 6px
}

.media-thumbs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px
}

.media-thumbs::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px
}

.media-thumb {
  width: clamp(60px, 12vw, 70px);
  height: clamp(45px, 9vw, 55px);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0
}

.compare-logo-circle img,
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.media-thumb.active {
  border-color: var(--gold)
}

.media-close {
  right: clamp(14px, 3vw, 18px);
  top: clamp(10px, 2vw, 14px);
  border: none;
  background: rgba(0, 0, 0, .5);
  font-size: clamp(24px, 5vw, 28px);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  justify-content: center
}

.media-close:hover {
  background: rgba(0, 0, 0, .7);
  transform: rotate(90deg)
}

.inquiry-modal-content {
  max-width: min(95%, 460px);
  padding: 0
}

.inquiry-body {
  padding: clamp(32px, 6vw, 40px) clamp(20px, 4vw, 28px) clamp(24px, 5vw, 28px)
}

.inquiry-title {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 4px;
  color: #111827
}

.inquiry-subtitle {
  font-size: clamp(.85rem, 2vw, .9rem);
  color: #6b7280;
  margin-bottom: 18px
}

.inquiry-package-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f4faf8;
  border: 1px solid rgba(15, 76, 58, .08);
  margin-bottom: 18px
}

.inquiry-package-badge i {
  color: var(--primary)
}

.inq-label {
  font-size: clamp(.68rem, 1.5vw, .72rem);
  letter-spacing: .06em;
  color: #9ca3af;
  margin-bottom: 2px
}

.inq-value {
  font-size: clamp(.85rem, 2vw, .9rem);
  font-weight: 600;
  color: #111827
}

.btn-submit-inquiry {
  margin-top: 8px;
  font-size: clamp(.95rem, 2vw, 1rem)
}

.btn-action-group {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  width: 100%;
  flex-wrap: wrap
}

.btn-split {
  flex: 1;
  min-width: min(100%, 150px);
  padding: clamp(10px, 2.5vw, 12px);
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(.85rem, 2vw, .95rem);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none
}

.btn-chat {
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary)
}

.btn-chat:hover {
  background: #f0fdf4
}

.btn-book {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 76, 58, .2)
}

.btn-book:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 76, 58, .3)
}

.admin-card-section {
  background: #fff;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 25px);
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  border: 1px solid rgba(0, 0, 0, .02)
}

.section-title {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.package-form-item {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: clamp(15px, 3vw, 20px);
  margin-bottom: 20px;
  position: relative
}

.package-form-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
  border-color: var(--primary)
}

.btn-remove-pkg {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #e74c3c;
  background: #ffebee;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.btn-remove-pkg:hover {
  background: #e74c3c;
  color: #fff
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 10px
}

.price-col {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.price-label-head {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px
}

.input-price-wrapper,
.timeline-item {
  position: relative
}

.input-price-wrapper input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: .9rem;
  transition: .2s
}

.input-price-wrapper input:focus,
.search-filter-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, .1)
}

.label-small {
  font-size: .75rem;
  color: #64748b;
  margin-bottom: 2px;
  display: block
}

input.pkg-n-double,
input.pkg-n-quad,
input.pkg-n-triple {
  background-color: #fff1f2;
  border-color: #fecdd3;
  color: #be123c
}

input.pkg-n-double:focus,
input.pkg-n-quad:focus,
input.pkg-n-triple:focus {
  border-color: #e11d48;
  background-color: #fff
}

#adminFormModal .modal-content {
  max-width: 1000px;
  width: 95%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25)
}

#adminFormModal .modal-body {
  overflow-y: auto;
  padding: 30px;
  background-color: #f4f6f8
}

#compareModal .modal-body {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 80vh
}

#compareModal table,
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0
}

#compareModal td,
#compareModal th {
  padding: 18px 15px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  min-width: 200px;
  background: #fff;
  font-size: .92rem
}

#compareModal tr td:first-child,
#compareModal tr th:first-child {
  position: sticky;
  left: 0;
  background: #f9fafa;
  z-index: 5;
  font-weight: 700;
  color: var(--primary-dark);
  border-right: 2px solid #eee;
  width: 160px;
  min-width: 160px;
  text-align: left;
  padding-left: 25px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, .02)
}

#compare-head th:not(:first-child) {
  display: table-cell;
  vertical-align: bottom;
  text-align: center;
  background: #fff;
  min-width: 200px
}

.compare-header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
  width: 100%
}

.compare-label-cell {
  width: 150px !important;
  min-width: 150px !important
}

.compare-travel-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.compare-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  border: 4px solid #fff
}

.compare-logo.alt {
  background: #10b981
}

.compare-travel-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: .95rem
}

#compare-body tr:hover td {
  background-color: #fffbf2
}

#compare-body tr:hover td:first-child,
.compare-row:hover .compare-label-cell {
  background-color: #f0f0f0
}

#compare-body tr td:first-child::before {
  content: none !important
}

.compare-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffe0b2
}

.compare-info-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .03)
}

.compare-facility-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e7eb;
  white-space: nowrap
}

.compare-facility-pill i {
  font-size: .8rem;
  color: var(--primary);
  color: var(--primary)
}

.compare-facility-empty {
  color: #9ca3af;
  font-size: .85rem
}

.compare-badge-ppiu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid #a5d6a7;
  font-size: .85rem
}

.compare-pkg-list {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.compare-pkg-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
  text-align: left;
  font-size: .85rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .02)
}

.compare-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
  width: 100%
}

.compare-action-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px)
}

.compare-empty {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 20px
}

.compare-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: .85rem;
  font-weight: 500;
  color: #92400e
}

.compare-date-pill i {
  font-size: .9rem
}

.swal2-container {
  z-index: 10000 !important
}

@media (max-width:1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
  }

  .hero {
    background-attachment: scroll
  }
}

@media (max-width:768px) {
  #compareModal .modal-content {
    max-width: 98%;
    border-radius: 14px
  }

  #compareModal tr td:first-child,
  #compareModal tr th:first-child {
    width: 130px;
    min-width: 130px;
    padding-left: 18px;
    font-size: .85rem
  }

  #compareModal td,
  #compareModal th {
    min-width: 180px;
    padding: 16px 12px
  }

  .compare-logo {
    width: 60px;
    height: 60px;
    font-size: 1.2rem
  }

  .agency-grid,
  .features-grid,
  .top-10-grid {
    grid-template-columns: 1fr
  }

  .btn-nav,
  .nav-links a,
  .price-box,
  .room-price-table {
    width: 100%
  }

  .mobile-menu-btn {
    display: block
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transform-origin: top
  }

  .nav-links.active {
    display: flex;
    animation: .4s cubic-bezier(.165, .84, .44, 1) slideDownMenu
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-20px) scaleY(.9)
    }

    to {
      opacity: 1;
      transform: translateY(0) scaleY(1)
    }
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px
  }

  .nav-links a:last-child {
    border-bottom: none
  }

  .btn-nav {
    margin-top: 10px;
    border-radius: 10px
  }

  .hero,
  .hero-overlay {
    border-radius: 0 0 40px 40px
  }

  .hero {
    min-height: auto;
    padding: 60px 20px;
    margin-bottom: 40px
  }

  .search-box-hero {
    flex-direction: column;
    padding: 10px;
    border-radius: 20px
  }

  .search-box-hero input {
    margin-bottom: 10px;
    text-align: center;
    padding: 12px;
    min-width: 100%
  }

  .search-box-hero button {
    width: 100%;
    padding: 12px
  }

  .features-section {
    margin-top: -30px
  }

  .features-grid {
    gap: 15px
  }

  .feature-card {
    padding: 25px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px
  }

  .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0
  }

  .feature-text h3 {
    margin-top: 0
  }

  .modal-body {
    padding: 50px 20px 30px
  }

  .package-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-right: 50px
  }

  .price-box {
    text-align: left;
    align-items: flex-start;
    padding-top: 15px;
    margin-top: 15px;
    margin-left: 0;
    border-top: 1px dashed #eee;
    border-left: none;
    min-width: 0
  }

  .price-box::before {
    display: none
  }

  .package-item::after {
    top: 15px;
    right: 15px
  }

  .timeline {
    padding-left: 25px
  }

  .timeline-dot {
    left: -45px
  }
}

@media (max-width:360px) {
  .logo {
    font-size: 1rem
  }

  .logo img {
    height: 30px
  }

  .hero h1 {
    font-size: 1.8rem
  }

  .feature-card {
    padding: 20px;
    gap: 15px
  }

  .card-logo {
    width: 45px;
    height: 45px
  }

  .modal-profile-img {
    width: 70px;
    height: 70px
  }

  .title-flex h2 {
    font-size: 1.3rem
  }
}

@media print {

  .btn-action-modal,
  .btn-cta-daftar,
  .close-modal,
  .mobile-menu-btn,
  .navbar {
    display: none !important
  }

  body {
    background: #fff
  }

  .agency-card,
  .form-card,
  .modal-content {
    box-shadow: none;
    border: 1px solid #ddd
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important
  }
}

@media (prefers-contrast:high) {

  .btn-nav,
  .btn-submit,
  .btn-whatsapp {
    border: 2px solid currentColor
  }

  .agency-card,
  .feature-card {
    border: 2px solid var(--primary)
  }
}

#compare-head th:first-child,
.compare-label-cell {
  position: sticky;
  background: #f8f9fa;
  border-right: 1px solid #eee;
  left: 0
}

#compareModal {
  padding: 10px;
  display: none;
  align-items: center;
  justify-content: center
}

#compareModal .modal-content {
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
  width: 95%;
  max-width: 1100px;
  height: auto;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25)
}

#compareModal .compare-modal-header {
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0
}

#compareModal .modal-body {
  padding: 0;
  overflow: auto;
  flex: 1;
  background: #fff
}

#compare-head th {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05)
}

.compare-label-cell {
  z-index: 10;
  padding: 12px 15px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: .85rem;
  letter-spacing: .5px;
  border-bottom: 1px solid #eee;
  vertical-align: middle
}

#compare-head th:first-child {
  top: 0;
  z-index: 30;
  border-bottom: 2px solid #f0f0f0
}

.compare-data-cell {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  min-width: 220px;
  vertical-align: top;
  text-align: center;
  background: #fff
}

.compare-row:hover .compare-data-cell {
  background-color: #fffbf0
}

.compare-logo-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1)
}

.compare-name-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.3
}

.compare-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff8e1;
  color: #b45309;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .9rem
}

.compare-price {
  color: #d35400;
  font-size: 1.1rem;
  background: #fff3e0;
  padding: 8px 15px;
  border-radius: 10px;
  display: inline-block
}

.compare-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center
}

.compare-facility-pill {
  font-size: .75rem;
  padding: 4px 8px;
  background: #f1f5f9;
  border-radius: 6px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px
}

.compare-info-box {
  background: #f0fdf4;
  padding: 8px 12px;
  border-radius: 6px;
  color: #166534;
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.compare-modal .close-modal {
  position: static;
  background: #fee2e2;
  color: #ef4444;
  width: 32px;
  height: 32px;
  font-size: 20px;
  border: none
}

.compare-modal .close-modal:hover {
  background: #ef4444;
  color: #fff
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, .96);
  color: var(--primary);
  border: 1px solid rgba(15, 76, 58, .16);
  box-shadow: 0 4px 10px rgba(15, 76, 58, .15);
  transition: transform .16s, box-shadow .16s, background .16s, color .16s, opacity .16s
}

.close-modal:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 16px rgba(15, 76, 58, .25)
}

.close-modal:active {
  transform: scale(.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18)
}

#compare-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 20px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
  border: 1px solid rgba(15, 76, 58, .3);
  z-index: 4500;
  width: auto;
  max-width: 420px
}

#compare-bar>div:first-child {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: .9rem;
  line-height: 1.2;
  white-space: nowrap;
  margin-right: 4px
}

#compare-count {
  color: var(--primary);
  font-weight: 700
}

#compare-bar>button:nth-child(2) {
  flex: 0 0 auto;
  background: var(--gold-gradient);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(212, 175, 55, .45)
}

#compare-bar>button:nth-child(2):hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(212, 175, 55, .6)
}

#compare-bar>button:nth-child(3) {
  flex: 0 0 auto;
  background: #f3f4f6;
  color: #4b5563;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1)
}

@media (max-width:640px) {
  #compare-bar>div:first-child {
    align-items: center;
    justify-content: space-between;
    display: block;
    text-align: left;
    white-space: normal;
    font-size: .9rem;
    margin-right: 0;
    padding-right: 30px;
    line-height: 1.3
  }

  #compare-bar>button:nth-child(2) {
    justify-content: center
  }

  #compare-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 12px 10px;
    width: 92vw;
    max-width: 92vw;
    border-radius: 18px
  }

  #compare-bar>button:nth-child(2) {
    width: 100%;
    justify-content: center;
    margin-top: 6px
  }

  #compare-bar>button:nth-child(3) {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 22px;
    height: 22px;
    box-shadow: none;
    margin-left: 0
  }
}

button.btn-submit {
  display: block !important;
  width: 100% !important;
  padding: 16px 24px !important;
  font-family: Poppins, sans-serif;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  border: none !important;
  border-radius: 50px !important;
  color: #fff !important;
  background: var(--primary) !important;
  cursor: pointer;
  margin-top: 25px;
  box-shadow: 0 10px 25px rgba(15, 76, 58, .25);
  transition: .3s cubic-bezier(.25, .8, .25, 1) !important
}

button.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(15, 76, 58, .35);
  filter: brightness(1.1)
}

button.btn-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(15, 76, 58, .2)
}

button.btn-reg-submit[style] {
  background: inherit
}

button.btn-submit-inquiry {
  font-size: 1rem !important;
  text-transform: none !important;
  letter-spacing: .5px !important;
  padding: 14px 20px !important;
  width: 100% !important;
  background: #25d366 !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .3) !important
}

button.btn-submit-inquiry:hover {
  background: #20ba5a !important;
  box-shadow: 0 12px 25px rgba(37, 211, 102, .4) !important;
  transform: translateY(-3px)
}

.icon-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr))
}

.icon-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  transition: .2s;
  user-select: none;
  min-height: 52px;
  position: relative
}

.icon-option i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  color: var(--gold)
}

.icon-option span {
  font-size: .85rem;
  color: #4b5563;
  line-height: 1.25;
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word
}

.icon-option:hover {
  background: #fffbf0;
  border-color: var(--gold);
  transform: translateY(-1px)
}

.icon-option.selected {
  background: #f0fdf4;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary)
}

.icon-option.selected span {
  color: var(--primary-dark);
  font-weight: 700
}

.schedule-container {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.schedule-row.premium-layout {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .03);
  transition: transform .2s;
  display: block
}

.sch-day:focus,
.sch-desc:focus,
.sch-icon-select:focus,
.sch-title:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, .1);
  outline: 0
}

.schedule-row.premium-layout:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  border-color: #cbd5e1
}

.mb-0 {
  margin-bottom: 0 !important
}

.mt-2 {
  margin-top: 10px !important
}

.sch-head-row {
  display: flex;
  gap: 10px;
  align-items: flex-end
}

.sch-day,
.sch-desc,
.sch-title {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: .9rem;
  font-family: Poppins, sans-serif;
  height: 42px;
  transition: .2s;
  background: #fff
}

.sch-icon-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 45px;
  line-height: 1.5;
  padding: 0 40px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: Poppins, 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #334155;
  background-color: #fff;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.btn-del-sch,
.btn-icon-picker {
  height: 42px;
  display: flex;
  transition: .2s;
  cursor: pointer
}

.about-content,
.btn-icon-picker {
  font-family: Poppins, sans-serif
}

.btn-del-sch {
  width: 42px;
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.btn-del-sch:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444
}

.btn-icon-picker {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #334155;
  font-size: .95rem;
  padding: 0 10px
}

.btn-icon-picker:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary)
}

.btn-icon-picker i {
  font-size: 1.1rem;
  color: var(--gold)
}

.swal-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 5px
}

.swal-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: .2s;
  background: #fff;
  gap: 5px
}

.swal-icon-item:hover {
  background: #f0fdf4;
  border-color: var(--primary);
  transform: translateY(-2px)
}

.swal-icon-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 5px
}

.swal-icon-item span {
  font-size: .7rem;
  color: #666;
  text-align: center;
  line-height: 1.2
}

.modal-footer-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 25px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  margin-top: auto
}

.modal-footer-buttons button {
  flex: 1;
  margin: 0 !important;
  height: 48px !important;
  border-radius: 12px !important;
  font-size: .95rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none !important;
  transition: .2s !important
}

.btn-cancel {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  font-weight: 600
}

.btn-cancel:hover {
  background-color: #e2e8f0 !important;
  color: #334155 !important
}

.modal-footer-buttons .btn-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--primary) !important;
  color: #fff !important;
  border: none !important;
  text-transform: capitalize !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: .5px !important;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(15, 76, 58, .25) !important;
  margin: 0 !important
}

.modal-footer-buttons .btn-submit i {
  margin-right: 8px;
  font-size: 1.1rem
}

.modal-footer-buttons .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 76, 58, .35) !important;
  filter: brightness(1.1)
}

.icon-grid-wrapper {
  position: relative;
  margin-bottom: 15px
}

.icon-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 10px;
  max-height: 180px;
  overflow: hidden;
  transition: max-height .5s ease-in-out;
  position: relative
}

.icon-selection-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
  transition: opacity .3s
}

.icon-selection-grid.expanded {
  max-height: 3000px;
  overflow: visible
}

.icon-selection-grid.expanded::after {
  opacity: 0;
  pointer-events: none
}

.btn-toggle-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  margin-top: -10px;
  position: relative;
  z-index: 5;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 8px 8px;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s
}

.btn-toggle-icons:hover {
  background: #f1f5f9;
  color: var(--primary-dark)
}

.search-filter-box {
  position: relative;
  flex: 1;
  min-width: 200px
}

.search-filter-box input {
  width: 100%;
  padding: 10px 35px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: clamp(.85rem, 2vw, .95rem);
  outline: 0;
  transition: .3s
}

.search-filter-box i {
  position: absolute;
  right: 12px;
  color: #999;
  pointer-events: none
}

.compare-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  font-size: .75rem;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: .03em
}

.compare-promo-badge i {
  font-size: .8rem
}

.card-price-row {
  display: flex;
  align-items: flex-end;
  column-gap: 10px;
  row-gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap
}

.card-price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1
}

.card-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
  margin-left: 0;
  margin-top: 0;
  transform: translateY(1px)
}

.card-promo-flash {
  background: linear-gradient(90deg, #fef3c7, #fffbeb);
  border: 1px solid #facc15;
  color: #92400e;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, .4);
  animation: 1.8s ease-out infinite flashGlow
}

.card-promo-badge i {
  font-size: .8rem;
  transform: translateY(1px)
}

@keyframes flashGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, .55)
  }

  70% {
    box-shadow: 0 0 0 8px rgba(250, 204, 21, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0)
  }
}

.card-price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.price-old {
  line-height: 1;
  font-size: .8rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 1px
}

.faq-container {
  max-width: 800px;
  margin: 0 auto
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
  border: 1px solid #eef2f6;
  overflow: hidden;
  cursor: pointer;
  transition: .3s
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
  border-color: var(--gold)
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.05rem
}

.faq-question i {
  color: var(--gold);
  transition: transform .3s
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out;
  background: #fcfcfc;
  border-top: 1px solid transparent
}

.btn-cta-whatsapp,
.tab-btn {
  cursor: pointer;
  transition: .3s
}

.faq-item.active .faq-answer {
  border-top-color: #f0f0f0
}

.faq-answer p {
  padding: 20px 24px;
  margin: 0;
  color: #555;
  line-height: 1.6
}

.hidden-temp {
  display: none !important
}

.btn-cta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, .4);
  text-decoration: none;
  gap: 10px
}

.btn-cta-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, .5);
  color: #fff
}

.btn-cta-whatsapp i {
  font-size: 1.2rem
}

.section-header h2,
h1,
h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -.5px
}

.card-header h4,
.feature-text h2,
.feature-text h3,
.inquiry-title,
.media-title,
.pkg-title,
.tier-box h3 {
  font-family: Poppins, sans-serif !important;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--primary-dark)
}

.card-header h4 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 4px
}

.card-header small {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: .85rem;
  color: #7f8c8d !important
}

.card-body p,
.t-desc,
p {
  font-family: Poppins, sans-serif;
  line-height: 1.7;
  color: #555
}

.compare-price,
.price-tag,
.rp-val,
.tier-price {
  font-family: Poppins, sans-serif !important;
  font-weight: 700;
  letter-spacing: -.5px
}

.tier-box h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2rem;
  margin-bottom: 15px
}

.tier-price {
  font-size: 2rem !important;
  color: var(--primary)
}

.pkg-title {
  font-size: 1.25rem !important;
  color: #222
}

.pkg-date {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  letter-spacing: .5px
}

.badge-verified-inline,
.modal-body h3,
.title-flex h2,
button,
input,
select,
textarea {
  font-family: Poppins, sans-serif !important
}

.modal-body h3 {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.25rem;
  letter-spacing: -.3px;
  margin-top: 30px;
  margin-bottom: 15px
}

.logo span,
.title-flex h2 {
  font-weight: 700;
  letter-spacing: -.5px
}

.modal-body h3:first-of-type {
  margin-top: 10px
}

.hero h1,
.hero p {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4)
}

.section-header p {
  color: #666 !important
}

.section-divider {
  background: #f0f0f0;
  height: 1px;
  margin: 30px 0
}

.title-flex h2 {
  line-height: 1.2;
  color: var(--primary-dark)
}

.badge-verified-inline {
  align-self: center;
  margin-top: 4px
}

::placeholder {
  color: #a0a0a0 !important;
  font-weight: 300 !important;
  opacity: 1
}

.logo span {
  font-family: Poppins, serif !important;
  color: var(--primary)
}

.about-content p,
.faq-answer p {
  letter-spacing: .2px
}

.btn-share {
  border: 1px solid #00a8ff;
  color: #00a8ff;
  background: #f0f9ff;
  font-weight: 600
}

.btn-share:hover {
  background: #00a8ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 255, .3)
}

.page-btn:hover:not(:disabled),
.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff
}

.tab-btn {
  background: 0 0;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 500
}

.lang-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: var(--primary) !important;
  padding: 0 12px !important;
  border-radius: 50px !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: .1s !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05) !important;
  height: 38px !important;
  text-decoration: none !important;
  margin-left: auto !important;
  margin-right: 15px !important;
  flex-shrink: 0 !important;
  min-width: 70px !important
}

.page-btn,
.pagination-flex {
  background: #fff;
  display: flex
}

.lang-toggle:hover {
  background-color: #f0fdf4 !important;
  border-color: var(--primary) !important;
  transform: translateY(-1px)
}

.lang-toggle i {
  font-size: 1.1rem !important
}

.pagination-flex {
  align-items: center;
  gap: 15px;
  padding: 8px 15px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  border: 1px solid #eee
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: .2s
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary)
}

.page-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: #f5f5f5
}

.page-info {
  font-size: .9rem;
  font-weight: 600;
  color: #555;
  min-width: 120px;
  text-align: center
}

.card-logo,
.media-thumb img,
.modal-profile-img {
  aspect-ratio: 1/1
}

.modal-content>.close-modal {
  position: absolute;
  top: clamp(10px, 2vw, 16px);
  right: clamp(10px, 2vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

button.btn-submit.btn-submit-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 4px
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 24px auto 0
}

.pagination-flex {
  display: inline-flex;
  align-items: center
}

.timeline {
  border-left: 2px solid var(--gold);
  margin-left: 12px;
  padding-left: 32px;
  margin-top: 15px
}

.timeline-dot {
  left: -48px
}

@media (max-width:768px) {
  #compareModal .modal-content {
    height: 100%;
    max-height: 100%;
    width: 100%;
    border-radius: 0
  }

  .compare-label-cell {
    width: 100px;
    min-width: 100px;
    font-size: .75rem;
    padding: 10px
  }

  .compare-data-cell {
    min-width: 180px;
    padding: 10px;
    font-size: .85rem
  }

  .nav-container {
    justify-content: space-between
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 480px;
    background: #fff;
    padding: 24px 20px 28px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
    border-radius: 0 0 24px 24px;
    z-index: 1200
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    font-weight: 500;
    padding: 8px 0
  }

  .nav-links .btn-nav {
    width: 100%;
    max-width: 340px;
    border-radius: 999px
  }

  .nav-links.nav-open {
    display: flex
  }

  .mobile-menu-btn {
    display: block;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--primary)
  }

  body.nav-menu-open {
    overflow: hidden
  }

  .search-wrapper {
    background: 0 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important
  }

  .search-box-hero {
    flex-direction: column;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15) !important;
    padding: 20px !important;
    border-radius: 24px !important;
    gap: 15px;
    width: 100%
  }

  .search-box-hero input {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    color: #333 !important;
    background: #f4f6f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem
  }

  .search-box-hero input::placeholder {
    color: #999 !important
  }

  .search-box-hero button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
    background: var(--gold-gradient);
    box-shadow: 0 5px 15px rgba(212, 175, 55, .3)
  }

  .lang-toggle {
    margin-right: 10px !important;
    height: 34px !important;
    font-size: .8rem !important;
    min-width: 60px !important
  }

  #detailModal .close-modal {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(15, 76, 58, .3)
  }

  .pagination-wrapper {
    margin-top: 20px
  }

  .pagination-flex {
    padding: 8px 16px
  }

  .timeline {
    margin-left: 12px;
    padding-left: 32px
  }

  .timeline-dot {
    left: -48px
  }
}

.itinerary-box .btn-cta-whatsapp {
  margin-top: 18px
}

@media (max-width:480px) {

  #compareModal,
  .media-lightbox {
    padding: 10px
  }

  #compareModal tr td:first-child,
  #compareModal tr th:first-child {
    width: 110px;
    min-width: 110px;
    padding-left: 14px
  }

  #compareModal td,
  #compareModal th {
    min-width: 160px;
    padding: 14px 10px;
    font-size: .85rem
  }

  .container {
    padding: 0 15px
  }

  .package-item {
    padding: 18px
  }

  .price-box {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 12px 14px
  }

  .room-price-table {
    width: 100%;
    font-size: .8rem
  }

  .rp-row {
    gap: 10px
  }

  .btn-split {
    font-size: .85rem;
    padding: 10px;
    min-width: 100%
  }

  .btn-action-group {
    flex-direction: column
  }

  .inquiry-body {
    padding: 32px 20px 24px
  }

  .hero-tags a {
    font-size: .75rem;
    padding: 4px 12px
  }

  .admin-table-wrapper {
    margin: 15px -15px;
    border-radius: 0
  }

  button.btn-submit.btn-submit-inquiry {
    font-size: .95rem !important;
    padding: 12px 18px !important;
    border-radius: 999px !important
  }

  .itinerary-box .btn-cta-whatsapp {
    font-size: .9rem;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, .35)
  }

  #videoModal .video-modal-content {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 90% !important;
    max-width: 960px !important;
    margin: 5vh auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    position: relative
  }

  .video-frame-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5)
  }

  .video-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
  }

  #videoModal .video-close {
    position: absolute;
    top: -45px;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: .3s
  }

  #videoModal .video-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg)
  }

  .video-nav {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, .6) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
  }

  .video-nav:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1)
  }

  #videoPrevBtn {
    left: 15px
  }

  #videoNextBtn {
    right: 15px
  }

  @media (max-width:480px) {
    .video-nav {
      width: 35px;
      height: 35px;
      font-size: .9rem;
      background: rgba(0, 0, 0, .3) !important
    }

    #videoPrevBtn {
      left: 5px
    }

    #videoNextBtn {
      right: 5px
    }
  }

  .section-header.centered {
    margin-top: 10px !important;
    padding-top: 10px
  }

  #agencyModal {
    z-index: 9000 !important
  }

  #mediaLightbox,
  #videoModal {
    z-index: 10000 !important
  }

  #inquiryModal {
    z-index: 11000 !important
  }

  @media (max-width:768px) {
    .section-header.centered {
      margin-top: 60px !important;
      padding-top: 20px
    }

    #agencyModal {
      padding: 0 !important;
      background: 0 0 !important;
      z-index: 9000 !important
    }

    #agencyModal .modal-content {
      width: 100% !important;
      height: 100dvh !important;
      max-height: 100dvh !important;
      margin: 0 !important;
      border-radius: 0 !important;
      border: none !important;
      background: #fff !important;
      display: flex;
      flex-direction: column !important;
      animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slideInUp;
      transform: translateY(100%)
    }

    #agencyModal .modal-content.closing {
      animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slideOutDown
    }

    #agencyModal .modal-header-bg {
      height: 65px !important;
      min-height: 65px !important;
      background: #fff !important;
      border-bottom: 1px solid #f0f0f0 !important;
      border-radius: 0 !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .03) !important;
      position: sticky !important;
      top: 0;
      z-index: 50;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 20px !important
    }

    #agencyModal .close-modal,
    #agencyModal .modal-profile-img {
      position: static !important;
      margin: 0 !important;
      height: 40px !important;
      border: none !important;
      box-shadow: none !important;
      background: 0 0 !important
    }

    #agencyModal .close-modal {
      width: 40px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      color: #333 !important;
      font-size: 0 !important;
      padding: 0 !important;
      flex-shrink: 0
    }

    #agencyModal .close-modal::before {
      content: '\f060' !important;
      font-family: 'Font Awesome 6 Free' !important;
      font-weight: 900 !important;
      font-size: 1.4rem !important
    }

    #m-header-name {
      display: block !important;
      font-family: Poppins, sans-serif !important;
      font-size: .95rem !important;
      font-weight: 600 !important;
      color: var(--primary-dark) !important;
      text-align: right !important;
      line-height: 1.2 !important;
      margin-left: auto !important;
      margin-right: 12px !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      max-width: 50% !important
    }

    #agencyModal .modal-profile-img {
      transform: none !important;
      width: auto !important;
      max-width: 100px !important;
      object-fit: contain !important
    }

    #agencyModal .modal-body {
      flex: 1 !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch;
      padding: 20px 20px 100px !important;
      background: #fff !important
    }

    #agencyModal .modal-title-row {
      display: none !important
    }

    #agencyModal .action-buttons {
      margin-top: 0 !important;
      margin-bottom: 20px !important
    }
  }

  @keyframes slideInUp {
    from {
      transform: translateY(100%)
    }

    to {
      transform: translateY(0)
    }
  }

  @keyframes slideOutDown {
    from {
      transform: translateY(0)
    }

    to {
      transform: translateY(100%)
    }
  }
}

/* =======================================================
   AUTH TABS - LOGIN/SIGNUP TOGGLE STYLING
   ======================================================= */
.auth-card {
  max-width: 480px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 0;
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
}

.auth-tab:hover:not(.active) {
  color: #334155;
  background: rgba(255, 255, 255, 0.5);
}

.auth-tab.active {
  background: #fff;
  color: var(--primary, #0F4C3A);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-panels {
  position: relative;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary, #0F4C3A);
  font-size: 0.9rem;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary, #0F4C3A);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.auth-form input::placeholder {
  color: #94a3b8;
}

.auth-help {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 6px;
}

.auth-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-msg.show {
  display: block;
}

.auth-msg.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.auth-msg.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.auth-note {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.auth-link {
  color: var(--primary, #0F4C3A);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.auth-link:hover {
  opacity: 0.8;
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .auth-form .form-row {
    grid-template-columns: 1fr;
  }

  .auth-tab {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/* Button loading state */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn .fa-spinner {
  margin-right: 8px;
}

/* ========================================
   AUTH BUTTON STYLES - PREMIUM LOOK
   ======================================== */
.auth-form .btn,
.auth-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Primary button (Masuk, Buat Akun) */
.auth-form .btn-primary,
.auth-form button[type="submit"] {
  background: linear-gradient(135deg, var(--primary, #0F4C3A) 0%, #0d3f31 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 76, 58, 0.25);
}

.auth-form .btn-primary:hover,
.auth-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 76, 58, 0.35);
}

.auth-form .btn-primary:active,
.auth-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(15, 76, 58, 0.25);
}

/* Ripple effect on click */
.auth-form .btn-primary::after,
.auth-form button[type="submit"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.auth-form .btn-primary:active::after,
.auth-form button[type="submit"]:active::after {
  opacity: 1;
}

/* Auth tabs premium styling */
.auth-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 76, 58, 0.06);
  border: 1px solid rgba(15, 76, 58, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin: 20px auto;
}

.auth-tab {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(15, 76, 58, 0.65);
  background: transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.auth-tab:hover:not(.active) {
  color: var(--primary, #0F4C3A);
  background: rgba(15, 76, 58, 0.04);
}

.auth-tab.active {
  background: var(--primary, #0F4C3A);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 76, 58, 0.22);
}

/* === ORIGINAL CSS BELOW === */

@media (max-width: 768px) {
  #agencyModal .modal-header-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* bukan space-between */
    gap: 8px !important;
    padding: 0 16px !important;
    height: 65px !important;
    min-height: 65px !important;
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
  }

  #m-header-name {
    flex: 1 1 auto !important;
    margin: 0 !important;
    /* buang margin-left:auto lama */
    max-width: none !important;
    text-align: left !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: var(--primary-dark, #0F4C3A) !important;
  }

  #agencyModal .modal-profile-img,
  #m-logo {
    height: 34px !important;
    /* ukuran konsisten di mobile */
    width: auto !important;
    max-width: 110px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }
}

/* Opsional: kalau di layar desktop terasa ikut kecil,
   turunkan breakpoint mobile ke 640px saja (ganti 768 -> 640 di atas). */

#agency-logo,
.agency-logo-header {
  height: 42px;
  width: auto !important;
  object-fit: contain !important;
}

/* ==== FIX LOGO TERLALU KECIL DI MOBILE HEADER ==== */
@media (max-width: 768px) {
  #m-logo {
    height: 52px !important;
    /* naikkan tinggi */
    width: auto !important;
    max-width: none !important;
    /* HAPUS batas 110px */
    object-fit: contain !important;
  }

  /* =======================================================
   FIX FINAL: LOGO BEBAS BENTUK (NO CIRCLE MASK) - MOBILE
   ======================================================= */
  @media (max-width: 768px) {

    /* Target Logo di Header Modal */
    #agencyModal .modal-profile-img {
      /* 1. HAPUS MASKING LINGKARAN */
      border-radius: 0 !important;
      /* Biarkan kotak/persegi panjang sesuai asli */

      /* 2. FIT GAMBAR UTUH */
      object-fit: contain !important;

      /* 3. BACKGROUND TRANSPARAN (Agar menyatu dengan header) */
      /* Jika logo PNG transparan, ini lebih bagus daripada kotak putih */
      background-color: transparent !important;

      /* 4. UKURAN & POSISI */
      height: 40px !important;
      /* Tinggi tetap agar header rapi */
      width: auto !important;
      /* Lebar bebas menyesuaikan logo */
      max-width: 120px !important;
      /* Batas lebar agar tidak nabrak teks nama */

      /* 5. BERSIHKAN DEKORASI LAIN */
      box-shadow: none !important;
      border: none !important;
      margin: 0 !important;
    }
  }

  /* Tambah ruang kiri-kanan supaya logo tidak "kecepet" */
  #agencyModal .modal-header-bg {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ====================================
   BOTTOM NAVIGATION (AIRBNB STYLE)
   ==================================== */

/* Default: Sembunyikan di Desktop/Laptop */
.bottom-nav {
  display: none;
}

/* Tampilkan HANYA di Mobile (max-width: 768px) */
@media (max-width: 768px) {

  /* Beri ruang di bawah body agar konten paling bawah tidak tertutup menu */
  body {
    padding-bottom: 80px;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    /* Tinggi menu */

    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(12px);
    /* Untuk iPhone/Safari */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
    z-index: 1500;
    /* Di atas konten, tapi di bawah Modal (modal z-index 2000+) */
    padding-bottom: env(safe-area-inset-bottom);
    /* Support iPhone X ke atas */
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    /* Warna ikon tidak aktif (abu-abu) */
    font-size: 0.7rem;
    font-weight: 500;
    width: 100%;
    height: 100%;
    transition: color 0.2s;
  }

  .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: #999;
  }

  .nav-item span {
    font-family: 'Poppins', sans-serif;
  }

  /* Warna saat menu AKTIF (Dipilih) */
  .nav-item.active {
    color: var(--primary);
    /* Hijau #0F4C3A */
  }

  .nav-item.active i {
    color: var(--primary);
  }

  /* Efek sentuh */
  .nav-item:active {
    background-color: #f9f9f9;
  }
}

/* =======================================================
   FIX JARAK ATAS (MOBILE ONLY) - HERO & HALAMAN LAIN
   ======================================================= */
@media (max-width: 768px) {

  /* 1. DEKATKAN JUDUL HERO (Wujudkan Umrah...) KE ATAS */
  .hero {
    /* Kurangi padding atas drastis (dari 60px jadi 20px) */
    padding-top: 20px !important;

    /* Pastikan tinggi menyesuaikan konten agar teks tidak maksa ke tengah vertikal */
    min-height: auto !important;

    /* Sedikit jarak bawah agar tidak nempel footer/fitur */
    padding-bottom: 40px !important;
  }

  /* Opsi tambahan: Jika ingin teks Hero lebih naik lagi, kita kurangi margin judulnya */
  .hero h1 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }

  /* 2. DEKATKAN JUDUL HALAMAN LAIN (Cari, Daftar, About, FAQ) */
  /* Kita override style="margin-top: 40px" yang ada di HTML */

  #directory-view .container,
  #register-view .container,
  #about-view .container,
  #faq-view .container {
    margin-top: 10px !important;
    /* Jarak dari Navbar diperkecil */
    padding-top: 0 !important;
    /* Hilangkan padding internal container */
  }

  /* 3. RAPATKAN JARAK JUDUL HALAMAN ("Cari Travel", "FAQ", dll) DENGAN KONTEN BAWAHNYA */
  .section-header.centered {
    margin-bottom: 20px !important;
    /* Kurangi jarak bawah judul */
    margin-top: 0 !important;
    /* Pastikan tidak ada margin atas berlebih */
  }

  .section-header h2 {
    margin-bottom: 5px !important;
    /* Jarak Judul H2 ke garis emas */
  }

  /* Khusus Halaman Registrasi (Form Card) agar lebih naik */
  .form-card {
    padding: 20px !important;
    /* Rampingkan padding dalam kartu */
    margin-top: 0 !important;
  }
}

/* =======================================================
   ANIMASI TEKAN (PRESS EFFECT) - BOTTOM NAV
   ======================================================= */
@media (max-width: 768px) {

  /* Tambahkan transisi halus ke ikon dan teks */
  .nav-item i,
  .nav-item span {
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Saat tombol ditekan (active), ikon & teks mengecil sedikit */
  .nav-item:active i,
  .nav-item:active span {
    transform: scale(0.85);
    /* Mengecil ke 85% ukuran asli */
    color: var(--primary);
    /* Langsung berubah hijau saat ditekan */
  }

  /* Opsional: Hilangkan highlight biru bawaan browser saat tap */
  .nav-item {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Sembunyikan Scrollbar di seluruh elemen tapi tetap bisa discroll */
.category-tabs::-webkit-scrollbar,
.media-thumbs::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
  display: none;
}

/* Support untuk Firefox/IE */
.category-tabs,
.media-thumbs,
.modal-body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* =======================================================
   CURVED HEADER (MOBILE) - ILUSI LEGA & MODERN
   ======================================================= */
@media (max-width: 768px) {
  .navbar {
    /* Membuat lengkungan di sudut bawah kiri & kanan */
    border-radius: 0 0 30px 30px;

    /* Menambah bayangan halus agar header terlihat 'mengambang' */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    /* Menghapus garis border bawaan agar lengkungan terlihat mulus */
    border-bottom: none !important;

    /* Opsional: Beri sedikit margin samping agar terlihat seperti 'Dynamic Island' (iPhone) */
    /* Hapus 2 baris di bawah ini jika ingin header tetap full lebar layar */
    /* margin: 0 10px; */
    /* width: calc(100% - 20px); */
  }
}

/* =======================================================
   HEADER LEBIH RAMPING & NAIK KE ATAS (MOBILE FIX)
   ======================================================= */
@media (max-width: 768px) {
  .navbar {
    /* UPDATED: Jarak atas ditambah dari 5px menjadi 12px agar lebih lega */
    padding-top: 12px !important;

    padding-bottom: 12px !important;
    /* Jarak bawah disesuaikan sedikit */
    border-radius: 0 0 25px 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: none !important;
  }

  /* Pastikan Logo menyesuaikan posisi baru */
  .logo img {
    height: 34px !important;
  }

  .logo span {
    font-size: 1.15rem !important;
  }

  /* Rampingkan Tombol Bahasa */
  .lang-toggle {
    height: 30px !important;
    font-size: 0.75rem !important;
    padding: 0 10px !important;
  }

  /* Sesuaikan Ikon Hamburger Menu */
  .mobile-menu-btn {
    font-size: 1.3rem !important;
    margin-top: 2px;
    /* Tweak posisi vertikal */
  }
}

/* =======================================================
   BOTTOM NAV MATCHING STYLE (CURVED & SLIM)
   ======================================================= */
@media (max-width: 768px) {
  .bottom-nav {
    /* 1. MATCHING SHAPE: Lengkungan di sudut ATAS kiri & kanan */
    border-radius: 28px 28px 0 0 !important;

    /* 2. MATCHING SHADOW: Bayangan halus seperti header atas */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08) !important;
    border-top: none !important;
    /* Hapus garis kasar */

    /* 3. SLIMMING: Tinggi diperkecil agar kompak */
    height: 60px !important;
    /* Sedikit lebih ramping dari sebelumnya (65px) */

    /* Jarak isi konten agar pas di tengah vertikal */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    /* Abaikan safe area sementara agar rapat */
  }

  /* Penyesuaian Item (Ikon & Teks) */
  .nav-item {
    justify-content: flex-start !important;
    /* Dorong sedikit ke atas */
    padding-top: 8px;
    gap: 4px;
    /* Jarak ikon ke teks dirapatkan */
  }

  /* SAMAKAN UKURAN ICON */
  .nav-item i {
    /* Ukuran 1.2rem pas dengan icon Hamburger & Bahasa di atas */
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
    /* Hapus margin bawaan */
  }

  /* SAMAKAN GAYA FONT */
  .nav-item span {
    font-family: 'Poppins', sans-serif !important;
    /* Ukuran font kecil tapi terbaca, mirip label tombol bahasa */
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    /* Sedikit jarak antar huruf biar elegan */
  }
}

/* =======================================================
   FINAL FIX: SEARCH BAR SEJAJAR (NO WRAPPING)
   ======================================================= */
@media (max-width: 768px) {

  /* 1. CONTAINER LUAR (Kaca Transparan) */
  .search-wrapper {
    padding: 5px !important;
    margin-top: 15px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    width: 92% !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* 2. KOTAK PUTIH (Flex Container) */
  .search-box-hero {
    display: flex !important;
    flex-direction: row !important;
    /* Pastikan baris */
    flex-wrap: nowrap !important;
    /* DILARANG TURUN BARIS */
    align-items: center !important;
    justify-content: space-between !important;

    background: #ffffff !important;
    border-radius: 50px !important;
    padding: 4px !important;
    height: 48px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    /* Penuhi wrapper */
  }

  /* 3. INPUT TEKS (Fleksibel tapi tidak serakah) */
  .search-box-hero input {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 0 0 15px !important;
    height: 100% !important;

    /* KUNCI: Biarkan dia mengisi sisa ruang, tapi bisa mengecil */
    flex: 1 1 auto !important;
    width: auto !important;
    /* Reset width 100% */
    min-width: 0 !important;
    /* Biar bisa mengecil ekstrem jika perlu */

    font-size: 0.85rem !important;
    color: #555 !important;
    box-shadow: none !important;
  }

  /* 4. TOMBOL "CARI" (Ukuran Tetap/Fixed) */
  #btn-hero-search {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: white !important;

    /* KUNCI: Ukuran Tetap, Tidak Boleh Mengecil */
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 70px !important;
    height: 38px !important;
    padding: 0 15px !important;

    margin: 0 !important;
    margin-left: 8px !important;
    /* Jarak aman dari teks */
    border-radius: 50px !important;

    background: var(--gold-gradient) !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3) !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* =======================================================
   FIX TAMPILAN DETAIL PAKET: FASILITAS 2 KOLOM
   ======================================================= */

/* 1. Ubah Container menjadi Grid 2 Kolom */
.pkg-highlights {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  /* Membagi ruang menjadi 2 kolom sama rata */
  gap: 8px 15px !important;
  /* Jarak: Vertikal 8px, Horizontal 15px */
  margin-top: 15px !important;
  width: 100% !important;
}

/* 2. Styling Item (Icon + Teks) */
.highlight-pill {
  display: flex !important;
  align-items: flex-start !important;
  /* Rata atas (jika teks 2 baris) */
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  /* Pastikan tidak ada background box */
  border: none !important;
}

/* 3. Styling Icon Hijau */
.highlight-icon {
  flex-shrink: 0 !important;
  /* Agar icon tidak tergencet/gepeng */
  margin-right: 8px !important;
  width: 20px !important;
  /* Lebar area icon fix */
  text-align: center !important;
  margin-top: 2px !important;
  /* Penyesuaian kecil agar sejajar teks */
}

/* 4. Styling Teks */
.highlight-text {
  font-size: 0.85rem !important;
  /* Ukuran font pas di mata */
  line-height: 1.3 !important;
  color: #444 !important;

  /* Izinkan teks turun baris jika kepanjangan (misal: Kereta Cepat Haramain) */
  white-space: normal !important;
  word-break: break-word !important;
}

/* KHUSUS LAYAR SANGAT KECIL (Opsional) */
@media (max-width: 360px) {
  .pkg-highlights {
    /* Jika layar terlalu sempit, perkecil font sedikit lagi */
    gap: 6px 10px !important;
  }

  .highlight-text {
    font-size: 0.8rem !important;
  }
}

/* =======================================================
   SIDE DRAWER MENU (MODERN MOBILE NAV)
   ======================================================= */
@media (max-width: 768px) {

  /* 1. Container Menu (Sembunyi di Kanan) */
  .nav-links {
    display: flex !important;
    /* Wajib flex */
    flex-direction: column;
    justify-content: flex-start;

    position: fixed;
    top: 0;
    right: -280px;
    /* Sembunyikan di luar layar kanan */
    width: 260px;
    /* Lebar menu tidak full layar */
    height: 100vh;
    /* Tinggi full */

    background: #ffffff;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Animasi Halus */
    z-index: 2000;
    /* Di atas segalanya */
    border-radius: 20px 0 0 20px;
    /* Lengkungan di sisi kiri */
  }

  /* 2. Saat Menu Aktif (Geser Masuk) */
  .nav-links.nav-open {
    right: 0;
    /* Muncul ke layar */
  }

  /* 3. Overlay Gelap di Belakang Menu */
  #menu-overlay {
    position: fixed;
    inset: 0;
    /* top, right, bottom, left: 0 */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    /* Efek blur kaca */
    z-index: 1900;
    /* Di bawah menu, di atas konten */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  #menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* 4. Header dalam Menu (Judul & Close) */
  .nav-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
  }

  .nav-title-mob {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
  }

  /* Tombol Silang (Close) */
  .btn-close-nav {
    background: #f5f5f5;
    border: none;
    font-size: 24px;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 5. Styling Link Menu */
  .nav-links a {
    text-align: left !important;
    /* Rata kiri */
    padding: 12px 10px !important;
    font-size: 1rem !important;
    color: #333;
    border-bottom: 1px dashed #f0f0f0;
    width: 100%;
    margin: 0 !important;
  }

  .nav-links a:hover {
    color: var(--primary);
    padding-left: 15px !important;
    /* Efek geser saat hover */
  }

  /* Tombol Mitra di dalam menu */
  .nav-links .btn-nav {
    margin-top: 20px !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* =======================================================
   CLEAN HEADER NAVIGATION (DESKTOP VS MOBILE)
   ======================================================= */

/* --- 1. TAMPILAN DEFAULT (DESKTOP/LAPTOP) --- */

/* Menu Desktop Tampil */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Ikon Mobile Sembunyi */
.mobile-top-icons {
  display: none;
}

/* --- 2. TAMPILAN MOBILE (HP) --- */
@media (max-width: 768px) {

  /* Sembunyikan Menu Teks Desktop */
  .nav-links {
    display: none !important;
  }

  /* Sembunyikan Tombol Hamburger Lama (jika masih ada sisa) */
  .mobile-menu-btn {
    display: none !important;
  }

  /* Tampilkan Ikon About & FAQ */
  .mobile-top-icons {
    display: flex !important;
    align-items: center;
    gap: 15px;
    /* Jarak antar ikon */
    margin-right: 5px;
    padding-right: 15px;
    border-right: 1px solid #eee;
    /* Garis pemisah tipis dengan tombol bahasa */
  }

  /* Styling Ikon */
  .mobile-top-icons a {
    color: var(--primary);
    font-size: 1.3rem;
    /* Ukuran ikon pas */
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
  }

  /* Efek Sentuh */
  .mobile-top-icons a:active {
    transform: scale(0.85);
    color: var(--gold);
  }
}

/* Efek saat Search Bar diklik/aktif */
.search-box-hero:focus-within {
  border-color: var(--gold) !important;
  /* Ganti border jadi emas */
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15) !important;
  /* Glow halus */
  transform: translateY(-2px);
  /* Naik sedikit */
  transition: all 0.3s ease;
}

/* Memperhalus Sudut Kartu Travel */
.agency-card {
  border-radius: 20px !important;
  /* Lebih bulat dari sebelumnya */
  border: none !important;
  /* Hilangkan garis kasar */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  /* Bayangan lebih soft */
}

/* =======================================================
   FIX FINAL: HAPUS TOTAL GAP DI MODAL DETAIL (MOBILE)
   ======================================================= */
@media (max-width: 768px) {

  /* 1. RESET BODY MODAL (Hapus padding atas) */
  #agencyModal .modal-body {
    padding-top: 5px !important;
    /* Jarak sangat minim dari header hijau */
    margin-top: 0 !important;
  }

  /* 2. RESET STRUKTUR HEADER (Meta Info) */
  #agencyModal .modal-title-row {
    display: flex !important;
    flex-direction: column !important;
    /* Susun ke bawah */
    gap: 0 !important;
    /* Hapus jarak antar elemen flex */
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    border-bottom: 1px dashed #eee !important;
    padding-bottom: 15px !important;
    min-height: 0 !important;
    /* Pastikan tidak ada tinggi minimal */
  }

  /* 3. SEMBUNYIKAN TOTAL ELEMEN JUDUL (Termasuk Bungkusnya) */
  /* Ini kuncinya: Sembunyikan container .title-flex dan .mt-left agar tidak sisa tempat */
  #agencyModal .modal-title-row .title-flex,
  #agencyModal .modal-title-row h2,
  #agencyModal .modal-title-row .badge-verified-inline {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 4. ATUR ULANG URUTAN TAMPILAN */

  /* Prioritas 1: Badge PPIU & Haji (Paling Atas) */
  .modal-badges {
    order: 1 !important;
    margin-top: 5px !important;
    /* Jarak dikit dari atas */
    margin-bottom: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
  }

  .modal-badges .badge-pill {
    font-size: 0.72rem !important;
  }

  .modal-badges .badge-akred {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  .modal-badges .assoc-badges-row {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Prioritas 2: Lokasi Kota */
  #agencyModal .modal-title-row small {
    order: 2 !important;
    display: flex !important;
    align-items: center;
    margin-bottom: 4px !important;
    color: #444;
    font-size: 0.78rem;
  }

  /* Fix Ikon Pin Peta */
  #agencyModal .modal-title-row small i {
    margin-right: 8px !important;
    color: var(--primary);
    width: 16px;
    text-align: center;
  }

  /* Prioritas 3: Rating Bintang */
  #agencyModal .modal-title-row .rating-row {
    order: 3 !important;
    display: flex !important;
    align-items: center;
    margin-top: 0 !important;
  }

  #agencyModal .modal-title-row .rating-row span i {
    margin-right: 6px !important;
  }
}

/* =======================================================
   FIX FINAL: HAPUS TOTAL GAP & RAPATKAN LAYOUT (MOBILE)
   ======================================================= */
@media (max-width: 768px) {

  /* 1. HEADER CONTAINER: Kunci Tingginya */
  /* Pastikan header hijau tidak punya margin bawah yang mendorong konten */
  #agencyModal .modal-header-bg {
    height: auto !important;
    min-height: 60px !important;
    /* Tinggi standar header */
    margin-bottom: 0 !important;
    /* Hapus dorongan ke bawah */
    padding-bottom: 0 !important;
  }

  /* 2. BODY KONTEN: Tarik ke Atas */
  #agencyModal .modal-body {
    /* Padding atas sangat tipis */
    padding-top: 10px !important;

    /* [TRIK UI] Jika masih ada gap bandel, gunakan ini: */
    /* margin-top: -5px !important; */
  }

  /* 3. BARIS INFO (Lokasi/Badge): Hapus Margin Bawaan */
  #agencyModal .modal-title-row {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 8px !important;

    /* Pastikan elemen ini tidak punya tinggi minimum */
    min-height: 0 !important;
    height: auto !important;
  }

  /* 4. PERBAIKAN IKON YANG MEPET (Map & Bintang) */
  /* Memberi jarak napas antara ikon dan teks */
  #agencyModal .modal-title-row small i,
  #agencyModal .modal-title-row .rating-row i {
    margin-right: 8px !important;
    /* Jarak aman */
    width: 16px;
    /* Lebar fix agar ikon sejajar vertikal */
    text-align: center;
    color: var(--primary);
    /* Pastikan warna hijau */
  }

  /* 5. STRUKTUR ELEMEN (Pastikan urutan benar) */
  #agencyModal .modal-title-row small {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    color: #555;
  }
}

/* =======================================================
   FIX FINAL: OPTIMASI LOGO LEBAR (WIDE LOGO) - MOBILE
   ======================================================= */
@media (max-width: 768px) {

  /* 1. Header Container (Sedikit dipertinggi agar logo muat) */
  #agencyModal .modal-header-bg {
    min-height: 70px !important;
    /* Naik dari 65px ke 70px */
    padding-right: 15px !important;
    /* Sedikit ruang di kanan */
    padding-left: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* 2. Logo Travel (Settingan Fleksibel) */
  #agencyModal .modal-profile-img {
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;

    /* --- KUNCI PERBAIKAN DI SINI --- */

    /* Ganti 'contain' dengan logika dimensi manual */
    object-fit: contain !important;

    /* Tambah Tinggi Maksimal (Biar logo kotak tetap besar) */
    height: 50px !important;
    /* Naik dari 40px */

    /* BUKA KUNCI LEBAR (Biar logo panjang bisa melebar) */
    width: auto !important;
    max-width: 160px !important;
    /* Naik drastis dari 100px */

    /* Posisi: Rata Kanan */
    margin-left: auto !important;
    flex-shrink: 0 !important;
    /* Jangan mau digencet teks */
  }

  /* 3. Penyesuaian Nama Travel (Agar tidak tabrakan) */
  #m-header-name {
    /* Pastikan teks tidak mengambil jatah tempat logo */
    flex: 1 !important;
    padding-right: 15px !important;
    /* Jarak aman antara Teks & Logo */

    /* Teks Rata Kiri (Lebih aman untuk layout logo lebar di kanan) */
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* =======================================================
   FIX FASILITAS: CLEAN LOOK (NO CAPSULE BORDER)
   ======================================================= */
.facility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* Jarak ikon ke teks */

  /* HAPUS KONTAINER KAPSUL */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* Hapus bantalan */
  margin-right: 10px;
  /* Jarak antar item */
  margin-bottom: 5px;

  /* Tipografi */
  font-size: 0.85rem;
  /* Ukuran font pas (tidak kebesaran) */
  color: #444;
  /* Abu gelap (bukan hitam pekat) agar mata nyaman */
}

/* KECILKAN ICON BULATNYA */
.facility-icon-pill {
  width: 24px;
  /* Perkecil dari 26px/30px */
  height: 24px;
  font-size: 11px;
  /* Icon lebih mungil */

  /* Pertahankan warna emas/hijau */
  background: var(--gold-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Agar tidak gepeng */
}

/* =======================================================
   FIX TIPOGRAFI PROFIL: NYAMAN DIBACA
   ======================================================= */
@media (max-width: 768px) {

  #m-desc {
    /* 1. UKURAN FONT: Pas di mata (14px - 15px) */
    font-size: 0.92rem !important;

    /* 2. JARAK BARIS (Breathing Space): Agar tidak sesak */
    line-height: 1.6 !important;

    /* 3. WARNA: Abu gelap elegan, tidak hitam pekat */
    color: #4a4a4a !important;

    /* 4. ALIGNMENT: Rata kiri lebih mudah dibaca cepat daripada Justify di HP */
    text-align: left !important;

    /* 5. SPACING: Beri jarak dari elemen atas/bawah */
    margin-top: 5px !important;
    margin-bottom: 20px !important;

    /* Opsional: Font Weight sedikit lebih tipis agar modern */
    font-weight: 400 !important;
  }

  /* Judul Profil ("Profil Singkat") juga perlu disesuaikan */
  .main-info {
    margin-top: 32px !important;
  }

  /* Subtle separator between action buttons and Profil Singkat */
  #txt-detail-profile {
    position: relative;
    margin-top: 28px !important;
    padding-top: 20px !important;
  }

  #txt-detail-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.08) 70%, transparent);
  }

  .main-info h3 {
    font-size: 1.1rem !important;
    /* Jangan terlalu besar */
    font-weight: 700;
    margin-bottom: 8px !important;
    /* Dekatkan dengan isinya */
    color: var(--primary-dark);
  }
}

/* Separator between action buttons and Profil Singkat (all screens) */
#txt-detail-profile {
  position: relative;
  margin-top: 28px !important;
  padding-top: 20px !important;
}

#txt-detail-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.1) 70%, transparent);
}

/* =======================================================
   FIX DETAILS: FONT SIZE & STAR COLOR (MOBILE)
   ======================================================= */
@media (max-width: 768px) {

  /* 1. HIERARKI FONT: Judul Seksi vs Judul Paket */

  /* A. Judul Seksi (Contoh: "Daftar Paket Umrah", "Profil Singkat") */
  /* Kita pastikan ini terlihat sebagai Induk (Lebih Besar/Tegas) */
  .main-info h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: var(--primary-dark);
  }

  /* B. Judul Item Paket (Contoh: "Umrah Nyaman Sunnah") */
  /* Kita perkecil agar menjadi Anak (Sub-ordinat) */
  .pkg-title {
    font-size: 1rem !important;
    /* Turun dari biasanya 1.1rem/1.2rem */
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #333 !important;
  }

  /* 2. FIX WARNA BINTANG RATING (KEMBALI KE EMAS) */
  /* Override warna hijau yang sebelumnya kita set untuk ikon lokasi */
  #agencyModal .modal-title-row .rating-row i {
    color: #f1c40f !important;
    /* Warna Kuning Emas */
    margin-right: 5px !important;
  }

  /* Pastikan teks angka rating tetap abu gelap/hitam */
  #agencyModal .modal-title-row .rating-row {
    color: #444 !important;
    font-weight: 600 !important;
  }
}

/* =======================================================
   FIX FINAL: HEADER DETAIL CURVED & SHADOW (MOBILE)
   ======================================================= */
@media (max-width: 768px) {

  #agencyModal .modal-header-bg {
    /* 1. CURVED: Lengkungan di sudut bawah kiri & kanan */
    border-radius: 0 0 25px 25px !important;

    /* 2. SHADOW: Efek bayangan halus agar terlihat mengambang */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;

    /* 3. CLEANUP: Hapus garis border biasa */
    border-bottom: none !important;

    /* 4. BACKGROUND: Wajib Putih Solid agar konten tidak tembus */
    background: #ffffff !important;

    /* 5. DIMENSI & LAYOUT (Pertahankan settingan logo sebelumnya) */
    min-height: 70px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    /* Penting: Pastikan tetap Sticky di atas */
    position: sticky !important;
    top: 0;
    z-index: 50;

    /* Beri sedikit margin bawah agar bayangan tidak terpotong oleh body */
    margin-bottom: 5px !important;
  }
}

/* =======================================================
   FIX ICON BACK: LEBIH PREMIUM (CHEVRON STYLE)
   ======================================================= */
@media (max-width: 768px) {

  /* Pastikan tombolnya sendiri bersih */
  #agencyModal .close-modal {
    /* Pastikan tidak ada background abu-abu kasar */
    background: transparent !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    /* Rata kiri agar pas di ujung */
    padding-left: 5px !important;
    /* Sedikit geser agar tidak nempel layar */
  }

  /* GANTI ICON PANAH LAMA DENGAN CHEVRON */
  #agencyModal .close-modal::before {
    /* Kode Icon Chevron Left (<) yang lebih tipis & elegan */
    content: '\f053' !important;

    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;

    /* Ukuran & Warna */
    font-size: 1.2rem !important;
    /* Tidak terlalu raksasa */
    color: #333 !important;
    /* Hitam/Abu Gelap Premium */

    /* Efek Teks */
    text-shadow: none !important;
    /* Hapus bayangan jika ada */
    transition: transform 0.2s ease;
  }

  /* Efek saat ditekan (Feedback Visual) */
  #agencyModal .close-modal:active::before {
    transform: translateX(-3px);
    /* Gerak sedikit ke kiri */
    color: var(--primary);
    /* Berubah hijau saat ditekan */
  }
}

/* =======================================================
   FIX FINAL: JUDUL TRAVEL LEBIH BESAR & TEGAS (MOBILE)
   ======================================================= */
@media (max-width: 768px) {

  #m-header-name {
    /* 1. PERBESAR FONT: Naik dari 0.95rem ke 1.15rem (~18px) */
    font-size: 1.15rem !important;

    /* 2. LEBIH TEBAL: Agar berkarakter */
    font-weight: 700 !important;

    /* 3. WARNA: Hijau Gelap Utama */
    color: var(--primary-dark) !important;

    /* 4. LAYOUTING (Pertahankan yang lama agar tidak tabrakan) */
    flex: 1 !important;
    padding-right: 10px !important;
    text-align: left !important;
    line-height: 1.2 !important;

    /* Penting: Agar nama panjang jadi "..." dan tidak merusak layout */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    /* Opsional: Sedikit letter spacing agar elegan */
    letter-spacing: -0.3px !important;
  }
}

/* ========================
   WIDGET CHATBOT STYLE
   ======================== */
#chat-widget-container {
  position: fixed;
  bottom: 85px;
  /* Di atas bottom nav mobile */
  right: 20px;
  z-index: 9999;
}

#chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-toggle-btn:hover {
  transform: scale(1.1);
}

#chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
  border: 1px solid #eee;
}

.chat-window-hidden {
  opacity: 0;
  transform: scale(0) translateY(100%);
  pointer-events: none;
}

.chat-header {
  background: var(--primary);
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.close-chat {
  cursor: pointer;
  font-size: 20px;
  opacity: 0.8;
}

.chat-body {
  flex: 1;
  padding: 15px;
  background: #f4f6f8;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: #333;
  border-bottom-left-radius: 2px;
  border: 1px solid #e0e0e0;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  /* Mengikut tema hijau */
  color: #fff;
  border-bottom-right-radius: 2px;
}

.chat-footer {
  padding: 10px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chat-footer input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 15px;
  outline: none;
  font-family: inherit;
}

.chat-footer .chat-footer button {
  background: var(--primary);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

/* Responsif Mobile */
@media (max-width: 480px) {
  #chat-window {
    width: 300px;
    height: 450px;
    bottom: 70px;
    right: -10px;
  }
}

/* =========================================
   PREMIUM CHATBOT STYLE (COMPACT & ANIMATED)
   ========================================= */

/* 1. TOMBOL UTAMA (Floating Button) */
#chat-toggle-btn {
  position: fixed;
  bottom: 110px;
  /* SEBELUMNYA 20px -> SEKARANG 110px (Naik) */
  right: 20px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(15, 76, 58, 0.4);
  background: transparent;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chat-toggle-btn:hover {
  transform: scale(1.1);
  /* Efek membesar saat disentuh */
}

/* Avatar di Tombol Utama (Tanpa Bingkai) */
.chat-avatar-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Agar gambar utuh */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  /* Shadow langsung di orangnya */
}

/* 2. JENDELA CHAT (Floating Card) */
#chat-window {
  position: fixed;
  bottom: 100px;
  /* SEBELUMNYA 90px -> SEKARANG 180px (Jarak aman di atas tombol) */
  right: 20px;
  width: 350px;
  /* Sedikit dikecilkan (360 -> 350) agar lebih manis */
  height: 500px;
  /* Tinggi dikurangi sedikit (550 -> 500) agar tidak mentok atas */
  max-height: 70vh;
  /* Maksimal 70% layar */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;

  /* Animasi Masuk */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Class saat chat terbuka (Diatur oleh JS) */
#chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Class untuk JS lama (Hidden) - kita override */
.chat-window-hidden {
  display: block !important;
  /* Biar transisi CSS jalan */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

/* 3. HEADER CHAT (Compact) */
.chat-header {
  background: var(--primary);
  /* Warna Hijau UmrahKita */
  color: white;
  padding: 12px 15px;
  /* Lebih tipis */
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Avatar Header (Kecil Tanpa Bingkai Tebal) */
.chat-avatar-header {
  width: 32px;
  /* Diperkecil */
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  background: white;
  padding: 2px;
  /* Sedikit padding putih agar rapi */
  margin-right: 10px;
}

.close-chat {
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.close-chat:hover {
  opacity: 1;
}

/* 4. BODY CHAT (Area Pesan) */
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8f9fa;
  /* Abu sangat muda */
  scroll-behavior: smooth;
}

/* Bubble Chat */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 15px;
  font-size: 0.78rem;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;

  /* Animasi Pesan Muncul */
  animation: messagePop 0.3s ease-out forwards;
}

/* Animasi Pop */
@keyframes messagePop {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot {
  background: #fff;
  color: #333;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-right: auto;
}

.chat-msg.user {
  background: var(--primary);
  /* Hijau */
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 5px rgba(15, 76, 58, 0.2);
  margin-left: auto;
  text-align: right;
}

/* 5. FOOTER (Input) */
.chat-footer {
  padding: 10px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pastikan Input Field tidak menabrak */
#chat-input {
  flex-grow: 1;
  /* Input boleh lebar, tapi sisa ruang saja */
  width: 100%;
  /* Pastikan dia mengisi ruang tengah */
  margin: 0 8px;
  /* Jarak aman kiri-kanan */
}

#chat-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

#btn-mic,
#btn-send-chat {
  flex-shrink: 0;
  /* INI KUNCINYA: Melarang tombol mengecil */
  width: 45px !important;
  /* Lebar fix */
  height: 45px !important;
  /* Tinggi fix */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* =========================================
   RESPONSIVE MOBILE (IPHONE SE & LAINNYA)
   ========================================= */
@media (max-width: 480px) {

  /* 1. JENDELA CHAT: Lebih Panjang & Turun ke Bawah */
  #chat-window {
    position: fixed;
    width: 92% !important;
    /* Lebar hampir full */
    height: 80vh !important;
    /* Tinggi 80% layar (Lebih Puas) */

    /* Posisi Tengah Horizontal */
    left: 4% !important;
    right: 4% !important;

    /* Posisi Vertikal: Turunkan agar wajar */
    bottom: 150px !important;
    /* Jarak dari bawah cukup 90px (di atas tombol toggle) */

    border-radius: 15px;
    z-index: 99999;
    /* Pastikan paling depan */
  }

  /* 2. TOMBOL TOGGLE (Avatar): Tetap di Pojok Kanan Bawah */
  #chat-toggle-btn {
    width: 60px;
    height: 60px;
    bottom: 80px !important;
    /* Nempel wajar di bawah */
    right: 20px !important;
    left: auto !important;
    /* Pastikan tidak ke kiri */
  }

  /* 3. Perbaikan Header di HP Kecil */
  .chat-header {
    padding: 12px 15px;
    /* Sedikit lebih rapat */
  }

  .chat-header h4 {
    font-size: 0.95rem;
    /* Font judul sesuaikan */
  }
}

/* =========================================
   VOICE MODE STYLES
   ========================================= */

#btn-mic {
  width: 40px;
  height: 40px;
  border: none;
  background: #f1f1f1;
  /* Warna default abu muda */
  color: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

#btn-mic:hover {
  background: #e2e2e2;
  transform: scale(1.1);
}

/* KELAS SAAT MENDENGARKAN (Listening Mode) */
#btn-mic.listening {
  background: #e74c3c !important;
  /* Merah menyala */
  color: white !important;
  box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  animation: pulse-red 1.5s infinite;
}

/* Animasi Denyut Jantung */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }

  70% {
    transform: scale(1.0);
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* =========================
   PRICE STAMP (NO Rp 0)
   ========================= */
.price-stamp-wrap {
  margin-top: 8px;
}

.price-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px dashed rgba(212, 175, 55, .9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  transform: rotate(-2deg);
  user-select: none;
  white-space: nowrap;
}

.price-stamp i {
  font-size: .9rem;
  transform: translateY(1px);
}

.price-stamp.stamp-soon {
  background: linear-gradient(135deg, rgba(223, 189, 105, .20), rgba(212, 175, 55, .10));
  color: var(--primary-dark);
}

.price-stamp.stamp-contact {
  background: linear-gradient(135deg, rgba(15, 76, 58, .12), rgba(212, 175, 55, .10));
  color: var(--primary-dark);
}

@media (prefers-reduced-motion: no-preference) {
  .price-stamp {
    animation: stampPop 2.2s ease-in-out infinite;
  }

  @keyframes stampPop {

    0%,
    100% {
      transform: rotate(-2deg) scale(1);
    }

    50% {
      transform: rotate(-2deg) scale(1.02);
    }
  }
}

#top10-container,
#other-agencies-container,
#directory-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.flash-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(212, 175, 55, .18);
  color: #7a5b00;
  border: 1px solid rgba(212, 175, 55, .45);
  white-space: nowrap;
}

.price-wrap {
  margin-top: 6px;
}

.price-row {
  display: flex;
  align-items: center;
  /* ini yang bikin badge center sejajar angka */
  gap: 10px;
  flex-wrap: wrap;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.price-normal {
  font-size: 13px;
  opacity: .65;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.flash-inline {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  /* penting biar ga â€œnaik turunâ€ */
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(1px);
  /* tweak kecil biar pas (opsional) */
}

.flash-deal-badge {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.5px;
  animation: gentle-pulse 2.5s ease-in-out infinite;
}

.flash-deal-badge::before {
  content: '\f02b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.72rem;
  display: inline-block;
}

/* Animasi lebih halus */
@keyframes gentle-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
  }
}

@keyframes gentle-flip {

  0%,
  100% {
    transform: rotateZ(0deg);
  }

  50% {
    transform: rotateZ(180deg);
  }
}

/* STYLE STEMPEL - Coming Soon Badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid #FCD34D;
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
  color: #B45309;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
}

/* Old pseudo-elements and animations removed for clean horizontal badge */

/* ========================================
   PREMIUM CARD - SIMPLE BORDER EMAS
   ======================================== */

.agency-card.premium {
  position: relative;
  background: white;
  border-radius: 12px;
  border: 5px solid;
  border-color: #FFD700;
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.15);
  animation: border-glow-pulse 4s ease-in-out infinite;
}

/* Badge Verified - TETAP BERSIH */
.badge-premium-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #78350F;
  padding: 7px 14px;
  border-radius: 20px;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 10;
}

.badge-premium-verified i {
  font-size: 0.8rem;
}

/* ========================================
   VERIFIED (NON-PREMIUM) BADGE
   - Data verified, no paid promotion
   ======================================== */
.badge-verified-basic {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(15, 76, 58, 0.12);
  border: 1px solid rgba(15, 76, 58, 0.28);
  box-shadow: 0 2px 10px rgba(15, 76, 58, 0.10);
  z-index: 10;
}

/* ========================================
   UNVERIFIED (COMPACT) BADGE
   ======================================== */
.badge-not-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.08);
  z-index: 10;
}

/* Premium badge: add mini verified marker */
.badge-premium-verified .mini-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: none;
  line-height: 1;
}

.badge-premium-verified .mini-verified i {
  font-size: 0.75rem;
}

/* Verified card accent (subtle) */
.agency-card.verified {
  border: 1px solid rgba(15, 76, 58, 0.18);
  box-shadow: 0 10px 28px rgba(15, 76, 58, 0.06);
}

.agency-card.verified:hover {
  box-shadow: 0 14px 34px rgba(15, 76, 58, 0.10);
}

/* Placeholder: verified but packages not published */
.verified-no-packages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .2px;
  color: rgba(15, 76, 58, 0.92);
  background: rgba(15, 76, 58, 0.08);
  border: 2px dashed rgba(15, 76, 58, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}


/* Animasi border pulse - SLOW & ELEGAN */
@keyframes border-glow-pulse {

  0%,
  100% {
    border-color: #FFD700;
    box-shadow:
      0 4px 16px rgba(255, 215, 0, 0.15);
  }

  50% {
    border-color: #FFA500;
    box-shadow:
      0 8px 24px rgba(255, 215, 0, 0.25),
      0 0 15px rgba(255, 215, 0, 0.2);
  }
}

/* Hover effect */
.agency-card.premium:hover {
  border-color: #FFA500;
  box-shadow:
    0 8px 28px rgba(255, 215, 0, 0.3);
}

/* =========================================
   PREMIUM CARD: GOLD GLOW FRAME ONLY
   (Isi card tetap putih, glow hanya border)
   ========================================= */

.agency-card.premium {
  background: #fff !important;
  /* penting: hilangkan kuning di dalam */
  position: relative;
  overflow: hidden;
  /* biar frame rapi ikut radius */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 18px rgba(212, 175, 55, 0.18) !important;
  /* glow halus */
}

/* Frame gradient (bukan background isi) */
.agency-card.premium::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  /* tebal frame */
  border-radius: inherit;
  /* ikut radius card */
  background: var(--gold-gradient);
  pointer-events: none;
  z-index: 1;

  /* Mask: tampilkan hanya â€œbingkaiâ€, bagian tengah transparan */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* center stamp on any grid/flex row */
.coming-soon-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 6px;

  /* kalau parent-nya GRID 2 kolom */
  grid-column: 1 / -1;
}

.coming-soon-badge {
  justify-self: center;
  /* grid helper */
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   BADGE OUTLINE: BELUM TERVERIFIKASI
   =============================== */
.badge-outline-silver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(170, 180, 195, 0.95);
  color: #6b7280;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width:480px) {
  .badge-outline-silver {
    font-size: .85rem;
    padding: 9px 14px
  }
}

/* ==============================
   CARD HEADER - FIX TITLE vs BADGE
   ============================== */

/* Pastikan area header bisa wrap rapi */
.agency-header,
.card-header,
.agency-card-header,
.agency-top-row {
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Badge di pojok kanan, tetap rapi */
.badge-verified-inline,
.status-badge,
.badge-verified {
  margin-left: auto;
  /* dorong ke kanan */
  order: 1;
  /* tampil dulu */
}

/* Nama travel turun ke bawah badge */
.agency-name,
.agency-title,
.card-title,
.agency-header h3 {
  flex: 1 0 100%;
  /* paksa satu baris sendiri */
  order: 2;
  /* tampil setelah badge */
  margin-top: 6px;
  /* jarak turun */
  line-height: 1.25;
}

/* ==================================================
   FIX: Premium card title not colliding with verified badge
   ================================================== */
.agency-card.premium .card-header {
  padding-top: 62px !important;
  /* move title/content down below badge */
  padding-right: 140px !important;
  /* reserve space so title doesn't hit badge */
}

/* Badge spacing guard: prevent title from touching status badge */
@media (max-width: 520px) {
  .agency-card .card-header {
    padding-right: 156px;
  }

  .agency-card.premium .card-header {
    padding-right: 178px;
  }
}

.agency-card.premium .card-title-row h4 {
  line-height: 1.25;
}

/* ==================================================
   FIX: Nama travel panjang tetap di samping logo
   ================================================== */

/* Header card: satu baris, tidak wrap */
.agency-card .card-header {
  position: relative;
  display: flex;
  flex-wrap: nowrap !important;
  /* kunci: jangan izinkan turun baris */
  align-items: flex-start;
  gap: 12px;
  padding-right: 184px;
  /* ruang aman agar judul tidak nabrak badge */
}

/* Ruang aman untuk badge verified (badge absolute) */
.agency-card.premium .card-header {
  padding-top: 46px;
  padding-right: 212px;
}

/* Logo jangan menyusut */
.agency-card .card-header img,
.agency-card .card-header .agency-logo {
  flex: 0 0 auto;
}

/* Elemen teks di sebelah logo harus bisa â€œshrinkâ€ */
.agency-card .card-header h3,
.agency-card .card-header h4,
.agency-card .card-header .agency-name,
.agency-card .card-header .agency-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  /* kunci supaya wrap di samping logo */
  width: auto !important;
  /* override kalau ada width:100% */
  flex-basis: auto !important;
  /* override kalau ada flex-basis:100% */
  margin: 0;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Badge tetap kanan atas */
.agency-card .badge-premium-verified,
.agency-card .badge-verified,
.agency-card .status-badge,
.agency-card .badge-verified-inline {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

/* ==================================================
   FORCE: nama travel 1 baris (ellipsis) + ruang badge lebih kecil
   ================================================== */

/* Ruang badge lebih hemat supaya title dapat space */
.agency-card.premium .card-header {
  padding-right: 92px;
  /* sebelumnya 128px */
}

/* Nama travel: paksa 1 baris */
.agency-card .card-header h3,
.agency-card .card-header .agency-name,
.agency-card .card-header .agency-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Area teks di samping logo harus boleh menyempit */
.card-header .card-head-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Desktop: 1 baris + ellipsis */
@media (min-width: 769px) {
  .card-header .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
}

/* Mobile: max 2 baris */
@media (max-width: 768px) {
  .card-header .card-title {
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }
}

/* ==================================================
   FIX FINAL: Title muat 1 baris (desktop) + badge lebih compact
   ================================================== */

/* Badge verified lebih kecil & ramping */
.badge-premium-verified {
  font-size: 11px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
}

/* Ruang aman untuk badge: kecilin lagi */
.agency-card.premium .card-header {
  padding-top: 42px !important;
  padding-right: 70px !important;
  /* sebelumnya 92/128 */
}

/* Pastikan area teks bisa benar-benar melebar */
.card-header .card-head-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Desktop: paksa 1 baris + ellipsis (biar tidak turun) */
@media (min-width: 769px) {
  .card-header .card-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
  }
}

/* =========================
   Premium finishing tweaks
   ========================= */

/* Badge verified lebih â€œpremiumâ€ */
.badge-premium-verified {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.agency-card:hover .badge-premium-verified {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* Card hover lebih halus */
.agency-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.agency-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

/* Judul ellipsis: kasih cursor hint */
.card-header .card-title {
  cursor: default;
}

@media (min-width: 769px) {
  .card-header .card-title {
    cursor: help;
  }
}

/* =========================================
   MOBILE BADGE RESPONSIVE - BIGGER SIZE
   ========================================= */
@media (max-width: 768px) {

  /* Make Premium badge bigger on mobile */
  .badge-premium-verified {
    font-size: 0.7rem !important;
    padding: 7px 14px !important;
  }

  /* Make Verified badge bigger on mobile */
  .badge-verified-basic {
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
  }

  /* Make Not Verified badge bigger on mobile */
  .badge-not-verified {
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
  }
}

/* =========================
   Review Sidebar (Drawer)
   ========================= */
.review-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 6000;
}

.review-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(460px, 94vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
  transform: translateX(102%);
  transition: transform .22s ease;
  z-index: 6001;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.review-sidebar.open {
  transform: translateX(0);
}

.review-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.review-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.review-sidebar-title {
  font-weight: 700;
  color: var(--primary);
  font-family: "Poppins", sans-serif;
}

.review-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.review-sidebar-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#reviewFrame {
  width: 100%;
  flex: 1;
  border: 0;
  background: #f3f3f3;
}

.review-fallback {
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
  background: #fff;
  font-size: 0.78rem;
  color: #555;
}

.review-open-external {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.review-open-external:hover {
  filter: brightness(1.05);
}

.review-meta {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-meta .left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-meta .name {
  font-weight: 700;
  color: var(--primary);
}

.review-meta .sub {
  font-size: .9rem;
  color: #666;
}

.review-stars {
  white-space: nowrap;
  font-size: .95rem;
  color: #f1c40f;
}

.review-list {
  padding: 14px 16px;
  overflow: auto;
  flex: 1;
  background: #fafafa;
}

.review-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex: 0 0 auto;
}

.review-author .who {
  font-weight: 700;
  color: #333;
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-time {
  font-size: .8rem;
  color: #777;
  flex: 0 0 auto;
}

.review-text {
  margin-top: 10px;
  color: #444;
  line-height: 1.55;
  font-size: .92rem;
  white-space: pre-line;
}

.review-skeleton {
  height: 88px;
  border-radius: 12px;
  background: #eee;
  margin-bottom: 12px;
  animation: pulse 1.1s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: .65
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: .65
  }
}

/* Distance badge (GPS) */
.distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(15, 76, 58, .08);
  border: 1px solid rgba(15, 76, 58, .18);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.distance-badge i {
  opacity: .9
}

/* Reviews drawer safety */
.review-backdrop {
  pointer-events: none;
}

.review-backdrop.active {
  pointer-events: auto;
}

.review-sidebar {
  pointer-events: auto;
}

/* =========================================================
   REVIEWS DRAWER UX PATCH (scroll + skeleton + empty/error)
   Append this block to the END of your existing style.css
   ========================================================= */

.review-sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
}

.review-sidebar-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 24px;
}

.review-meta-skeleton {
  margin: 10px 12px;
}

/* Skeleton base */
.sk {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.sk::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  animation: skShimmer 1.15s infinite;
}

@keyframes skShimmer {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(220%);
  }
}

.sk-line {
  height: 12px;
  margin: 10px 0;
}

.sk-w-15 {
  width: 15%;
}

.sk-w-40 {
  width: 40%;
}

.sk-w-60 {
  width: 60%;
}

.sk-w-70 {
  width: 70%;
}

.sk-w-85 {
  width: 85%;
}

.sk-w-90 {
  width: 90%;
}

.review-skel-wrap {
  padding: 4px 0;
}

.review-skel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 14px;
  margin: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.review-skel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Empty / error state */
.review-empty-state {
  margin: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.02);
}

.review-error-state {
  border-style: solid;
  background: rgba(231, 76, 60, 0.04);
}

.review-empty-title {
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 6px;
}

.review-empty-body {
  color: #667085;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* =========================================================
   REVIEWS UX UPGRADE (v16)
   - sticky header
   - initials avatar fallback
   - read more / collapse
   - sort buttons
   ========================================================= */

.review-sidebar-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
}

.review-item-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 38px;
}

.review-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.review-initials {
  line-height: 1;
}

.review-author-name {
  font-weight: 700;
}

.review-author-link {
  text-decoration: none;
}

.review-author-link:hover {
  text-decoration: underline;
}

.review-text {
  margin-top: 10px;
  color: #444;
  line-height: 1.55;
  word-break: break-word;
}

.review-text.review-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-item.expanded .review-text {
  display: block;
  -webkit-line-clamp: unset;
}

.review-readmore {
  margin-top: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.review-sort {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-sort-btn {
  border: 1px solid #dbe3ea;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.review-sort-btn.active {
  border-color: var(--primary);
  color: var(--primary);
}

.review-sidebar-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 64px);
}

/* =======================
   REVIEWS PATCH v17
   (sort visible + avatar fallback)
   ======================= */
#reviewSidebarMeta.review-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

#reviewSidebarMeta .review-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

#reviewSidebarMeta .review-sort {
  width: 100%;
}

.review-item-head .review-avatar {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* v18: meta row (rating/count) */
.review-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  line-height: 1.2;
}

.review-meta-star {
  color: #f1c40f;
}

.review-meta-rating {
  font-weight: 700;
  color: #222;
}

.review-meta-count {
  color: #666;
  font-size: .95rem;
}



/* =========================
   REVIEWS DRAWER: meta nowrap + smaller time to avoid wrapping (v19)
   ========================= */
.review-item-head .review-author {
  min-width: 0;
  flex: 1;
}

.review-item-head .review-author-name {
  font-weight: 800;
  line-height: 1.15;
  word-break: break-word;
}

.review-item-head .review-author-meta {
  margin-top: 2px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-item-head .review-author-meta .review-stars,
.review-item-head .review-author-meta .review-when {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .review-item-head .review-author-meta {
    font-size: 0.74rem;
  }
}

/* v19 polish: keep header 1-row neat */
.review-item-head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-author-name {
  max-width: 180px;
  /* adjust if needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author-meta {
  white-space: nowrap;
  font-size: 0.82rem;
  opacity: 0.85;
}

.empty-muted {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 10px 0;
}

.btn-submit-inquiry {
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 14px 18px;
  border-radius: 999px;
}

@media (max-width: 420px) {
  .btn-submit-inquiry {
    font-size: 0.95rem;
    /* sedikit kecil biar 1 baris */
  }
}


/* =========================================================
   PATCH: Tech-Lux hero 3 lines + reviews overlay + close btn
   ========================================================= */

/* Hero headline: force compact 3 lines via spans + clamp */
#txt-hero-title {
  font-size: clamp(24px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

#txt-hero-title .hero-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 420px) {
  #txt-hero-title {
    font-size: clamp(22px, 6.6vw, 44px);
  }
}

/* Review drawer must overlay detail/modal layers on mobile */
#reviewBackdrop,
.review-backdrop {
  z-index: 30000 !important;
}

#reviewSidebar,
.review-sidebar {
  z-index: 30001 !important;
}

/* Close "X" alignment (modal + review drawer) */
.modal .close-modal,
#reviewSidebar .review-close,
.review-sidebar .review-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 22px;
  border-radius: 12px;
}

.modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}


/* Tech-lux typography */
body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Review drawer smooth open/close + swipe */
.review-backdrop {
  opacity: 0;
  transition: opacity .28s cubic-bezier(.2, .8, .2, 1);
}

.review-backdrop.active {
  opacity: 1;
}

.review-sidebar {
  transform: translateX(110%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.review-sidebar.active {
  transform: translateX(0);
}

.review-sidebar.dragging {
  transition: none !important;
}

/* Review skeleton */
.skeleton {
  background: rgba(0, 0, 0, .06);
  border-radius: 10px;
}

.skeleton.line {
  height: 10px;
  margin: 8px 0;
}

.skeleton.w-80 {
  width: 80%;
}

.skeleton.w-60 {
  width: 60%;
}

.skeleton.w-40 {
  width: 40%;
}

.review-item.skeleton-card {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  margin-bottom: 12px;
}

.review-avatar.skeleton {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.review-meta-line.skeleton {
  height: 12px;
  margin: 6px 0;
}

/* Compare checkbox UI */
.agency-card {
  position: relative;
}

.compare-select {
  position: absolute;
  top: 12px;
  left: 52px;
  /* Moved to second position, after favorite button */
  z-index: 3;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

.compare-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.compare-checkmark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: transparent;
  background: rgba(0, 0, 0, .06);
}

.compare-checkbox:checked+.compare-checkmark {
  background: var(--primary, #0F4C3A);
  color: #fff;
}

/* Inquiry CTA compact */
.inquiry-modal .btn-submit,
#inquirySubmitBtn,
.btn-inquiry-submit {
  white-space: nowrap;
  font-size: clamp(14px, 3.6vw, 16px);
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.1;
}


/* =========================================================
   PATCH v4 â€” Compare close layering + compact compare bar
   + Reviews drawer smoother transitions (tech-lux compatible)
   ========================================================= */

/* Make sure compare modal is always above chatbot / floating widgets */
#compareModal {
  z-index: 2147482000 !important;
}

#compareModal .modal-content {
  position: relative;
}

#compareModal .compare-modal-header {
  position: sticky;
  top: 0;
  z-index: 2147482001;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px);
}

#compareModal .compare-modal-header .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2147482002;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  line-height: 1;
}

/* Compact floating compare bar + keep close button reachable */
#compare-bar {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  width: min(420px, calc(100% - 24px)) !important;
  max-width: 420px !important;

  bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  z-index: 2147482000 !important;

  border-radius: 999px !important;
  padding: 10px 12px !important;

  /* hidden by default; JS toggles .show */
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;

  transform: translate3d(-50%, 18px, 0) !important;
  opacity: 0 !important;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .28s ease !important;
}

/* show state (JS adds .show) */
#compare-bar.show {
  display: flex !important;
  pointer-events: auto !important;
  visibility: visible !important;

  opacity: 1 !important;
  transform: translate3d(-50%, 0, 0) !important;
}


/* ensure internal layout is visually centered (fix â€œkurang presisiâ€) */
#compare-bar .compare-info {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

#compare-bar .compare-actions {
  position: static !important;
  transform: none !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#compare-bar .btn-compare-main {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  line-height: 1.1 !important;
}

#compare-bar .btn-compare-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* desktop: sit lower (no bottom-nav) */
@media (min-width: 768px) {
  #compare-bar {
    bottom: 20px !important;
  }
}


/* =========================================================
   PATCH v38 (stabil dari v37)
   - Compare bar lebih ramping + hilangkan label "travel dipilih"
   - Jarak action buttons vs badges di modal detail
   - Tooltip bubble untuk badge verified / non-verified (has-tooltip)
   ========================================================= */

/* --- Compare bar: lebih compact --- */
#compare-bar {
  width: min(340px, calc(100% - 16px)) !important;
  max-width: 340px !important;
  padding: 10px 10px !important;
  border-radius: 999px !important;
  gap: 10px !important;
}

#compare-bar .compare-bar-label {
  display: none !important;
}

#compare-bar .compare-bar-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#compare-bar .compare-bar-count {
  font-size: 0.9rem !important;
}

#compare-bar .compare-bar-btn {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
}

#compare-bar .compare-bar-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
}

/* desktop: tetap ramping */
@media (min-width: 768px) {
  #compare-bar {
    width: 340px !important;
    max-width: 340px !important;
  }
}

/* --- Modal detail: tambah jarak badges -> action buttons --- */
#agencyModal .modal-badges {
  margin-bottom: 12px !important;
}

#agencyModal .modal-badges+.action-buttons {
  margin-top: 14px !important;
}

#agencyModal .action-buttons {
  gap: 12px !important;
  margin-bottom: 18px !important;
}

/* --- Tooltip bubble (verified / non-verified badges) --- */
/* pastikan tooltip tidak terpotong & posisi lebih premium */
.agency-card {
  overflow: visible !important;
}

.has-tooltip {
  position: relative;
  overflow: visible;
  cursor: help;
}

.has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate3d(-50%, 8px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99999;

  min-width: 180px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;

  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: left;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: break-word;
}

.has-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translate3d(-50%, 8px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99998;

  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid rgba(17, 24, 39, 0.92);
}

.has-tooltip:hover::after,
.has-tooltip:hover::before,
.has-tooltip:focus::after,
.has-tooltip:focus::before,
.has-tooltip:focus-visible::after,
.has-tooltip:focus-visible::before,
.has-tooltip:active::after,
.has-tooltip:active::before {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}

/* Verified badge (di pojok atas): tampilkan tooltip ke bawah agar tidak nabrak tepi atas */
.has-tooltip.tooltip-bottom::after {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translate3d(-50%, -8px, 0);
}

.has-tooltip.tooltip-bottom::before {
  top: calc(100% + 2px);
  bottom: auto;
  transform: translate3d(-50%, -8px, 0);
  border-top: none;
  border-bottom: 8px solid rgba(17, 24, 39, 0.92);
}

/* touch devices: tampil saat tap */
@media (hover: none) {

  .has-tooltip:active::after,
  .has-tooltip:active::before {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, 0, 0);
  }
}


/* =============================
   PATCH v39
   - Compare bar lebih compact (hapus label)
   ============================= */
#compare-bar.compare-bar {
  width: min(92vw, 300px) !important;
  max-width: min(92vw, 300px) !important;
  padding: 10px 12px !important;
  gap: 10px !important;
  border-radius: 999px !important;
}

#compare-bar .compare-bar-left {
  gap: 8px !important;
  align-items: center !important;
}

#compare-bar .compare-bar-label {
  display: none !important;
}

#compare-bar .compare-bar-count {
  font-size: 0.9rem !important;
}

#compare-bar .compare-bar-btn {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  border-radius: 999px !important;
}

#compare-bar .compare-bar-close {
  width: 34px !important;
  height: 34px !important;
}


/* =============================
   PATCH v40
   - Compare bar ultra-compact (mobile+desktop)
   - Tooltip smaller + right-aligned for top-right verified badge
   ============================= */

/* Compact compare bar: fit-content pill */
#compare-bar {
  width: fit-content !important;
  max-width: calc(100% - 20px) !important;
  padding: 8px 10px !important;
  gap: 8px !important;
  border-radius: 999px !important;
  align-items: center !important;
}

/* Count pill */
#compare-bar .compare-info {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(15, 76, 58, 0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  gap: 6px !important;
  line-height: 1 !important;
}

#compare-bar .compare-count {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}

/* Buttons smaller */
#compare-bar .btn-compare-main,
#compare-bar .compare-bar-btn {
  padding: 7px 10px !important;
  font-size: 0.85rem !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

#compare-bar .btn-compare-close,
#compare-bar .compare-bar-close {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

/* Better vertical placement: clear bottom nav on mobile */
@media (max-width: 768px) {
  #compare-bar {
    bottom: calc(90px + env(safe-area-inset-bottom)) !important;
  }
}

@media (min-width: 769px) {
  #compare-bar {
    bottom: 22px !important;
  }
}

/* Tooltip alignment for verified badge at top-right: keep inside card */
.badge-verified-inline.has-tooltip::after,
.badge-verified-inline.has-tooltip::before {
  left: auto !important;
  right: 0 !important;
}

.badge-verified-inline.has-tooltip::after {
  transform: translate3d(0, 8px, 0) !important;
}

.badge-verified-inline.has-tooltip::before {
  transform: translate3d(0, 8px, 0) !important;
  right: 14px !important;
  /* arrow offset */
}

/* If using tooltip-bottom (recommended for top badges), keep alignment */
.badge-verified-inline.has-tooltip.tooltip-bottom::after {
  transform: translate3d(0, -8px, 0) !important;
}

.badge-verified-inline.has-tooltip.tooltip-bottom::before {
  transform: translate3d(0, -8px, 0) !important;
}

/* =========================================================
   PATCH v41 (based on stable v40)
   - Compare bar ultra-compact + premium (mobile & desktop)
   - Forces row layout; prevents legacy mobile column rules
   ========================================================= */
#compare-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  /* smaller pill */
  padding: 8px 10px !important;
  width: auto !important;
  max-width: min(320px, calc(100% - 16px)) !important;

  border-radius: 999px !important;
  border: 1px solid rgba(15, 76, 58, 0.18) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14) !important;
}

/* prevent legacy rules that make buttons full-width on mobile */
#compare-bar>button {
  width: auto !important;
  max-width: none !important;
}

/* left group */
#compare-bar .compare-bar-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

/* count pill */
#compare-bar .compare-bar-count,
#compare-bar .compare-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(15, 76, 58, 0.08) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
}

/* hide label fully */
#compare-bar .compare-bar-label,
#compare-bar #txt-compare-count-lbl {
  display: none !important;
}

/* buttons smaller */
#compare-bar .compare-bar-btn,
#compare-bar .btn-compare-main {
  padding: 6px 10px !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

/* close smaller */
#compare-bar .compare-bar-close,
#compare-bar .btn-compare-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

/* mobile positioning: above bottom nav */
@media (max-width: 520px) {
  #compare-bar {
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    max-width: min(300px, calc(100% - 16px)) !important;
    padding: 7px 10px !important;
    gap: 6px !important;
  }

  #compare-bar .compare-bar-btn {
    padding: 6px 9px !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================
   PATCH v42 - Premium Compare Bar (final polish)
   - Keep ultra-compact row layout (mobile+desktop)
   - Add glassy premium look + better focus/hover states
   - Do NOT change core behavior (CSS-only)
   ========================================================== */

#compare-bar {
  max-width: min(320px, calc(100vw - 32px)) !important;
  padding: 10px 12px !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 76, 58, 0.18) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12) !important;

  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

#compare-bar .compare-bar-label {
  display: none !important;
}

#compare-bar .compare-inner {
  gap: 8px !important;
}

#compare-bar .compare-info {
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(15, 76, 58, 0.06) !important;
  border: 1px solid rgba(15, 76, 58, 0.16) !important;
}

#compare-bar .compare-count {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: var(--primary, #0F4C3A) !important;
  letter-spacing: 0.2px !important;
}

#compare-bar .compare-btn {
  padding: 7px 12px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--primary, #0F4C3A) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 8px 18px rgba(15, 76, 58, 0.18) !important;
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease !important;
}

#compare-bar .compare-btn:hover {
  filter: brightness(1.05) !important;
  box-shadow: 0 10px 22px rgba(15, 76, 58, 0.22) !important;
}

#compare-bar .compare-btn:active {
  transform: translateY(1px) scale(0.99) !important;
}

#compare-bar .compare-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: rgba(255, 255, 255, 0.90) !important;
  color: rgba(0, 0, 0, 0.70) !important;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease !important;
}

#compare-bar .compare-close:hover {
  background: rgba(15, 76, 58, 0.07) !important;
  border-color: rgba(15, 76, 58, 0.22) !important;
}

#compare-bar .compare-close:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Accessible focus ring (gold hint, matches brand) */
#compare-bar .compare-btn:focus-visible,
#compare-bar .compare-close:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.45) !important;
  outline-offset: 2px !important;
}

/* Slightly more breathing room above bottom nav on small phones */
@media (max-width: 420px) {
  #compare-bar {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Desktop polish */
@media (min-width: 900px) {
  #compare-bar {
    max-width: 380px !important;
    padding: 10px 14px !important;
  }

  #compare-bar .compare-btn {
    padding: 8px 14px !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  #compare-bar .compare-btn,
  #compare-bar .compare-close {
    transition: none !important;
  }
}


/* ==================================================
   PATCH v4: Badge naik sedikit + judul kembali 1 baris (tanpa wrap paksa)
   - Tidak ubah struktur HTML/ID
   ================================================== */

/* Kembalikan header card agar tidak memaksa title turun ke baris baru */
.agency-card .card-header {
  flex-wrap: nowrap !important;
  align-items: center !important;
  padding-top: 0 !important;
  /* override patch lama yg menurunkan title */
}

/* Sisakan ruang untuk badge tanpa bikin title jadi 2 baris (pakai ellipsis) */
.agency-card .card-header>div {
  padding-right: 132px !important;
  /* ruang badge standar */
  min-width: 0 !important;
}

.agency-card.premium .card-header>div {
  padding-right: 176px !important;
  /* ruang badge premium (lebih panjang) */
}

/* Judul travel: 1 baris + ellipsis (format rapi seperti awal) */
.agency-card .card-header .card-title-row h4 {
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Location juga jangan nyerobot badge */
.agency-card .card-header .card-location {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Naikkan semua badge sedikit */
.agency-card .badge-premium-verified,
.agency-card .badge-verified-basic,
.agency-card .badge-not-verified,
.agency-card .badge-verified,
.agency-card .status-badge,
.agency-card .badge-verified-inline {
  top: 8px !important;
  right: 12px !important;
}

/* Premium sedikit lebih naik lagi */
.agency-card .badge-premium-verified {
  top: 6px !important;
}


/* ==================================================
   PATCH v5 (2026-01-02): Fix judul hilang/terpotong + tambah ruang atas header
   Target: .agency-card list view
   - Tidak mengubah struktur HTML/JS
   ================================================== */

/* 1) Kembalikan padding & layout header agar judul selalu terlihat */
.agency-card .card-header {
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  padding-top: 30px !important;
  /* naikin area atas supaya badge â€œbernafasâ€ */
  padding-right: 20px !important;
  /* reset override lama yang bikin judul kepotong */
}

/* 2) Pastikan wrapper teks (div setelah logo) bisa mengecil & punya ruang untuk badge */
.agency-card .card-header>div {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-right: 150px !important;
  /* ruang badge verified/unverified */
}

.agency-card.premium .card-header>div {
  padding-right: 176px !important;
  /* ruang badge premium (lebih panjang) */
}

/* Mobile: sedikit lebih hemat */
@media (max-width: 520px) {
  .agency-card .card-header {
    padding-top: 28px !important;
  }

  .agency-card .card-header>div {
    padding-right: 138px !important;
  }

  .agency-card.premium .card-header>div {
    padding-right: 162px !important;
  }
}

/* 3) Judul travel: 1 baris (seperti format awal), tidak wrap ke baris baru */
.agency-card .card-header .card-title-row h4 {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  line-height: 1.22 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* 4) Lokasi juga aman (tidak nabrak badge) */
.agency-card .card-header .card-location {
  display: block !important;
  margin-top: 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 5) Badge: naik sedikit (lebih dekat ke top), tapi tetap ada jarak dengan judul */
.agency-card .badge-premium-verified,
.agency-card .badge-verified-basic,
.agency-card .badge-not-verified,
.agency-card .badge-verified,
.agency-card .status-badge,
.agency-card .badge-verified-inline {
  top: 12px !important;
  right: 12px !important;
}

.agency-card.premium .badge-premium-verified,
.agency-card.premium .badge-verified-inline {
  top: 10px !important;
}

/* ==================================================
   PATCH v5.1: micro-tuning posisi badge (naik sedikit)
   ================================================== */
.agency-card .badge-premium-verified,
.agency-card .badge-verified-basic,
.agency-card .badge-not-verified,
.agency-card .badge-verified,
.agency-card .status-badge,
.agency-card .badge-verified-inline {
  top: 10px !important;
}

.agency-card.premium .badge-premium-verified,
.agency-card.premium .badge-verified-inline {
  top: 8px !important;
}



/* ==================================================
   v6.0 â€“ Badge rail fix (no truncation, badges higher)
   - Restore full title width (remove right-padding hacks)
   - Push header content down to avoid badge collision
   - Raise badges slightly for more breathing room
   ================================================== */

/* Header: give vertical room for the absolute badge above */
.agency-card .card-header {
  padding-top: 58px !important;
  /* room for badge */
  padding-right: 20px !important;
  /* restore default (prevents ultra-short titles) */
  flex-wrap: nowrap !important;
  align-items: center !important;
}

/* Premium badge tends to be wider; give a touch more headroom */
.agency-card.premium .card-header {
  padding-top: 60px !important;
}

/* Remove prior reserved-right-space hacks that shrink the title area */
.agency-card .card-header>div {
  padding-right: 0 !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

/* Raise and align all badge variants */
.badge-premium,
.badge-verified-basic,
.badge-not-verified,
.badge-verified-inline,
.status-badge,
.badge-verified {
  top: 8px !important;
  right: 12px !important;
}

/* Premium a hair closer to the top border */
.badge-premium {
  top: 7px !important;
}

/* Title: keep 1-line ellipsis, but allow full width */
.agency-card .card-header .card-title-row h4 {
  max-width: 100% !important;
}

/* Safety: undo earlier global flex/order forcing (keeps layouts stable elsewhere) */
.agency-name,
.agency-title,
.card-title,
.agency-header h3 {
  flex: 0 1 auto !important;
  order: 0 !important;
  margin-top: 0 !important;
}

/* ==================================================
   v6.2 â€“ FIX: Premium title kepotong (3 huruf)
   Root cause: ada rule lama .agency-card.premium .card-header > div { padding-right: 176px !important; }
   Solusi: nolkan reserved-right-space untuk PREMIUM juga, dan pakai padding-top header sebagai â€œbadge railâ€.
   (Tidak mengubah struktur HTML/JS)
   ================================================== */

/* Beri sedikit ekstra ruang atas agar badge â€œbernafasâ€ */
.agency-card .card-header {
  padding-top: 62px !important;
}

.agency-card.premium .card-header {
  padding-top: 64px !important;
}

/* HAPUS reserved-right-space khusus PREMIUM (yang bikin judul jadi super pendek) */
.agency-card .card-header>div,
.agency-card.premium .card-header>div {
  padding-right: 0 !important;
}

/* Mobile: tetap 0 juga (override patch lama di media query) */
@media (max-width: 520px) {

  .agency-card .card-header>div,
  .agency-card.premium .card-header>div {
    padding-right: 0 !important;
  }
}

/* ==================================================
   v6.3 â€“ MOBILE FIX: Premium title kepotong
   Tujuan: jangan â€œreserveâ€ lebar untuk badge di mobile; badge floating di atas saja.
   (Tanpa ubah struktur/HTML/JS)
   ================================================== */
@media (max-width: 520px) {

  /* Pastikan header tidak menyempit di premium */
  .agency-card.premium .card-header {
    padding-right: 20px !important;
  }

  /* Pastikan area teks benar-benar punya space penuh */
  .agency-card.premium .card-header>div {
    padding-right: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .agency-card.premium .card-header .card-title-row,
  .agency-card.premium .card-header .card-title-row h4 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Optional: badge sedikit lebih ramping di mobile agar tidak dominan */
  .agency-card .badge-premium-verified {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   PATCH v39
   - Compare bar: lebih modern & premium (glass + tombol rapi)
   ========================================================= */

#compare-bar {
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(15, 76, 58, .14) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .14) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  padding: 8px 10px !important;
  gap: 10px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#compare-bar .compare-info {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#compare-bar .compare-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 30px !important;
  min-width: 48px !important;
  padding: 0 10px !important;

  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: .2px !important;

  color: var(--primary) !important;
  background: rgba(15, 76, 58, .08) !important;
  border: 1px solid rgba(15, 76, 58, .16) !important;
}

#compare-bar .compare-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#compare-bar .btn-compare-main {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .2px !important;

  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: 0 10px 20px rgba(15, 76, 58, .18) !important;
}

#compare-bar .btn-compare-main:hover {
  transform: translateY(-1px) !important;
}

#compare-bar .btn-compare-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;

  background: rgba(15, 76, 58, .06) !important;
  border: 1px solid rgba(15, 76, 58, .14) !important;
  color: var(--primary) !important;

  box-shadow: 0 8px 16px rgba(0, 0, 0, .10) !important;
}

#compare-bar .btn-compare-close:hover {
  background: rgba(15, 76, 58, .10) !important;
  transform: translateY(-1px) !important;
}

/* mobile: sedikit lebih ramping */
@media (max-width: 520px) {
  #compare-bar {
    width: min(330px, calc(100% - 16px)) !important;
  }

  #compare-bar .compare-count {
    height: 28px !important;
    font-size: 12px !important;
  }

  #compare-bar .btn-compare-main {
    height: 32px !important;
    font-size: 12px !important;
  }

  #compare-bar .btn-compare-close {
    width: 32px !important;
    height: 32px !important;
  }
}



/* =========================================================
   PATCH v6.5.1 â€” Compare Bar Premium Skin (Desktop + Mobile)
   - Styles BOTH markup versions:
     (A) legacy: .compare-bar-left/.compare-bar-count/.compare-bar-btn/.compare-bar-close
     (B) new:    .compare-info/.compare-count/.btn-compare-main/.btn-compare-close
   - Tidak mengubah struktur HTML/JS dan TIDAK memaksa display (JS tetap kontrol show/hide)
   ========================================================= */

#compare-bar.compare-bar {
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  border: 1px solid rgba(15, 76, 58, .16) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .14) !important;
  border-radius: 999px !important;

  padding: 8px 10px !important;
  gap: 10px !important;
  min-height: 46px !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;

  /* layout helpers (safe even if display is controlled elsewhere) */
  align-items: center !important;
  justify-content: center !important;
}

/* Left / count group */
#compare-bar .compare-info,
#compare-bar .compare-bar-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Count pill */
#compare-bar .compare-count,
#compare-bar .compare-bar-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 7px 12px !important;
  border-radius: 999px !important;

  background: rgba(15, 76, 58, .10) !important;
  border: 1px solid rgba(15, 76, 58, .18) !important;
  color: var(--primary) !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .2px !important;
}

/* Hide legacy label if any */
#compare-bar .compare-bar-label {
  display: none !important;
}

/* Actions group */
#compare-bar .compare-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Main button (Compare/Bandingkan) */
#compare-bar .btn-compare-main,
#compare-bar .compare-bar-btn {
  appearance: none !important;
  border: 1px solid rgba(0, 0, 0, .06) !important;
  background: var(--primary) !important;
  color: #fff !important;

  border-radius: 999px !important;
  padding: 9px 14px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1.05 !important;

  box-shadow: 0 10px 22px rgba(15, 76, 58, .22) !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease !important;
  white-space: nowrap !important;
}

#compare-bar .btn-compare-main:hover,
#compare-bar .compare-bar-btn:hover {
  filter: brightness(1.02) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(15, 76, 58, .26) !important;
}

#compare-bar .btn-compare-main:active,
#compare-bar .compare-bar-btn:active {
  transform: translateY(0) !important;
}

/* Close button */
#compare-bar .btn-compare-close,
#compare-bar .compare-bar-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(255, 255, 255, .85) !important;
  border: 1px solid rgba(15, 76, 58, .16) !important;
  color: var(--primary) !important;

  box-shadow: 0 8px 18px rgba(0, 0, 0, .10) !important;
  transition: transform .15s ease, filter .15s ease !important;

  font-size: 18px !important;
  line-height: 1 !important;
}

#compare-bar .btn-compare-close:hover,
#compare-bar .compare-bar-close:hover {
  filter: brightness(1.02) !important;
  transform: translateY(-1px) !important;
}

#compare-bar .btn-compare-close:active,
#compare-bar .compare-bar-close:active {
  transform: translateY(0) !important;
}

/* Mobile fine-tuning: slightly slimmer */
@media (max-width: 520px) {
  #compare-bar.compare-bar {
    padding: 7px 9px !important;
    gap: 9px !important;
    min-height: 44px !important;
  }

  #compare-bar .compare-count,
  #compare-bar .compare-bar-count {
    padding: 6px 11px !important;
    font-size: 12px !important;
  }

  #compare-bar .btn-compare-main,
  #compare-bar .compare-bar-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }

  #compare-bar .btn-compare-close,
  #compare-bar .compare-bar-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
  }
}



/* =========================================================
   LOGO CARD: Squircle / App-icon frame (anti-crop)
   - Replaces circular mask that cropped many logos
   - Keeps soft geometry matching card corners
   ========================================================= */
.agency-card .card-header .card-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  /* squircle-ish */
  padding: 7px;
  /* internal breathing room */
  box-sizing: border-box;
  object-fit: contain;
  /* show full logo */
  object-position: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .98), rgba(241, 245, 249, .92));
  border: 1px solid rgba(15, 76, 58, .14);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

/* Premium gets a warmer ring */
.agency-card.premium .card-header .card-logo {
  border-color: rgba(212, 175, 55, .35);
  box-shadow: 0 12px 26px rgba(212, 175, 55, .12), 0 10px 22px rgba(0, 0, 0, .06);
}

/* Mobile: slightly smaller so header stays airy */
@media (max-width: 520px) {
  .agency-card .card-header .card-logo {
    width: 52px;
    height: 52px;
    padding: 6px;
    border-radius: 16px;
  }
}



/* ==========================================================
   FINAL TOUCH â€” LOGO FRAME POLISH (no markup/JS changes)
   Keeps full logo visible while making it feel â€œapp-iconâ€ premium
   ========================================================== */
.agency-card .card-header .card-logo {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 250, 252, .98) 100%);
  border: 1px solid rgba(15, 76, 58, .10);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    0 10px 22px rgba(0, 0, 0, .05);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.agency-card.verified:not(.premium) .card-header .card-logo {
  border-color: rgba(15, 76, 58, .22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    0 12px 24px rgba(15, 76, 58, .08),
    0 10px 22px rgba(0, 0, 0, .05);
}

.agency-card.premium .card-header .card-logo {
  background: radial-gradient(120% 120% at 20% 20%,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 250, 234, .98) 38%,
      rgba(248, 250, 252, .98) 100%);
  border-color: rgba(212, 175, 55, .40);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .82),
    0 14px 30px rgba(212, 175, 55, .14),
    0 12px 26px rgba(0, 0, 0, .06);
}

/* Unverified frame: slightly cooler neutral */
.agency-card:not(.premium):not(.verified) .card-header .card-logo {
  border-color: rgba(148, 163, 184, .30);
}

/* Tiny hover polish (desktop) */
@media (hover:hover) and (pointer:fine) {
  .agency-card:hover .card-header .card-logo {
    transform: translateY(-1px);
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .82),
      0 16px 34px rgba(0, 0, 0, .08);
  }
}



/* =========================================================
   MICRO-TOUCH FINAL: PREMIUM HOVER + DETAIL LOGO SQUIRCLE
   - Safe overrides only (no DOM/structure changes)
   ========================================================= */

/* 1) Premium card hover glow refined (desktop hover only) */
@media (hover:hover) {
  .agency-card.premium:hover {
    border-color: rgba(212, 175, 55, .95) !important;
    box-shadow:
      0 20px 55px rgba(212, 175, 55, .16),
      0 14px 40px rgba(0, 0, 0, .10) !important;
    transform: translateY(-5px) !important;
  }
}

/* 2) Badge shadows a bit cleaner (all) */
.badge-verified-inline {
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08) !important;
}

.badge-not-verified {
  box-shadow: 0 10px 22px rgba(0, 0, 0, .05) !important;
}

/* 3) DETAIL/MODAL LOGO: use squircle with padding (show full logo) */
#agencyModal .modal-profile-img {
  width: clamp(80px, 15vw, 100px) !important;
  height: clamp(80px, 15vw, 100px) !important;
  border-radius: 22px !important;
  /* squircle */
  padding: 10px !important;
  /* internal breathing room */
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 30% 25%,
      rgba(255, 255, 255, .98),
      rgba(241, 245, 249, .92)) !important;
  border: 4px solid rgba(255, 255, 255, .96) !important;
  box-shadow:
    inset 0 0 0 1px rgba(15, 76, 58, .10),
    0 18px 44px rgba(0, 0, 0, .12) !important;
}

/* Ensure modal logo image uses contain and fills the squircle area */
#agencyModal .modal-profile-img #m-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px !important;
  /* soften inside edges */
}

/* Slightly tighter on very small screens */
@media (max-width: 420px) {
  #agencyModal .modal-profile-img {
    padding: 9px !important;
    border-radius: 20px !important;
  }

  #agencyModal .modal-profile-img #m-logo {
    border-radius: 12px !important;
  }
}

/* =======================================================
   FINALIZE: DETAIL MODAL HEADER (DESKTOP + MOBILE POLISH)
   - No structural changes; CSS-only overrides.
   ======================================================= */

@media (min-width: 769px) {

  /* Header bar feels premium (soft gradient + taller for logo overlap) */
  #agencyModal .modal-header-bg {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    height: 150px !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  /* Header name is for mobile; keep desktop clean */
  #agencyModal #m-header-name {
    display: none !important;
  }

  /* Close button: squircle, higher contrast */
  #agencyModal .modal-header-bg .close-modal {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: var(--primary-dark) !important;
    font-size: 26px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
  }

  #agencyModal .modal-header-bg .close-modal:hover {
    transform: translateY(-1px) rotate(6deg) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18) !important;
    background: #fff !important;
  }

  /* Logo: squircle app-icon frame (fix wrong selector from earlier patch) */
  #agencyModal #m-logo.modal-profile-img {
    position: absolute !important;
    left: 24px !important;
    bottom: -36px !important;
    /* overlap into white area */
    width: 88px !important;
    height: 88px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 10px !important;
    object-fit: contain !important;
    object-position: center !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14) !important;
  }

  /* Give the body a touch more top breathing room under the overlapped logo */
  #agencyModal .modal-body {
    padding-top: 48px !important;
  }

  /* Align title block to the right of the logo */
  #agencyModal .modal-title-row {
    padding-left: 124px !important;
    margin-top: 6px !important;
    margin-bottom: 18px !important;
  }

  #agencyModal .modal-title-row .title-flex {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  #agencyModal .modal-title-row h2 {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }

  #agencyModal .modal-title-row .badge-verified-inline {
    margin-top: 2px !important;
  }

  #agencyModal .modal-badges {
    margin-top: 12px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  #agencyModal .rating-row {
    gap: 10px !important;
    margin-top: 4px !important;
  }
}

/* Mobile: keep the new header, just refine the logo frame a touch */
@media (max-width: 768px) {
  #agencyModal #m-logo.modal-profile-img {
    border-radius: 18px !important;
    padding: 9px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
}


/* =======================================================
   FINAL POLISH: DETAIL HEADER (MICRO-TOUCH) - v7.0
   - Premium badge slightly smaller & cleaner
   - Detail logo sits a tad lower (more attached to header)
   - Action buttons wrap into neat 2x2 grid on mobile
   ======================================================= */

/* 1) Premium badge: a touch smaller + cleaner shadow (detail modal only) */
#agencyModal .badge-verified-inline.badge-premium-verified {
  font-size: 10px !important;
  padding: 6px 14px !important;
  letter-spacing: .1px !important;
  gap: 10px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .10) !important;
}

#agencyModal .badge-verified-inline.badge-premium-verified .mini-verified {
  transform: scale(.92) !important;
}

/* 2) Detail logo: move down ~3px (keep the overlap feel but less floaty) */
#agencyModal .modal-profile-img {
  bottom: calc(clamp(-35px, -6vw, -50px) - 3px) !important;
}

/* 3) Action buttons: consistent premium grid on small screens */
@media (max-width: 520px) {
  #agencyModal .action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  #agencyModal .action-buttons .btn-action-modal {
    flex: 1 1 calc(50% - 10px) !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
  }

  #agencyModal .action-buttons .btn-action-modal i {
    margin-right: 8px !important;
  }
}

/* Optional: slightly tighter top bar for more above-the-fold content */
@media (max-width: 768px) {
  #agencyModal .modal-header-bg {
    height: 60px !important;
    min-height: 60px !important;
  }
}

@media (min-width: 769px) {

  /* More breathing room for the close (X) button on desktop */
  #agencyModal .modal-header-bg {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 20px 10px 20px !important;
  }

  #agencyModal .modal-header-bg .close-modal {
    top: 12px !important;
  }
}

/* =========================================================
   DETAIL MODAL (DESKTOP) â€” FILL LEFT SPACE UNDER LOGO
   - Allows content to wrap under the floating logo after a
     short height, removing the â€œdeadâ€ left gutter.
   - CSS-only, no HTML/JS changes.
   ========================================================= */
@media (min-width: 769px) {
  #agencyModal .modal-title-row {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  /* Spacer that behaves like the logo's footprint (wrap trick) */
  #agencyModal .modal-title-row::before {
    content: "";
    float: left;
    width: 104px;
    /* logo width + breathing room */
    height: 56px;
    /* only reserve space near the top */
    margin-right: 16px;
  }

  #agencyModal .modal-title-row::after {
    content: "";
    display: block;
    clear: both;
  }

  #agencyModal .modal-title-row .mt-left {
    max-width: none !important;
  }

  #agencyModal .modal-title-row .title-flex {
    justify-content: space-between !important;
    align-items: flex-start !important;
  }

  #agencyModal .modal-title-row .rating-row,
  #agencyModal .modal-title-row .modal-badges {
    justify-content: flex-start !important;
  }
}



/* ============================================================
   DETAIL HEADER (DESKTOP) â€” FILL LEFT SPACE UNDER LOGO (FINAL)
   - We already give the body enough top padding so text starts
     below the logo overlap; therefore we REMOVE the wrap spacer.
   ============================================================ */
@media (min-width: 769px) {

  /* ensure content starts below the logo overlap */
  #agencyModal .modal-body {
    padding-top: 56px !important;
    /* was 48px; gives cleaner breathing room */
  }

  /* remove any leftover left-offset / spacer */
  #agencyModal .modal-title-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  #agencyModal .modal-title-row::before,
  #agencyModal .modal-title-row::after {
    content: none !important;
    float: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    clear: none !important;
  }

  /* keep layout left-aligned and tight */
  #agencyModal .modal-title-row .title-flex {
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  #agencyModal .modal-title-row .rating-row,
  #agencyModal .modal-title-row .modal-badges {
    justify-content: flex-start !important;
  }
}


/* =========================================================
   DETAIL MODAL â€” PREMIUM CLOSE BUTTON (DESKTOP)
   Keeps mobile behavior intact.
   ========================================================= */
@media (min-width: 769px) {
  #agencyModal .modal-header-bg .close-modal {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;

    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;

    border-radius: 14px !important;
    /* squircle-ish */
    background: rgba(255, 255, 255, .92) !important;
    color: var(--primary) !important;

    border: 1px solid rgba(15, 76, 58, .14) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14) !important;
    backdrop-filter: blur(8px) !important;

    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    cursor: pointer !important;

    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, opacity .16s ease !important;
  }

  #agencyModal .modal-header-bg .close-modal:hover {
    background: rgba(255, 255, 255, .98) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
  }

  #agencyModal .modal-header-bg .close-modal:active {
    transform: translateY(0) scale(.98) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14) !important;
  }

  #agencyModal .modal-header-bg .close-modal:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .28), 0 12px 26px rgba(0, 0, 0, .16) !important;
  }
}



/* =========================================================
   PATCH v7.5 â€” Fix tooltip badge terpotong di Detail Modal
   Penyebab: #agencyModal .modal-body memakai overflow-y:auto,
   jadi tooltip yang muncul ke ATAS akan ter-clip di batas atas.
   Solusi: khusus badge tooltip di detail modal, tampilkan ke BAWAH.
   ========================================================= */
#agencyModal .badge-verified-inline.has-tooltip::after {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translate3d(-50%, -8px, 0);
}

#agencyModal .badge-verified-inline.has-tooltip::before {
  top: calc(100% + 2px);
  bottom: auto;
  transform: translate3d(-50%, -8px, 0);
  border-top: none;
  border-bottom: 8px solid rgba(17, 24, 39, 0.92);
}

/* Bonus: di modal, biarkan tooltip sedikit lebih lebar agar teks ID tidak terasa mepet */
#agencyModal .badge-verified-inline.has-tooltip::after {
  max-width: 260px;
}


/* =========================================================
   USER AUTH + DASHBOARD (LOCAL DEMO)
   ========================================================= */
.auth-card {
  max-width: 820px;
  margin: 0 auto
}

.auth-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, .04);
  padding: 6px;
  border-radius: 999px;
  margin: 18px 0 14px
}

.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition)
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

.auth-msg {
  display: none;
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 13px;
}

.auth-msg:empty {
  display: none !important;
}

.auth-msg.show {
  display: block
}

.auth-msg.success {
  background: rgba(15, 76, 58, .08);
  border: 1px solid rgba(15, 76, 58, .18);
  color: var(--primary-dark)
}

.auth-msg.error {
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .18);
  color: #991b1b
}

.auth-panel {
  display: none
}

.auth-panel.active {
  display: block
}

.auth-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.5
}

.auth-footer {
  margin-top: 16px;
  text-align: center
}

.auth-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none
}

.auth-link:hover {
  text-decoration: underline
}

.dash-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px
}

.dash-title h2 {
  margin: 0
}

.dash-sub {
  margin: 6px 0 0;
  color: #6b7280;
  font-weight: 600
}

.dash-actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px
}

.dash-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05)
}

.dash-card__label {
  font-size: 0.8rem;
  color: #4b5563;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  display: flex;
  align-items: center
}

.dash-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em
}

.dash-card__hint {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  font-weight: 400
}

.dash-cta {
  margin-top: 16px
}

.dash-cta__card {
  background: #fff;
  border: 1px dashed rgba(212, 175, 55, .45);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06)
}

.dash-cta__title {
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px
}

.dash-cta__desc {
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5
}

@media (max-width:900px) {
  .dash-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:520px) {
  .dash-cards {
    grid-template-columns: 1fr
  }

  .dash-hero {
    flex-direction: column;
    align-items: stretch
  }
}

/* =========================================================
   USER ACCOUNT (AUTH + DASHBOARD) â€” polish pass
   ========================================================= */
.auth-help {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(44, 62, 80, .75)
}

/* auth-msg styling removed - using main definition at line ~4368 */

.auth-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(15, 76, 58, .08);
  border: 1px solid rgba(15, 76, 58, .14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06)
}

.auth-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(44, 62, 80, .72);
  cursor: pointer;
  transition: all .18s ease
}

.auth-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08)
}

.auth-panel[hidden] {
  display: none !important
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
  text-decoration: none
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 14px 30px rgba(15, 76, 58, .22)
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 76, 58, .26)
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(15, 76, 58, .22);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06)
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08)
}

.btn-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px
}

@media (max-width: 980px) {
  .dash-grid {
    grid-template-columns: 1fr
  }
}

.dash-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06)
}

.dash-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--primary)
}

.dash-number {
  font-size: 28px;
  font-weight: 950;
  color: var(--primary);
  line-height: 1
}

.dash-desc {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(44, 62, 80, .72)
}

.dash-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.dash-actions .btn-outline {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px
}


/* =========================================================
   USER ACCOUNT (AUTH + DASHBOARD) â€” PREMIUM POLISH
   Notes:
   - Scoped to #account-view / #register-view / #dashboard-view
   - Avoids interfering with legacy/global styles
   ========================================================= */

#account-view {
  padding: 0 12px
}

#account-view .section-title {
  margin-bottom: 10px
}

#account-view .section-subtitle {
  max-width: 720px
}

#register-view .auth-card,
#dashboard-view .auth-card {
  max-width: 820px;
  margin: 0 auto
}

#register-view .auth-card {
  padding: 28px 28px 22px
}

@media (max-width:640px) {
  #register-view .auth-card {
    padding: 18px 16px
  }
}

#register-view .auth-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 58, .12);
  background: rgba(15, 76, 58, .05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

#register-view .auth-tab {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  color: rgba(17, 24, 39, .75);
  background: transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}

#register-view .auth-tab:hover {
  transform: translateY(-1px);
  color: rgba(17, 24, 39, .92)
}

#register-view .auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 76, 58, .18);
}

#register-view .auth-form {
  margin-top: 18px
}

#register-view .form-group {
  margin-top: 14px
}

#register-view .form-hint {
  margin-top: 8px;
  color: rgba(17, 24, 39, .62);
  font-size: .92rem
}

#register-view input[type="text"],
#register-view input[type="email"],
#register-view input[type="tel"] {
  border-radius: 16px;
  height: 52px;
  font-size: 1rem;
  padding: 12px 16px;
}

#register-view .btn-primary {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow: 0 18px 40px rgba(212, 175, 55, .18);
}

#register-view .btn-outline {
  border-radius: 999px;
  height: 44px;
}

#dashboard-view .dashboard-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width:900px) {
  #dashboard-view .dashboard-wrap {
    grid-template-columns: 1fr
  }
}

#dashboard-view .dash-hero {
  border-radius: 22px;
  border: 1px solid rgba(15, 76, 58, .12);
  background: linear-gradient(180deg, rgba(15, 76, 58, .06), rgba(255, 255, 255, .96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  padding: 18px 16px;
}

#dashboard-view .dash-hero h3 {
  margin: 0 0 2px;
  font-size: 1.25rem
}

#dashboard-view .dash-hero .muted {
  color: rgba(17, 24, 39, .62)
}

#dashboard-view .dash-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px
}

#dashboard-view .dash-actions .btn-outline {
  border-radius: 999px;
  height: 40px;
  padding: 0 14px
}

#dashboard-view .dash-actions .btn-danger {
  border-radius: 999px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .06);
  color: #b91c1c;
  font-weight: 800;
}

#dashboard-view .dash-actions .btn-danger:hover {
  background: rgba(239, 68, 68, .10)
}

#dashboard-view .dash-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width:900px) {
  #dashboard-view .dash-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (max-width:560px) {
  #dashboard-view .dash-cards {
    grid-template-columns: 1fr
  }
}

#dashboard-view .dash-card {
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, .08);
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .06);
  padding: 14px 14px 12px;
}

#dashboard-view .dash-card h4 {
  margin: 0 0 8px;
  font-size: 1rem
}

#dashboard-view .dash-card .dash-metric {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1
}

#dashboard-view .dash-card .dash-desc {
  margin-top: 6px;
  color: rgba(17, 24, 39, .62);
  font-size: .92rem
}

#dashboard-view .dash-card .dash-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800
}



/* ===== Dashboard class-name alignment (existing markup) ===== */
#dashboard-view .dash-title {
  margin: 0 0 2px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary)
}

#dashboard-view .dash-sub {
  margin: 0;
  color: rgba(17, 24, 39, .62);
  font-size: .98rem
}

#dashboard-view .dash-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center
}

#dashboard-view .dash-card__value {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-top: 10px;
  letter-spacing: -0.02em
}

#dashboard-view .dash-card__hint {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5
}

#dashboard-view .dash-card .link {
  font-weight: 850
}

#dashboard-view .dash-cta {
  margin-top: 14px
}

#dashboard-view .dash-cta__card {
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: linear-gradient(180deg, rgba(212, 175, 55, .08), #fff);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
  padding: 16px;
}

#dashboard-view .dash-cta__card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem
}

#dashboard-view .dash-cta__card p {
  margin: 0;
  color: rgba(17, 24, 39, .62)
}

#dashboard-view .dash-cta__card .btn {
  margin-top: 12px;
  border-radius: 999px
}

/* ================================
   MEMBER AUTH (SCOPED) - PREMIUM
   Pastikan TIDAK mengganggu tombol search hero
   ================================ */
#account-view .auth-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

#account-view .auth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 76, 58, 0.10);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  padding: 28px 22px;
  backdrop-filter: blur(10px);
}

#account-view .auth-head {
  text-align: center;
  margin-bottom: 18px;
}

#account-view .auth-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: .2px;
}

#account-view .auth-head p {
  margin: 10px auto 0;
  max-width: 44ch;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.55;
}

#account-view .segmented {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 58, 0.12);
  background: rgba(15, 76, 58, 0.05);
  width: 220px;
  margin: 18px auto 18px;
}

#account-view .segmented button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.65);
}

#account-view .segmented button.active {
  background: var(--primary, #0F4C3A);
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 76, 58, 0.18);
}

#account-view .auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#account-view .btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

#account-view .btn-google:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
}

#account-view .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: .9rem;
}

#account-view .divider::before,
#account-view .divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(0, 0, 0, 0.10);
}

#account-view .field label {
  font-weight: 800;
  color: rgba(0, 0, 0, 0.75);
  display: block;
  margin-bottom: 8px;
}

#account-view .field input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}

#account-view .field input:focus {
  border-color: rgba(15, 76, 58, 0.35);
  box-shadow: 0 0 0 5px rgba(15, 76, 58, 0.10);
}

#account-view .btn-primary {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 16px;
  background: var(--primary, #0F4C3A);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(15, 76, 58, 0.20);
  transition: transform .18s ease, box-shadow .18s ease;
}

#account-view .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 76, 58, 0.25);
}

#account-view .auth-note {
  font-size: .9rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.45;
  margin-top: 6px;
}

#account-view .auth-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary, #0F4C3A);
}

#account-view .auth-link:hover {
  text-decoration: underline;
}

/* =========================================================
   FAVORITE BUTTON - HEART ICON ON TRAVEL CARDS
   ========================================================= */
.btn-fav {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  transform: none;
  z-index: 10;

  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fav i {
  font-size: 0.9rem;
  /* Smaller icon */
  color: #cbd5e1;
  transition: all 0.2s ease;
}

/* Hover state */
.btn-fav:hover {
  transform: scale(1.1);
  /* Scale in place */
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.btn-fav:hover i {
  color: #f43f5e;
}

/* Active/Favorited state */
.btn-fav.active {
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.btn-fav.active i {
  color: #f43f5e;
}

/* Heart pop animation when clicked */
.btn-fav.pop i {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.4);
  }

  60% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

/* Click ripple effect */
.btn-fav:active {
  transform: scale(0.95);
}

/* Mobile adjustments */
@media (max-width: 520px) {
  .btn-fav {
    width: 26px;
    height: 26px;
    top: 10px;
    left: 10px;
    /* First position on mobile */
    right: auto;
    transform: none;
  }

  .btn-fav i {
    font-size: 0.8rem;
  }
}

/* Ensure card has relative positioning for absolute button */
.agency-card {
  position: relative;
}

/* =========================================================
   FAVORITE TOAST NOTIFICATION
   ========================================================= */
.fav-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;

  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);

  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fav-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .fav-toast {
    bottom: 90px;
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

/* =========================================================
   DASHBOARD - FAVORITES SECTION
   ========================================================= */
.dash-section {
  margin-top: 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.dash-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-section__header h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.dash-section__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary, #0F4C3A);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(15, 76, 58, 0.06);
}

.dash-section__link:hover {
  background: rgba(15, 76, 58, 0.12);
  transform: translateX(2px);
}

/* Favorites List */
/* Favorites List - Grid Layout */
.dash-fav-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Ensure items don't have constraints from previous flex */
.dash-fav-list .dash-fav-item {
  width: auto;
  max-width: none;
}

/* ViewMore button full width */
.dash-fav-list .dash-fav-viewmore {
  grid-column: 1 / -1;
  width: 100%;
}

/* Favorite Item Card */
.dash-fav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dash-fav-item:hover {
  background: #f5f5f5;
  border-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dash-fav-item__logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.dash-fav-item__info {
  flex: 1;
  min-width: 0;
}

.dash-fav-item__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-fav-item__city {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-fav-item__city i {
  color: #94a3b8;
  font-size: 0.7rem;
}

.dash-fav-item__actions {
  display: flex;
  gap: 8px;
}

.dash-fav-item__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-fav-item__btn--view {
  background: var(--primary, #0F4C3A);
  color: #fff;
}

.dash-fav-item__btn--view:hover {
  background: #0d3f31;
  transform: scale(1.08);
}

.dash-fav-item__btn--remove {
  background: #fee2e2;
  color: #ef4444;
}

.dash-fav-item__btn--remove:hover {
  background: #fecaca;
  transform: scale(1.08);
}

/* Empty State */
.dash-fav-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
}

.dash-fav-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.dash-fav-empty p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hide empty state when there are items */
.dash-fav-list:has(.dash-fav-item) .dash-fav-empty {
  display: none;
}

@media (max-width: 992px) {
  .dash-fav-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .dash-section {
    padding: 16px;
    margin-top: 24px;
    border-radius: 12px;
  }

  .dash-fav-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dash-fav-item {
    padding: 14px;
  }

  .dash-fav-item__logo {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   DASHBOARD - INQUIRY HISTORY SECTION
   ========================================================= */
.dash-inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-inquiry-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.dash-inquiry-item:hover {
  background: #f5f5f5;
  border-color: #e0e0e0;
}

.dash-inquiry-item__left {
  position: relative;
  flex-shrink: 0;
}

.dash-inquiry-item__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
}

.dash-inquiry-item__status {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  border: 2px solid #fafafa;
}

.dash-inquiry-item__content {
  flex: 1;
  min-width: 0;
}

.dash-inquiry-item__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-inquiry-item__package {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-inquiry-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.dash-inquiry-item__meta i {
  margin-right: 3px;
}

.dash-inquiry-item__type {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.dash-inquiry-item__actions {
  flex-shrink: 0;
}

.dash-inquiry-item__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.dash-inquiry-item__btn:hover {
  background: #128C7E;
  transform: scale(1.08);
}

/* Empty State */
.dash-inquiry-empty {
  text-align: center;
  padding: 40px 24px;
  color: #94a3b8;
}

.dash-inquiry-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: #cbd5e1;
}

.dash-inquiry-empty p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Hide empty state when there are items */
.dash-inquiry-list:has(.dash-inquiry-item) .dash-inquiry-empty {
  display: none;
}

/* See all link */
.dash-inquiry-seeall {
  text-align: center;
  padding: 12px;
}

.dash-inquiry-seeall a {
  color: var(--primary, #0F4C3A);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.dash-inquiry-seeall a:hover {
  text-decoration: underline;
}

/* Multiple action buttons */
.dash-inquiry-item__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* WhatsApp button variant */
.dash-inquiry-item__btn--wa {
  background: #25D366;
}

.dash-inquiry-item__btn--wa:hover {
  background: #128C7E;
}

/* Delete button variant */
.dash-inquiry-item__btn--delete {
  background: #f1f5f9;
  color: #94a3b8;
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.dash-inquiry-item__btn--delete:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.08);
}

/* View More / Show Less Button */
.dash-inquiry-viewmore {
  text-align: center;
  padding: 16px 12px 8px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 8px;
}

.dash-inquiry-viewmore button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 6px;
  color: var(--primary, #0F4C3A);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.dash-inquiry-viewmore button:hover {
  background: var(--primary, #0F4C3A);
  color: #fff;
  border-color: var(--primary, #0F4C3A);
}

/* Favorites View More Button */
.dash-fav-viewmore {
  text-align: center;
  padding: 16px 12px 8px;
  grid-column: 1 / -1;
}

.dash-fav-viewmore button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 6px;
  color: var(--primary, #0F4C3A);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.dash-fav-viewmore button:hover {
  background: var(--primary, #0F4C3A);
  color: #fff;
  border-color: var(--primary, #0F4C3A);
}

/* Schedule View More Button */
.schedule-viewmore {
  text-align: center;
  padding: 16px 12px 8px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 8px;
}

.schedule-viewmore button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 6px;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.schedule-viewmore button:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

@media (max-width: 520px) {
  .dash-inquiry-item {
    padding: 12px;
    gap: 10px;
  }

  .dash-inquiry-item__logo {
    width: 38px;
    height: 38px;
  }

  .dash-inquiry-item__status {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  .dash-inquiry-item__btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =========================================================
   OTP AUTHENTICATION STYLES
   ========================================================= */

/* OTP Input Field */
.otp-input {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.otp-input:focus {
  border-color: var(--primary, #0F4C3A);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.1);
}

.otp-input::placeholder {
  color: #cbd5e1;
  letter-spacing: 0.3em;
}

/* OTP Header */
.otp-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
}

.otp-header p {
  margin: 0 0 4px 0;
  color: #64748b;
  font-size: 0.9rem;
}

.otp-header strong {
  font-size: 1.1rem;
  color: #0F4C3A;
  display: block;
}

.otp-header .btn-link {
  margin-top: 8px;
  font-size: 0.85rem;
}

/* OTP Timer */
.otp-timer {
  text-align: center;
  margin: 16px 0;
  font-size: 0.9rem;
  color: #64748b;
}

.otp-timer strong {
  color: var(--primary, #0F4C3A);
}

/* Button Link */
.btn-link {
  background: none;
  border: none;
  color: var(--primary, #0F4C3A);
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  padding: 0;
}

.btn-link:hover {
  color: #166534;
}

/* Auth Step Title */
.auth-step-title {
  text-align: center;
  color: #0F4C3A;
  margin: 0 0 20px 0;
  font-size: 1.1rem;
}

/* Hide inactive auth panels */
.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile OTP Adjustments */
@media (max-width: 520px) {
  .otp-input {
    font-size: 1.5rem;
    padding: 14px;
    letter-spacing: 0.4em;
  }

  .otp-header {
    padding: 12px;
  }
}

/* Form Divider - Section Header */
.form-divider {
  text-align: center;
  margin: 20px 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #e2e8f0;
}

.form-divider::before {
  left: 0;
}

.form-divider::after {
  right: 0;
}

/* Auth Form Select Styling */
.auth-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.auth-form select:focus {
  outline: none;
  border-color: var(--primary, #0F4C3A);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.auth-form select:hover {
  border-color: #cbd5e1;
}

/* ============================================
   PREMIUM TYPOGRAPHY ENHANCEMENTS
   ============================================ */

/* Auth Card Title - More Elegant */
.auth-card .section-header h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.auth-card .section-header p {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.7;
}

/* Auth Form Labels */
.auth-form label {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.01em;
}

/* Auth Step Title */
.auth-step-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* Mitra Section Title */
.mitra-card .section-header h2,
.mitra-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Premium Form Divider */
.form-divider {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Button Text - Modern */
.btn {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Hero Title Enhancement */
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Card Titles */
.agency-card h3 {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Feature Card Titles */
.feature-card h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Footer Headlines */
footer h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ==========================================
   CHECKLIST UMRAH STYLES
   ========================================== */

/* Progress bar inside dash-card */
.dash-card--checklist {
  cursor: pointer;
  transition: all 0.3s ease;
}

.dash-card--checklist:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 76, 58, 0.15);
}

.dash-card__progress {
  margin-top: 12px;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}

.dash-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Checklist Section Container */
#dashChecklistSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

#dashChecklistSection .dash-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

#dashChecklistSection .dash-section__header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

/* Checklist Progress Bar */
.checklist-progress-wrap {
  margin-bottom: 20px;
}

.checklist-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.checklist-progress-pct {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.checklist-progress-track {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.checklist-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0F4C3A);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}

/* Checklist Grid Container */
.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Individual Checklist Group Card */
.checklist-group {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e8edf2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checklist-group:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #d1d5db;
}

.checklist-group__title {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
  gap: 10px;
}

.checklist-group__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.checklist-group__count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.checklist-group__count.complete {
  background: #dcfce7;
  color: #16a34a;
}

/* Checklist Items */
.checklist-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  margin: 0 -8px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.checklist-item:hover {
  background: #f8fafc;
}

/* Hide native checkbox */
.checklist-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkmark circle */
.checklist-checkmark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.checklist-checkmark i {
  font-size: 0.65rem;
  color: transparent;
  transition: all 0.25s ease;
}

.checklist-item input[type="checkbox"]:checked~.checklist-checkmark {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.checklist-item input[type="checkbox"]:checked~.checklist-checkmark i {
  color: #fff;
}

.checklist-item__text {
  font-size: 0.88rem;
  color: #374151;
  flex: 1;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked~.checklist-item__text {
  color: #94a3b8;
  text-decoration: line-through;
}

/* Reset button styling */
.btn-text {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  color: #666;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-text:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-text i {
  font-size: 0.8rem;
}

/* Custom Checklist Add Row - Compact */
.checklist-add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e8edf2;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.checklist-add-row:hover,
.checklist-add-row:focus-within {
  opacity: 1;
}

.checklist-add-input {
  flex: 1;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.78rem;
  background: #fafbfc;
  transition: all 0.2s ease;
  min-width: 0;
}

.checklist-add-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(15, 76, 58, 0.06);
}

.checklist-add-input::placeholder {
  color: #b0b8c4;
  font-size: 0.76rem;
}

.checklist-add-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checklist-add-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.checklist-add-btn i {
  font-size: 0.6rem;
}

/* Custom Item Remove Button */
.checklist-item.custom-item {
  position: relative;
  padding-right: 36px;
}

.checklist-remove-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
}

.checklist-item.custom-item:hover .checklist-remove-btn {
  opacity: 1;
}

.checklist-remove-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* ==========================================
   CHECKLIST RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 992px) {
  .checklist-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
  }
}

/* ==========================================
   CHECKLIST RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
  .checklist-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checklist-group {
    padding: 16px;
  }

  .checklist-group__title {
    font-size: 0.9rem;
  }

  .checklist-item {
    padding: 8px 6px;
  }

  .checklist-item__text {
    font-size: 0.85rem;
  }

  #dashChecklistSection .dash-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  #dashChecklistSection .dash-section__header h3 {
    font-size: 1rem;
  }
}

/* ==========================================
   CHECKLIST RESPONSIVE - SMALL MOBILE
   ========================================== */
@media (max-width: 480px) {
  .checklist-group {
    padding: 14px;
    border-radius: 12px;
  }

  .checklist-checkmark {
    width: 22px;
    height: 22px;
  }

  .checklist-item__text {
    font-size: 0.83rem;
  }

  .btn-text {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Checklist Footnote — full-width across grid */
.checklist-footnote {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 14px;
  border: 1px solid #d1fae5;
}

.checklist-footnote__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.checklist-footnote__header i {
  color: #059669;
  font-size: 17px;
}

.checklist-footnote__header span {
  font-size: 15px;
  font-weight: 700;
  color: #065f46;
  letter-spacing: 0.02em;
}

.checklist-footnote__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-footnote__list li {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.7;
}

.checklist-footnote__list li strong {
  color: #065f46;
}

/* Mobile adjustments for footnote */
@media (max-width: 768px) {
  .checklist-footnote {
    padding: 14px 16px;
  }

  .checklist-footnote__header span {
    font-size: 12.5px;
  }

  .checklist-footnote__list li {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* ==========================================
   TARGET TABUNGAN STYLES
   ========================================== */

/* Card styling */
.dash-card--savings {
  cursor: pointer;
  transition: all 0.3s ease;
}

.dash-card--savings:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.15);
}

.dash-card__progress-bar--gold {
  background: linear-gradient(90deg, #C9A227, #E8C547);
}

/* Savings Section */
#dashSavingsSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

.savings-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.savings-card {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  align-items: center;
}

/* Circular Progress */
.savings-visual {
  flex-shrink: 0;
}

.savings-circle {
  position: relative;
  width: 150px;
  height: 150px;
}

.savings-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.savings-circle__bg {
  fill: none;
  stroke: #f0f0f0;
  stroke-width: 8;
}

.savings-circle__progress {
  fill: none;
  stroke: url(#savingsGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.6s ease;
}

.savings-circle__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.savings-circle__percent {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.savings-circle__label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}

/* Savings Info */
.savings-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.savings-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.savings-row label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.savings-input-group {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.savings-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.savings-currency {
  padding: 12px 14px;
  background: #f0f0f0;
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
}

.savings-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  outline: none;
}

.savings-input-group input::placeholder {
  color: #bbb;
  font-weight: 400;
}

/* Summary Stats */
.savings-summary {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.savings-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.savings-stat__label {
  font-size: 0.8rem;
  color: #888;
}

.savings-stat__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.savings-stat__value--highlight {
  color: #C9A227;
}

/* Tips */
.savings-tips {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #fcd34d;
}

.savings-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #92400e;
}

.savings-tip i {
  color: #f59e0b;
  font-size: 1.1rem;
}

/* ==========================================
   SAVINGS RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 768px) {
  .savings-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .savings-circle {
    width: 130px;
    height: 130px;
  }

  .savings-circle__percent {
    font-size: 1.5rem;
  }

  .savings-info {
    width: 100%;
  }

  .savings-summary {
    justify-content: center;
  }
}

/* ==========================================
   SAVINGS RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 480px) {
  .savings-card {
    padding: 20px;
  }

  .savings-circle {
    width: 110px;
    height: 110px;
  }

  .savings-circle__percent {
    font-size: 1.3rem;
  }

  .savings-input-group input {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  .savings-stat__value {
    font-size: 1rem;
  }
}

/* ==========================================
   JADWAL MENDATANG STYLES
   ========================================== */

#dashScheduleSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

.dash-section__badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.schedule-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-empty {
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  border: 2px dashed #e2e8f0;
}

.schedule-empty i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.schedule-empty p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-outline-sm {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-sm:hover {
  background: var(--primary);
  color: #fff;
}

/* Schedule Card */
.schedule-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.schedule-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Calendar Date Box */
.schedule-date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  padding: 10px 8px;
  color: #fff;
}

.schedule-date__day {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.schedule-date__month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.9;
}

.schedule-date__year {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Schedule Info */
.schedule-info {
  flex: 1;
  min-width: 0;
}

.schedule-info__travel {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-info__package {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-info__price {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* Schedule Action */
.schedule-action {
  flex-shrink: 0;
}

.schedule-action .btn-sm {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.schedule-action .btn-sm:hover {
  background: var(--primary-dark);
}

/* ==========================================
   SCHEDULE RESPONSIVE
   ========================================== */
@media (max-width: 600px) {
  .schedule-card {
    flex-wrap: wrap;
  }

  .schedule-date {
    width: 60px;
    padding: 8px 6px;
  }

  .schedule-date__day {
    font-size: 1.4rem;
  }

  .schedule-info {
    flex: 1;
    min-width: calc(100% - 90px);
  }

  .schedule-action {
    width: 100%;
    margin-top: 8px;
  }

  .schedule-action .btn-sm {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   REVIEW SAYA STYLES
   ========================================== */

#dashReviewSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

.dash-section__badge--gold {
  background: #fef3c7;
  color: #92400e;
}

.review-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-empty {
  background: #fffbeb;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  border: 2px dashed #fcd34d;
}

.review-empty i {
  font-size: 2.5rem;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-empty p {
  color: #92400e;
  font-size: 0.95rem;
  margin-bottom: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Review Card */
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.review-card__travel {
  flex: 1;
  min-width: 0;
}

.review-card__travel-name {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__travel-name a {
  color: inherit;
  text-decoration: none;
}

.review-card__travel-name a:hover {
  color: var(--primary);
}

.review-card__date {
  font-size: 0.8rem;
  color: #888;
}

.review-card__rating {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-card__stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-card__stars i.empty {
  color: #e5e7eb;
}

.review-card__score {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-left: 4px;
}

.review-card__text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-card__actions {
  display: flex;
  gap: 12px;
}

.review-card__action {
  font-size: 0.8rem;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.review-card__action:hover {
  color: var(--primary);
}

.review-card__action i {
  font-size: 0.9rem;
}

/* ==========================================
   REVIEW RESPONSIVE
   ========================================== */
@media (max-width: 600px) {
  .review-card {
    padding: 16px;
  }

  .review-card__header {
    flex-direction: column;
    gap: 8px;
  }

  .review-card__rating {
    align-self: flex-start;
  }

  .review-card__text {
    font-size: 0.88rem;
  }
}

/* ==========================================
   NOTIFICATION STYLES
   ========================================== */

.notif-wrapper {
  position: relative;
}

.notif-bell {
  position: relative;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-bell:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.notif-bell i {
  font-size: 1.1rem;
  color: #666;
}

.notif-bell:hover i {
  color: var(--primary);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* Notification Dropdown */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e8e8e8;
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.notif-dropdown.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-dropdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #f8f9fa;
}

.notif-dropdown__header span {
  font-weight: 600;
  color: var(--primary-dark);
}

.notif-clear {
  background: none;
  border: none;
  color: #888;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s;
}

.notif-clear:hover {
  color: #ef4444;
}

.notif-dropdown__list {
  max-height: 320px;
  overflow-y: auto;
}

.notif-empty {
  padding: 40px 20px;
  text-align: center;
}

.notif-empty i {
  font-size: 2rem;
  color: #ccc;
  margin-bottom: 12px;
}

.notif-empty p {
  color: #888;
  font-size: 0.9rem;
}

/* Notification Item */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
}

.notif-item:hover {
  background: #f8f9fa;
}

.notif-item.unread {
  background: #f0f9ff;
}

.notif-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.notif-item__icon--promo {
  background: #fef3c7;
  color: #f59e0b;
}

.notif-item__icon--price {
  background: #d1fae5;
  color: #10b981;
}

.notif-item__icon--info {
  background: #e0f2fe;
  color: #3b82f6;
}

.notif-item__content {
  flex: 1;
  min-width: 0;
}

.notif-item__title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-item__desc {
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-item__time {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 4px;
}

/* ==========================================
   NOTIFICATION RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
  .notif-dropdown {
    width: calc(100vw - 40px);
    right: -60px;
  }

  .notif-bell {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================
   RIWAYAT PENCARIAN STYLES
   ========================================== */

#dashSearchHistorySection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

.search-history-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-history-empty {
  width: 100%;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 2px dashed #e0e0e0;
}

.search-history-empty i {
  font-size: 2rem;
  color: #bbb;
  margin-bottom: 12px;
}

.search-history-empty p {
  color: #888;
  font-size: 0.9rem;
}

/* Search History Tag */
.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f0ff;
  border: 1px solid #e0e0f0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: #5b21b6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: #e0e0ff;
  border-color: #8b5cf6;
}

.search-tag__text {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-tag__time {
  font-size: 0.7rem;
  color: #aaa;
}

.search-tag__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  color: #888;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}

.search-tag__remove:hover {
  background: #ef4444;
  color: #fff;
}

/* ==========================================
   SEARCH HISTORY RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
  .search-tag {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .search-tag__text {
    max-width: 150px;
  }
}

/* ==========================================
   DOKUMEN TERSIMPAN STYLES
   ========================================== */

#dashDocumentsSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

/* Document Form */
.document-form {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.document-form input {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.document-form input:focus {
  border-color: var(--primary);
}

.document-form__actions {
  display: flex;
  gap: 10px;
}

.btn-sm.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-sm.btn-outline {
  background: #fff;
  color: #666;
  border: 1px solid #e0e0e0;
}

/* Documents Container */
.documents-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.documents-empty {
  background: #f0f9ff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 2px dashed #7dd3fc;
}

.documents-empty i {
  font-size: 2rem;
  color: #0891b2;
  margin-bottom: 12px;
}

.documents-empty p {
  color: #0e7490;
  font-size: 0.9rem;
}

/* Document Card */
.document-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}

.document-card:hover {
  border-color: #0891b2;
  box-shadow: 0 2px 10px rgba(8, 145, 178, 0.1);
}

.document-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.document-card__info {
  flex: 1;
  min-width: 0;
}

.document-card__title {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.document-card__url {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.document-card__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.document-card__btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.document-card__btn--open {
  background: #e0f2fe;
  color: #0284c7;
}

.document-card__btn--open:hover {
  background: #0284c7;
  color: #fff;
}

.document-card__btn--delete {
  background: #fee2e2;
  color: #dc2626;
}

.document-card__btn--delete:hover {
  background: #dc2626;
  color: #fff;
}

.document-card__btn--preview {
  background: #e0f2fe;
  color: #0891b2;
}

.document-card__btn--preview:hover {
  background: #0891b2;
  color: #fff;
}

/* Document Card Thumbnail */
.document-card__thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e0e7ef;
}

.document-card__thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}

.document-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.document-card__thumb i {
  font-size: 1.2rem;
  color: #0891b2;
}

.document-card__thumb--pdf {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #fecaca;
}

.document-card__thumb--pdf i {
  color: #dc2626;
  font-size: 1.5rem;
}

/* ==========================================
   DOCUMENTS RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
  .document-form {
    padding: 14px;
  }

  .document-card {
    padding: 12px;
  }

  .document-card__icon {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================
   CATATAN PRIBADI STYLES
   ========================================== */

#dashNotesSection {
  scroll-margin-top: 100px;
  margin-top: 30px;
}

/* Note Form */
.note-form {
  background: #fdf2f8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-form textarea {
  padding: 12px 14px;
  border: 1px solid #f9a8d4;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.note-form textarea:focus {
  border-color: #ec4899;
}

.note-form__actions {
  display: flex;
  gap: 10px;
}

/* Notes Container */
.notes-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notes-empty {
  background: #fdf2f8;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 2px dashed #f9a8d4;
}

.notes-empty i {
  font-size: 2rem;
  color: #ec4899;
  margin-bottom: 12px;
}

.notes-empty p {
  color: #be185d;
  font-size: 0.9rem;
}

/* Note Card */
.note-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #fce7f3;
  border-left: 4px solid #ec4899;
  position: relative;
  transition: all 0.2s ease;
}

.note-card:hover {
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.1);
}

.note-card__content {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.note-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #fce7f3;
}

.note-card__time {
  font-size: 0.75rem;
  color: #aaa;
}

.note-card__delete {
  background: none;
  border: none;
  color: #f9a8d4;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.note-card__delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* ==========================================
   NOTES RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
  .note-form {
    padding: 14px;
  }

  .note-card {
    padding: 14px;
  }
}

/* ==========================================
   EDIT PROFILE MODAL STYLES
   ========================================== */

/* Profile Card with Edit Button */
.dash-card--profile {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.dash-card--profile:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.edit-profile-btn {
  background: none;
  border: none;
  color: #6366f1;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
  vertical-align: middle;
}

.edit-profile-btn:hover {
  background: #6366f1;
  color: #fff;
}

.dash-card__extra {
  font-size: 0.8rem;
  color: #888;
  margin-top: 6px;
}

.dash-card__extra span {
  display: inline-block;
  margin-right: 12px;
}

.dash-card__extra i {
  margin-right: 4px;
  color: #aaa;
}

/* Edit Profile Modal */
.edit-profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.edit-profile-content {
  background: #fff;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edit-profile-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid #e8edf2;
  background: linear-gradient(135deg, #f8fdf9 0%, #f0f7f2 100%);
}

.edit-profile-modal .modal-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

.edit-profile-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s;
}

.edit-profile-modal .modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.edit-profile-modal .modal-body {
  padding: 28px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

/* Form Styles */
#editProfileForm .form-group {
  margin-bottom: 18px;
}

#editProfileForm label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#editProfileForm input,
#editProfileForm select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  outline: none;
  background: #fafbfc;
  color: #1e293b;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#editProfileForm input:focus,
#editProfileForm select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.08);
  background: #fff;
}

#editProfileForm .input-readonly {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

#editProfileForm .form-hint {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 5px;
  font-style: italic;
}

#editProfileForm .form-row {
  display: flex;
  gap: 14px;
}

#editProfileForm .form-row .form-group {
  flex: 1;
  min-width: 0;
}

#editProfileForm .form-divider {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 18px;
  padding: 10px 0;
  border-top: 1px solid #e8edf2;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

#editProfileForm .form-divider::before {
  content: '\f6be';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.7rem;
}

#editProfileForm .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e8edf2;
}

#editProfileForm .btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#editProfileForm .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #166d4f 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 76, 58, 0.25);
}

#editProfileForm .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(15, 76, 58, 0.35);
  transform: translateY(-1px);
}

#editProfileForm .btn-outline {
  background: #fff;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
}

#editProfileForm .btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}

/* Flatpickr Custom Theme Override for Edit Profile */
#editProfileForm .flatpickr-input {
  cursor: pointer;
}

.flatpickr-calendar {
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
  overflow: hidden;
}

.flatpickr-months {
  background: linear-gradient(135deg, var(--primary) 0%, #166d4f 100%) !important;
  border-radius: 14px 14px 0 0 !important;
  padding: 4px 0 !important;
}

.flatpickr-months .flatpickr-month {
  color: #fff !important;
  fill: #fff !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: #fff !important;
  color: #fff !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: rgba(255, 255, 255, 0.7) !important;
}

.flatpickr-current-month {
  color: #fff !important;
  font-weight: 600 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: transparent !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.flatpickr-current-month input.cur-year {
  color: #fff !important;
  font-weight: 600 !important;
}

span.flatpickr-weekday {
  color: var(--primary) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}

.flatpickr-day {
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.flatpickr-day:hover {
  background: rgba(15, 76, 58, 0.08) !important;
  border-color: transparent !important;
}

.flatpickr-day.today {
  border-color: var(--primary) !important;
}

/* ==========================================
   EDIT PROFILE RESPONSIVE
   ========================================== */
@media (max-width: 600px) {
  .edit-profile-modal {
    padding: 0;
    align-items: flex-end;
  }

  .edit-profile-content {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.3s ease;
  }

  @keyframes slideUpMobile {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .edit-profile-modal .modal-header {
    padding: 16px 20px;
  }

  .edit-profile-modal .modal-body {
    padding: 20px;
    max-height: calc(95vh - 70px);
  }

  #editProfileForm .form-row {
    flex-direction: column;
    gap: 0;
  }

  #editProfileForm .form-actions {
    flex-direction: column;
  }

  #editProfileForm .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   DATE CARD STYLES (Masehi & Hijri)
   ========================================== */

.dash-card--date {
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 50%, #e0f2fe 100%);
  border: 1px solid #99f6e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-card--date .dash-card__label {
  margin-bottom: 4px;
}

.date-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  flex: 1;
}

.date-masehi,
.date-hijri {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.date-masehi:hover,
.date-hijri:hover {
  transform: translateX(4px);
}

.date-masehi {
  background: linear-gradient(135deg, #fff 0%, #fef9c3 100%);
  color: #0f766e;
  border: 1px solid #fcd34d;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.date-masehi i {
  color: #f59e0b;
  font-size: 1.4rem;
  width: 28px;
  text-align: center;
}

.date-hijri {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0e7ff 100%);
  color: #1e40af;
  border: 1px solid #a5b4fc;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.date-hijri i {
  color: #6366f1;
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
}

.date-masehi span,
.date-hijri span {
  flex: 1;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 480px) {

  .date-masehi,
  .date-hijri {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .date-masehi i,
  .date-hijri i {
    font-size: 1.1rem;
    width: 24px;
  }
}

/* ==========================================
   SCHEDULE ITEM STYLES (Dashboard Jadwal)
   ========================================== */

.schedule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.schedule-item:hover {
  background: linear-gradient(135deg, #f0fdfa 0%, #f0f9ff 100%);
  border-color: #14b8a6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

.schedule-item__date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-radius: 6px;
  color: #0f4c3a;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 140px;
  justify-content: center;
}

.schedule-item__date i {
  color: #059669;
}

.schedule-item__info {
  flex: 1;
  min-width: 0;
}

.schedule-item__title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-item__agency {
  font-size: 0.85rem;
  color: #6b7280;
}

.schedule-item__arrow {
  color: #9ca3af;
  transition: all 0.2s ease;
}

.schedule-item:hover .schedule-item__arrow {
  color: #14b8a6;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .schedule-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .schedule-item__date {
    min-width: auto;
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .schedule-item__title {
    font-size: 0.88rem;
  }
}

/* ==========================================
   REVIEW MODAL & STAR RATING STYLES
   ========================================== */

/* Review Modal - MUST appear above travel detail modal */
.review-modal {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000 !important;
  /* Above agency modal which is typically 9999 */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.review-modal .modal-content,
.review-modal-content {
  background: #fff;
  max-width: 480px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.review-modal .modal-header {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
}

.review-modal .modal-header h3 {
  color: #92400e;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
}

.review-modal .modal-close {
  background: rgba(255, 255, 255, 0.6);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.review-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(90deg);
}

.review-modal .modal-body {
  padding: 24px;
}

/* Agency Info Badge */
.review-agency-info {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
  border: 1px solid #bbf7d0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.review-agency-info span {
  font-weight: 700;
  color: #0f4c3a;
  font-size: 1.1rem;
}

/* Star Rating Input - Premium Design */
.star-rating-input {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  margin-bottom: 8px;
}

.star-rating-input .star {
  cursor: pointer;
  font-size: 2.5rem;
  color: #e5e7eb;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.star-rating-input .star:hover,
.star-rating-input .star.hovered {
  color: #fbbf24;
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.star-rating-input .star.active i {
  font-weight: 900;
}

.star-rating-input .star.active {
  color: #f59e0b;
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Rating Hint */
.rating-hint {
  display: block;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 20px;
  font-weight: 500;
}

.rating-hint.selected {
  color: #f59e0b;
  font-weight: 600;
}

/* Review Form Textarea - Premium Style */
#reviewComment {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: all 0.2s ease;
  background: #fafafa;
}

#reviewComment:focus {
  outline: none;
  border-color: #f59e0b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

#reviewComment::placeholder {
  color: #9ca3af;
}

/* Form Actions */
.review-modal .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.review-modal .form-actions .btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.review-modal .form-actions .btn-outline {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  color: #6b7280;
}

.review-modal .form-actions .btn-outline:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.review-modal .form-actions .btn-primary {
  background: linear-gradient(135deg, #0f4c3a 0%, #166534 100%);
  border: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
}

.review-modal .form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 58, 0.4);
}

/* Form Group Labels */
.review-modal .form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

.review-modal .form-hint {
  display: block;
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* ==========================================
   REVIEW ITEM STYLES (Dashboard)
   ========================================== */

.review-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid #e8e8e8;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.review-item:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.review-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.review-item__agency {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.review-item__date {
  font-size: 0.8rem;
  color: #9ca3af;
}

.review-item__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.review-item__stars i {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-item__stars i.empty {
  color: #d1d5db;
}

.review-item__comment {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

.review-item__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.review-item__btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-item__btn--view {
  background: #f0fdf4;
  color: #0f4c3a;
}

.review-item__btn--view:hover {
  background: #dcfce7;
}

.review-item__btn--delete {
  background: #fef2f2;
  color: #dc2626;
}

.review-item__btn--delete:hover {
  background: #fee2e2;
}

/* Responsive */
@media (max-width: 480px) {
  .review-modal .modal-content {
    margin: 10px;
    max-height: 95vh;
  }

  .star-rating-input .star {
    font-size: 1.6rem;
  }

  .review-item {
    padding: 14px;
  }
}

/* Review Modal Mobile Specific */
@media (max-width: 480px) {
  .review-modal {
    padding: 0;
    align-items: flex-end;
  }

  .review-modal .modal-content,
  .review-modal-content {
    max-width: 100%;
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideFromBottom 0.3s ease;
  }

  @keyframes slideFromBottom {
    from {
      opacity: 0;
      transform: translateY(100%);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .review-modal .modal-header {
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .review-modal .modal-header h3 {
    font-size: 1.05rem;
  }

  .review-modal .modal-body {
    padding: 20px;
  }

  .star-rating-input {
    gap: 8px;
  }

  .star-rating-input .star {
    font-size: 2.2rem;
  }

  .review-agency-info {
    padding: 12px 16px;
    margin-bottom: 20px;
  }

  .review-agency-info span {
    font-size: 1rem;
  }

  #reviewComment {
    min-height: 100px;
    padding: 14px 16px;
  }

  .review-modal .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .review-modal .form-actions .btn {
    width: 100%;
    padding: 16px 24px;
  }
}

/* Review Action Button */
.btn-action-modal.btn-review {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.btn-action-modal.btn-review:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ==========================================
   SAVINGS CARD STYLES (Target Tabungan)
   ========================================== */

.savings-container {
  padding: 0;
}

.savings-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde047;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.savings-visual {
  flex-shrink: 0;
}

.savings-circle {
  width: 120px;
  height: 120px;
  position: relative;
}

.savings-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.savings-circle__bg {
  fill: none;
  stroke: #fde68a;
  stroke-width: 8;
}

.savings-circle__progress {
  fill: none;
  stroke: #C9A227;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
}

.savings-circle__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.savings-circle__percent {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #92400e;
  line-height: 1;
}

.savings-circle__label {
  display: block;
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 500;
  margin-top: 2px;
}

.savings-info {
  flex: 1;
}

.savings-row {
  margin-bottom: 16px;
}

.savings-row:last-child {
  margin-bottom: 0;
}

.savings-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #78350f;
  margin-bottom: 6px;
}

.savings-input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #fde047;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.savings-input-group:focus-within {
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.savings-currency {
  padding: 12px 14px;
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  color: #713f12;
  font-weight: 700;
  font-size: 0.9rem;
}

.savings-input-group input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  background: transparent;
  outline: none;
}

.savings-input-group input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.savings-summary {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #fcd34d;
}

.savings-stat {
  text-align: center;
}

.savings-stat__label {
  display: block;
  font-size: 0.75rem;
  color: #a16207;
  font-weight: 500;
  margin-bottom: 4px;
}

.savings-stat__value {
  font-size: 1rem;
  font-weight: 700;
  color: #78350f;
}

.savings-stat__value--highlight {
  color: #C9A227;
  font-size: 1.1rem;
}

.savings-tips {
  margin-top: 16px;
}

.savings-tip {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.savings-tip i {
  color: #eab308;
  font-size: 1.1rem;
}

/* Mobile responsive for savings card */
@media (max-width: 600px) {
  .savings-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .savings-circle {
    width: 100px;
    height: 100px;
  }

  .savings-circle__percent {
    font-size: 1.5rem;
  }

  .savings-summary {
    justify-content: center;
  }
}

/* ==========================================
   SAVINGS SIMULATION STYLES
   ========================================== */

.savings-simulation {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde047;
  border-radius: 16px;
  margin-top: 20px;
  overflow: hidden;
}

.savings-simulation__header {
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #713f12;
  font-weight: 700;
  font-size: 1rem;
}

.savings-simulation__header i {
  font-size: 1.1rem;
}

.savings-simulation__body {
  padding: 20px;
}

.simulation-date-row {
  margin-bottom: 16px;
}

.simulation-date-row label {
  display: block;
  font-weight: 600;
  color: #78350f;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.simulation-date-inputs {
  display: flex;
  gap: 10px;
}

.simulation-date-inputs select {
  flex: 1;
  padding: 12px 14px;
  border: 2px solid #fde047;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.simulation-date-inputs select:focus {
  outline: none;
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.simulation-results {
  animation: fadeIn 0.3s ease;
}

.simulation-countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.simulation-countdown__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.simulation-countdown__text {
  display: flex;
  flex-direction: column;
}

.simulation-countdown__value {
  font-size: 2rem;
  font-weight: 800;
  color: #92400e;
  line-height: 1;
}

.simulation-countdown__label {
  font-size: 0.9rem;
  color: #b45309;
  font-weight: 500;
}

.simulation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.simulation-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.simulation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simulation-card--daily {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
}

.simulation-card--weekly {
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
  border-color: #c4b5fd;
}

.simulation-card--monthly {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
}

.simulation-card__label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.simulation-card--daily .simulation-card__label {
  color: #047857;
}

.simulation-card--weekly .simulation-card__label {
  color: #7c3aed;
}

.simulation-card--monthly .simulation-card__label {
  color: #1d4ed8;
}

.simulation-card__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.simulation-card--daily .simulation-card__value {
  color: #065f46;
}

.simulation-card--weekly .simulation-card__value {
  color: #6d28d9;
}

.simulation-card--monthly .simulation-card__value {
  color: #1e40af;
}

.simulation-note {
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulation-note i {
  font-size: 1rem;
}

.simulation-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  color: #a16207;
}

.simulation-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.simulation-empty p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .simulation-cards {
    grid-template-columns: 1fr;
  }

  .simulation-countdown__value {
    font-size: 1.6rem;
  }

  .savings-simulation__body {
    padding: 16px;
  }

  .simulation-card__value {
    font-size: 1.05rem;
  }
}

/* =========================================================
   DASHBOARD ENHANCEMENTS (Schedules, Reviews, Docs, Notes)
   ========================================================= */

/* Schedule Item Actions */
.schedule-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon-sm:hover {
  background: #f1f5f9;
  color: #ef4444;
}

/* Reviews Section */
.review-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.review-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.review-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-item__agency {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.review-item__date {
  font-size: 0.8rem;
  color: #94a3b8;
}

.review-item__rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.review-item__text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

/* Documents Section */
.documents-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  transition: all 0.2s;
}

.document-item:hover {
  border-color: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.document-item__icon {
  width: 40px;
  height: 40px;
  background: #ecfeff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0891b2;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.document-item__info {
  flex: 1;
  min-width: 0;
}

.document-item__title {
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.document-item__link {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: none;
}

.document-item__link:hover {
  color: #0891b2;
  text-decoration: underline;
}

/* Documents Empty State */
.documents-empty {
  grid-column: 1 / -1;
  width: 100%;
  background: #ecfeff;
  border: 2px dashed #99f6e4;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  color: #0891b2;
}

.documents-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.6;
}

.documents-empty p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Notes Section */
.notes-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Notes Empty State */
.notes-empty {
  grid-column: 1 / -1;
  width: 100%;
  background: #fdf2f8;
  border: 2px dashed #fbcfe8;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  color: #ec4899;
}

.notes-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.6;
}

.notes-empty p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.note-item {
  background: #fffdf5;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 16px;
  padding-bottom: 50px;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}

.note-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  border-color: #fcd34d;
}

.note-item__content {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-item__footer {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #fcd34d;
  padding-top: 8px;
}

.note-item__date {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Common Actions */
.item-actions {
  display: flex;
  gap: 8px;
}

/* Enhanced Delete Button */
.btn-delete-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #f43f5e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-delete-sm:hover {
  background: #f43f5e;
  color: #fff;
  border-color: #f43f5e;
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(244, 63, 94, 0.3);
}

/* Edit Button for Reviews */
.btn-edit-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #d97706;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-edit-sm:hover {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Audit trail for edited reviews */
.review-item__edited {
  font-size: 0.72rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-item__edited i {
  font-size: 0.65rem;
  color: #cbd5e1;
}

/* View More for Riwayat Umrah */
.history-viewmore {
  text-align: center;
  padding: 10px 0 4px;
}

.history-viewmore button {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.history-viewmore button:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0F4C3A;
}

/* Dashboard Add Form (Generic) */
.dash-add-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-add-form textarea,
.dash-add-form input[type="text"],
.dash-add-form input[type="url"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s;
  background: #f8fafc;
}

.dash-add-form textarea {
  min-height: 120px;
  resize: vertical;
}

.dash-add-form textarea:focus,
.dash-add-form input:focus {
  outline: none;
  border-color: #0F4C3A;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.1);
}

.dash-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.dash-form-actions button {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

/* Save Button */
.dash-form-actions button:first-child {
  background: #0F4C3A;
  color: #fff;
  border: none;
  min-width: 100px;
}

.dash-form-actions button:first-child:hover {
  background: #093126;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(15, 76, 58, 0.2);
}

/* Cancel Button */
.dash-form-actions button:last-child {
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.dash-form-actions button:last-child:hover {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

/* View More Buttons for New Sections */
.review-viewmore,
.doc-viewmore,
.note-viewmore {
  text-align: center;
  padding: 12px;
  grid-column: 1 / -1;
  /* For grid layouts */
  transition: all 0.2s;
  width: 100%;
}

.review-viewmore button,
.doc-viewmore button,
.note-viewmore button {
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 20px;
  color: #64748b;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.review-viewmore button:hover,
.doc-viewmore button:hover,
.note-viewmore button:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #475569;
}

/* Note Popup Modal */
.note-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.note-popup-overlay.show {
  opacity: 1;
}

.note-popup {
  background: #fff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.2s ease;
}

.note-popup-overlay.show .note-popup {
  transform: scale(1) translateY(0);
}

.note-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.note-popup__header h4 {
  margin: 0;
  font-size: 1rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-popup__close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: #78350f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.note-popup__close:hover {
  background: #fff;
  color: #f43f5e;
}

.note-popup__content {
  padding: 24px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  white-space: pre-wrap;
  max-height: 50vh;
  overflow-y: auto;
}

.note-popup__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.note-popup__date {
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

.note-popup__actions {
  display: flex;
  gap: 8px;
}

.note-popup__actions button {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.note-popup__actions button:hover {
  background: #f3f4f6;
}

.note-popup__actions button.btn-danger {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.note-popup__actions button.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

/* ========================================
   JASMINE CHAT - ANIMATED TYPING DOTS
   ======================================== */
.typing-indicator {
  font-style: italic;
  color: #666;
}

.typing-dots::after {
  content: '';
  animation: typingDots 1.4s infinite steps(4, end);
}

@keyframes typingDots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}

/* ==========================================
   SECTION VIEW ALL LINKS
   ========================================== */
.section-view-all {
  text-align: center;
  padding: 20px 0 10px;
  margin-top: 10px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 50px;
  color: #495057;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  border-color: #adb5bd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.view-all-link i {
  font-size: 0.9rem;
}

/* Gold variant for Premium */
.view-all-link--gold {
  background: linear-gradient(135deg, #FFF8E7, #FEF3C7);
  border-color: #F59E0B;
  color: #92400E;
}

.view-all-link--gold:hover {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-color: #D97706;
  color: #78350F;
}

/* Emerald Green variant for Verified */
.view-all-link--blue {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #10b981;
  color: #059669;
}

.view-all-link--blue:hover {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  border-color: #059669;
  color: #047857;
}

@media (max-width: 480px) {
  .view-all-link {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* ==========================================
   MOBILE HYBRID LAYOUT
   Premium: Carousel | Verified: Grid 2x2 | Other: Full-width
   ========================================== */

@media (max-width: 768px) {

  /* ============================================
     PREMIUM SECTION - Single Focus Carousel
     ============================================ */
  #top10-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 20px 0 30px;
    margin: 0 -15px;
    padding-left: calc(50% - 110px);
    /* Center first card */
    padding-right: calc(50% - 110px);
    /* Center last card */
    scrollbar-width: none;
  }

  /* Native App Polish - System Fonts & Smooth Scrolling */
  #top10-container-wrap,
  #verified-container-wrap,
  #other-agencies-container-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    -webkit-font-smoothing: antialiased !important;
  }

  /* Hide scrollbar but keep functionality */
  #top10-container::-webkit-scrollbar {
    display: none;
  }

  /* Premium Card - SINGLE FOCUS WITH POP-UP EFFECT */
  #top10-container .agency-card {
    flex: 0 0 240px !important;
    /* Wider card */
    min-width: 240px !important;
    max-width: 240px !important;
    height: 350px !important;
    /* Taller */
    min-height: 350px !important;
    max-height: 350px !important;
    scroll-snap-align: center;
    /* CENTER snap */

    /* VERTICAL CENTER STRUCTURE */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;

    /* MODERN READABLE TYPOGRAPHY */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;

    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    background: linear-gradient(145deg, #FFFEF8 0%, #FFF9E6 100%) !important;
    box-shadow: 0 6px 16px -4px rgba(201, 162, 39, 0.2), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    border-radius: 18px !important;
    overflow: visible !important;
    padding: 32px 24px 20px 24px !important;
    /* MUCH MORE padding */
    position: relative !important;

    /* Pop-up animation - GPU OPTIMIZED */
    will-change: transform, opacity !important;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out !important;
    opacity: 0.88 !important;
    transform: scale(0.94) translateZ(0) !important;
    /* GPU layer */
  }

  /* Active/Center Card (JS adds .premium-active) - FULL SIZE & BRIGHT */
  #top10-container .agency-card.premium-active,
  #top10-container .agency-card:hover,
  #top10-container .agency-card:focus {
    opacity: 1 !important;
    transform: scale(1.02) !important;
    /* Slightly larger for POP effect */
    box-shadow: 0 14px 36px -8px rgba(201, 162, 39, 0.4), 0 6px 16px rgba(0, 0, 0, 0.1) !important;
    z-index: 5 !important;
  }

  /* Premium Logo - LARGE, ROUNDED SQUARE */
  #top10-container .agency-card .card-logo {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    border-radius: 12px !important;
    /* Rounded square, elegant */
    object-fit: contain !important;
    /* FIT - prevent cropping */
    border: 2px solid #f0f0f0 !important;
    margin: 28px auto 10px auto !important;
    /* Top space for badge */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    padding: 4px !important;
    /* Extra padding for logo breathing room */
  }

  /* Premium Card Header - VERTICAL CENTER STACK */
  #top10-container .agency-card .card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Premium Name - CENTERED, BOLD */
  #top10-container .agency-card h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
    color: #1a1a1a !important;
    text-align: center !important;
    width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Premium Badge - TOP CENTER ABOVE LOGO - SHOW TEXT */
  #top10-container .agency-card .badge-verified-inline {
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;

    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;

    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #fff !important;
    border-radius: 6px !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    line-height: 1 !important;
    box-shadow:
      0 2px 6px rgba(217, 119, 6, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;

    width: auto !important;
    max-width: 150px !important;
    min-height: 28px !important;
    height: auto !important;
    z-index: 10 !important;
  }

  /* Hide ::before - crown icon already in HTML */
  #top10-container .agency-card .badge-verified-inline::before {
    content: none !important;
  }

  /* Make sure FontAwesome icons are visible */
  #top10-container .agency-card .badge-verified-inline i {
    font-size: 0.7rem !important;
  }

  /* Style the badge-text span for Premium text - MUST override parent font-size:0 */
  #top10-container .agency-card .badge-verified-inline .badge-text {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 0 !important;
    color: #fff !important;
  }

  /* GLOBAL badge-text styling for ALL containers */
  .badge-verified-inline .badge-text {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 0 !important;
    color: inherit !important;
  }

  /* Badge icons visible across all containers */
  .badge-verified-inline i {
    font-size: 0.7rem !important;
  }

  /* Keep ::after clear for tooltips */
  #top10-container .agency-card .badge-verified-inline::after {
    /* Tooltip system uses this, don't override */
  }

  /* Premium Card Body - VERTICAL STACK */
  #top10-container .agency-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Premium Rating Row - INLINE (No wrap) */
  #top10-container .agency-card .card-body>div:first-child {
    display: flex !important;
    flex-direction: row !important;
    /* Horizontal */
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    /* KEY: No wrapping */
    gap: 3px !important;
    font-size: 0.7rem !important;
    margin-bottom: 8px !important;
    visibility: visible !important;
    white-space: nowrap !important;
  }

  /* Premium Star Icons */
  #top10-container .agency-card .fa-star {
    font-size: 0.65rem !important;
    color: #FFD700 !important;
  }

  /* Premium Review Count Text */
  #top10-container .agency-card .card-body>div:first-child small,
  #top10-container .agency-card .card-body>div:first-child a {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
  }

  /* Show Location below logo - compact style */
  #top10-container .agency-card .card-header small {
    display: block !important;
    font-size: 0.65rem !important;
    color: #64748b !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    order: 1 !important;
  }

  /* Icon in location */
  #top10-container .agency-card .card-header small i {
    font-size: 0.6rem !important;
  }

  /* Premium Description - SHOW with styling */
  #top10-container .agency-card .card-body>p {
    display: block !important;
    font-size: 0.65rem !important;
    color: #666 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 4px !important;
    max-height: 2.8em !important;
    /* 2 lines max */
    overflow: hidden !important;
  }

  /* Premium Price Section - SHOW (div index 2 = nth-child(3) in body) */
  #top10-container .agency-card .card-body>div:nth-child(3) {
    display: block !important;
    visibility: visible !important;
    text-align: center !important;
    margin-top: auto !important;
    padding-top: 6px !important;
    padding-bottom: 8px !important;
    /* Breathing room from bottom border */
    border-top: 1px solid rgba(201, 162, 39, 0.2) !important;
    width: 100% !important;
  }

  /* Price Label - Left aligned above price (sejajar dengan Rp) */
  #top10-container .agency-card .card-body>div:nth-child(3) small {
    font-size: 0.55rem !important;
    color: #666 !important;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    margin-bottom: 3px !important;
  }

  /* Price Amount - Compact to fit card width */
  #top10-container .agency-card .card-body>div:nth-child(3)>div {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Discount Badge - BIGGER & ROUNDED */
  #top10-container .agency-card .flash-deal-badge {
    font-size: 0.55rem !important;
    padding: 3px 6px !important;
    border-radius: 8px !important;
    /* More rounded */
    margin-left: 4px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2) !important;
    /* Softer shadow */
  }

  /* Override Inline Styles - Strikethrough Price */
  #top10-container .agency-card .card-body div[style*="text-decoration:line-through"] {
    font-size: 0.5rem !important;
  }

  /* Override Inline Styles - Final Price - BIGGER for readability */
  #top10-container .agency-card .card-body div[style*="font-size:1.2rem"] {
    font-size: 0.75rem !important;
    max-width: 95% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
  }

  /* Override price container flex gap */
  #top10-container .agency-card .card-body div[style*="display:flex"] div {
    font-size: 0.75rem !important;
    word-break: break-word !important;
  }

  /* CRITICAL: Override Excessive Margins - Parent Price Wrapper */
  #top10-container .agency-card .card-body>div:nth-child(3)[style*="margin-top"] {
    margin-top: 4px !important;
    padding-top: 4px !important;
  }

  /* CRITICAL: Override Excessive Margins - Flex Container */
  #top10-container .agency-card .card-body div[style*="display:flex"][style*="margin-top"] {
    margin-top: 2px !important;
    margin-bottom: 6px !important;
    gap: 6px !important;
  }

  /* Price Wrapper - Vertical Stack LEFT Aligned */
  #top10-container .agency-card .card-body div[style*="flex:1"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  /* Hide CTA Buttons ONLY */
  #top10-container .agency-card .btn-whatsapp,
  #top10-container .agency-card .btn-fav {
    display: none !important;
  }

  /* GLOBAL HIDE for Packages Box in Mobile */
  .verified-no-packages,
  .coming-soon-wrap {
    display: none !important;
  }


  /* ============================================
     VERIFIED SECTION - 2-Column Grid
     ============================================ */
  #verified-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 10px 0 !important;
  }

  /* Verified Card - SINGLE FOCUS VISUAL */
  #verified-container .agency-card {
    width: 100% !important;
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    background: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    overflow: visible !important;
    padding: 12px 12px 14px 12px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Verified Card Header - CENTERED Vertical Stack */
  #verified-container .agency-card .card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    position: relative !important;
    text-align: center !important;
  }

  /* Logo + Badge Row Container */
  #verified-container .agency-card .card-header::before {
    content: '' !important;
    display: block !important;
  }

  /* Verified Logo - CENTERED, SMALLER */
  #verified-container .agency-card .card-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    border: 2px solid #e5e7eb !important;
    padding: 3px !important;
    background: #fff !important;
    display: block !important;
    margin: 36px auto 8px auto !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  /* Verified Badge - Full Width Top Bar */
  #verified-container .agency-card .badge-verified-inline {
    position: absolute !important;
    top: -12px !important;
    left: -12px !important;
    right: -12px !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 0.65rem !important;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    border-radius: 0 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border: none !important;
    white-space: nowrap !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    width: calc(100% + 24px) !important;
  }

  /* Verified Name - CENTERED */
  #verified-container .agency-card h4 {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #1e293b !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* Verified City - CENTERED */
  #verified-container .agency-card small {
    font-size: 0.65rem !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  /* Verified Card Body - CENTERED */
  #verified-container .agency-card .card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* PPIU + Rating Row - FORCE single line, smaller fonts */
  #verified-container .agency-card .card-body>div:first-child {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 0.55rem !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* PPIU and Rating text - smaller to prevent wrap */
  #verified-container .agency-card .card-body>div:first-child span,
  #verified-container .agency-card .card-body>div:first-child a {
    font-size: 0.55rem !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
  }

  /* Icons in PPIU row - smaller */
  #verified-container .agency-card .card-body>div:first-child i {
    font-size: 0.5rem !important;
  }

  /* Hide buttons */
  #verified-container .agency-card .btn-whatsapp,
  #verified-container .agency-card .btn-fav,
  #verified-container .agency-card .verified-no-packages,
  #verified-container .agency-card .coming-soon-wrap {
    display: none !important;
  }

  /* HIDE Description on mobile for compact card */
  #verified-container .agency-card .card-body p {
    display: none !important;
  }

  /* Price section - VISIBLE at bottom - minimal space */
  #verified-container .agency-card .card-body>div:last-of-type {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: auto !important;
    padding-top: 2px !important;
    /* Minimal */
    border-top: none !important;
  }

  /* Price label - bigger */
  #verified-container .agency-card .card-body>div:last-of-type small {
    font-size: 0.6rem !important;
    /* Bigger */
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  /* Strike price - tinier */
  #verified-container .agency-card .price-old {
    font-size: 0.35rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
  }

  /* Final price - tinier */
  #verified-container .agency-card .price-tag {
    font-size: 0.45rem !important;
    font-weight: 700 !important;
    color: #0F4C3A !important;
  }

  /* Discount Badge - Match Premium style */
  #verified-container .agency-card .card-promo-badge,
  #verified-container .agency-card .flash-deal-badge {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.55rem !important;
    padding: 3px 6px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2) !important;
    margin-left: 4px !important;
    vertical-align: middle !important;
  }

  /* Price row - flex to align price + discount */
  #verified-container .agency-card .card-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  /* Verified Price - Push to Bottom */
  #verified-container .agency-card .card-body>div:last-of-type {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: auto !important;
    /* Flex push */
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  /* Verified Price Text - SMALLER */
  #verified-container .agency-card .card-body>div:last-of-type div {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
  }

  /* Strikethrough price - smaller */
  #verified-container .agency-card .card-body div[style*="text-decoration:line-through"],
  #verified-container .agency-card .card-body div[style*="line-through"] {
    font-size: 0.5rem !important;
  }

  /* Final price - smaller */
  #verified-container .agency-card .card-body div[style*="font-size:1.2rem"] {
    font-size: 0.7rem !important;
  }

  /* ============================================
     OTHER AGENCIES - Full Width (unchanged)
     ============================================ */
  #other-agencies-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  #other-agencies-container .agency-card {
    width: 100% !important;
  }

  /* ============================================
     SECTION HEADERS - Compact
     ============================================ */
  .section-header h2 {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }

  .section-header p {
    display: none !important;
  }

  .section-header .divider-center {
    display: none !important;
  }

  .section-padding {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
  }
}

/* ========================================
   PREMIUM DETAIL THEME (Modal)
   ======================================== */
#agencyModal.is-premium .modal-content {
  border-top: 3px solid rgba(212, 175, 55, 0.9) !important;
  box-shadow: 0 24px 70px rgba(15, 76, 58, 0.14), 0 10px 28px rgba(212, 175, 55, 0.12) !important;
}

#agencyModal.is-premium .modal-header-bg {
  background: #fff !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
  position: sticky !important;
}

#agencyModal.is-premium .modal-header-bg:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: .9;
}

#agencyModal.is-premium #m-logo {
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.20) !important;
}

#agencyModal.is-premium #m-header-name {
  color: #1f3b2e !important;
}

#agencyModal.is-premium .badge-pill {
  background: rgba(212, 175, 55, 0.10) !important;
  border-color: rgba(212, 175, 55, 0.28) !important;
  color: #5a4300 !important;
}


#agencyModal.is-premium .btn-share,
#agencyModal.is-premium .btn-brochure,
#agencyModal.is-premium .btn-gallery,
#agencyModal.is-premium .btn-review,
#agencyModal.is-premium .btn-video {
  /* keep buttons colorful, but with premium gold framing */
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 10px 22px rgba(15, 76, 58, 0.08) !important;
}

/* Share (blue) */
#agencyModal.is-premium .btn-share {
  background: rgba(47, 128, 237, 0.12) !important;
  color: #1b4d8a !important;
  border-color: rgba(47, 128, 237, 0.28) !important;
}

/* Brochure (green) */
#agencyModal.is-premium .btn-brochure {
  background: rgba(39, 174, 96, 0.12) !important;
  color: #1f6a46 !important;
  border-color: rgba(39, 174, 96, 0.28) !important;
}

/* Photos (cool blue) */
#agencyModal.is-premium .btn-gallery {
  background: rgba(56, 155, 255, 0.12) !important;
  color: #1b5f92 !important;
  border-color: rgba(56, 155, 255, 0.26) !important;
}

/* Video (amber) */
#agencyModal.is-premium .btn-video {
  background: rgba(242, 153, 74, 0.14) !important;
  color: #8a4a12 !important;
  border-color: rgba(242, 153, 74, 0.32) !important;
}

/* Review (gold) */
#agencyModal.is-premium .btn-review {
  background: rgba(212, 175, 55, 0.18) !important;
  color: #5a4300 !important;
  border-color: rgba(212, 175, 55, 0.50) !important;
}

#agencyModal.is-premium .btn-share:hover,
#agencyModal.is-premium .btn-brochure:hover,
#agencyModal.is-premium .btn-gallery:hover,
#agencyModal.is-premium .btn-review:hover,
#agencyModal.is-premium .btn-video:hover {
  filter: saturate(1.15);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.16), 0 10px 22px rgba(15, 76, 58, 0.10) !important;
  transform: translateY(-1px);
}






/* Base: modal meta-row (location + rating) */
#agencyModal .meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 6px 0 6px;
  flex-wrap: wrap;
}

#agencyModal .meta-row .meta-loc {
  color: #666;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#agencyModal .meta-row .meta-loc i {
  color: var(--primary);
}

#agencyModal .rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

#agencyModal .rating-row .rating-star {
  color: #f1c40f;
  font-weight: 700;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#agencyModal .rating-row .rating-star i {
  margin: 0;
  font-size: 0.95em;
}


/* Modal badges: keep PPIU + Haji side-by-side on mobile */
@media (max-width: 520px) {
  #agencyModal .modal-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  #agencyModal .modal-badges .badge-pill {
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    padding: 7px 12px !important;
    font-size: 0.80rem !important;
    border-radius: 6px !important;
    line-height: 1.1 !important;
  }
}

/* Add icon spacing for PPIU badge */
#agencyModal .badge-pill.badge-ppiu i,
#agencyModal .badge-pill.badge-haji i {
  margin-right: 8px;
}

/* Buttons: colorful for ALL (premium + verified), with soft hover/active */
#agencyModal .btn-action-modal {
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease, border-color .15s ease;
  will-change: transform;
}

#agencyModal .btn-action-modal:hover {
  filter: brightness(1.06) saturate(1.06);
  transform: translateY(-1px);
}

#agencyModal .btn-action-modal:active {
  filter: brightness(1.10) saturate(1.08);
  transform: translateY(0px);
}

/* Non-premium (Verified-only / Unverified): keep buttons colorful too */
#agencyModal:not(.is-premium) .btn-share {
  background: rgba(47, 128, 237, 0.10) !important;
  color: #1b4d8a !important;
  border-color: rgba(47, 128, 237, 0.22) !important;
}

#agencyModal:not(.is-premium) .btn-brochure {
  background: rgba(39, 174, 96, 0.10) !important;
  color: #1f6a46 !important;
  border-color: rgba(39, 174, 96, 0.22) !important;
}

#agencyModal:not(.is-premium) .btn-gallery {
  background: rgba(56, 155, 255, 0.10) !important;
  color: #1b5f92 !important;
  border-color: rgba(56, 155, 255, 0.20) !important;
}

#agencyModal:not(.is-premium) .btn-video {
  background: rgba(242, 153, 74, 0.12) !important;
  color: #8a4a12 !important;
  border-color: rgba(242, 153, 74, 0.26) !important;
}

#agencyModal:not(.is-premium) .btn-review {
  background: rgba(212, 175, 55, 0.14) !important;
  color: #5a4300 !important;
  border-color: rgba(212, 175, 55, 0.30) !important;
}

/* Premium Badge spacing (lega) */
.badge-verified-inline.badge-premium-verified {
  padding: 7px 14px !important;
  gap: 10px !important;
}

/* =============================
   PATCH v7 â€” Modal Compact Badges + Rating Typography
   (Mobile-first polish)
   ============================= */

/* Rating row: match main typography (more compact & consistent) */
#agencyModal .meta-row {
  align-items: center;
}

#agencyModal .rating-row {
  font-family: inherit;
  font-size: 0.95rem;
  gap: 8px;
}

#agencyModal .rating-row .rating-star {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

#agencyModal .rating-row .rating-star i {
  font-size: 0.92em;
  transform: translateY(-0.5px);
}

#agencyModal .rating-row a,
#agencyModal .rating-row span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Override inline underline style to feel consistent */
#agencyModal .rating-row a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

/* Badges: compact sizing & better balance (mobile) */
@media (max-width: 520px) {
  #agencyModal .modal-badges {
    gap: 8px !important;
  }

  #agencyModal .modal-badges .badge-pill {
    padding: 6px 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    border-radius: 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #agencyModal .modal-badges .badge-pill i {
    font-size: 0.92em;
    margin-right: 6px !important;
  }
}


#agencyModal .modal-badges .badge-pill strong {
  font-weight: 700;
}


/* =============================
   PATCH v9 â€” Premium modal badges (PPIU/PIHK) + tighter rating spacing
   ============================= */

/* Badge layout: label/value balanced, more premium (boxy, consistent radius) */
#agencyModal .modal-badges .badge-pill.badge-kv {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  /* match action buttons vibe */
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  line-height: 1.15 !important;
}

/* Label chip */
#agencyModal .modal-badges .badge-pill.badge-kv .badge-k {
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5a4300;
  background: rgba(212, 175, 55, 0.18);
  padding: 3px 7px;
  border-radius: 10px;
}

/* Value */
#agencyModal .modal-badges .badge-pill.badge-kv .badge-v {
  font-weight: 650;
  font-size: 0.84rem;
  /* slightly larger than label */
  color: #2c3e50;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Separator */
#agencyModal .modal-badges .badge-pill.badge-kv .badge-sep {
  opacity: .55;
  font-weight: 700;
}

/* Slightly different accent for PIHK but still premium */
#agencyModal .modal-badges .badge-pill.badge-haji.badge-kv {
  border-color: rgba(15, 76, 58, 0.22) !important;
}

#agencyModal .modal-badges .badge-pill.badge-haji.badge-kv .badge-k {
  background: rgba(15, 76, 58, 0.10);
  color: #072E22;
}

/* Mobile: keep 2-column grid tight but breathable */
@media (max-width: 520px) {
  #agencyModal .modal-badges {
    gap: 10px !important;
  }

  #agencyModal .modal-badges .badge-pill.badge-kv {
    padding: 8px 10px !important;
  }
}

/* Rating: star + number tighter & baseline aligned */
#agencyModal .rating-row .rating-star {
  gap: 2px !important;
}

#agencyModal .rating-row .rating-star i {
  transform: translateY(-0.4px);
}

#agencyModal .rating-row .rating-star .rating-num {
  margin-left: 1px;
}


/* =============================
   PATCH v11 â€” Desktop detail header refinement
   - Rating sits next to location (mobile + desktop)
   - Badges row only contains PPIU/PIHK
   - Premium badge larger and placed next to title (not far-right)
   ============================= */

/* Meta row (location + rating) */
#agencyModal .meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

#agencyModal .rating-row.rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Badges row */
#agencyModal .badge-rating-row {
  display: block;
  margin-top: 12px;
}

#agencyModal .badge-rating-row .modal-badges {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}

/* Desktop premium badge sizing + positioning */
@media (min-width: 769px) {
  #agencyModal .modal-title-row .title-flex {
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap;
  }

  #agencyModal .badge-verified-inline.badge-premium-verified {
    font-size: 13px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
  }

  #agencyModal .badge-verified-inline.badge-premium-verified .badge-text {
    font-size: 13px !important;
    letter-spacing: 0.1px;
  }
}

/* Very small screens: allow rating to drop below location gracefully */
@media (max-width: 420px) {
  #agencyModal .meta-row {
    justify-content: flex-start;
  }

  #agencyModal .rating-row.rating-inline {
    margin-left: 0;
  }
}



/* PATCH v13 â€” rating next to location */
#agencyModal .meta-row {
  justify-content: flex-start !important;
}

#agencyModal .rating-row.rating-inline {
  margin-left: 0 !important;
}















@media (max-width: 520px) {
  #agencyModal .modal-badges .badge-pill {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  #agencyModal .modal-badges .badge-pill * {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: 0;
  }

  /* If there is an inner flex wrapper, allow wrapping */
  #agencyModal .modal-badges .badge-pill,
  #agencyModal .modal-badges .badge-pill .badge-content,
  #agencyModal .modal-badges .badge-pill .badge-body,
  #agencyModal .modal-badges .badge-pill .pill-content {
    flex-wrap: wrap !important;
  }

  /* Make value take full remaining width when needed */
  #agencyModal .modal-badges .badge-pill .badge-value {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {

  /* 2 badges in one row (2 columns), tighter */
  #agencyModal .modal-badges {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 10px;
    align-items: stretch;
  }

  #agencyModal .modal-badges .badge-pill {
    flex: 1 1 0;
    min-width: 0;
    /* critical for ellipsis inside flex */
    padding: 7px 10px !important;
    border-radius: 12px !important;
    /* slightly boxy, mobile-compact */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  }

  /* Force one-line content inside each badge */
  #agencyModal .modal-badges .badge-pill,
  #agencyModal .modal-badges .badge-pill * {
    white-space: nowrap !important;
  }

  /* Layout: label chip + value inline, single line */
  #agencyModal .modal-badges .badge-pill {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  #agencyModal .modal-badges .badge-pill .badge-label {
    flex: 0 0 auto;
    font-size: .68rem !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    line-height: 1.1;
  }

  #agencyModal .modal-badges .badge-pill .badge-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .78rem !important;
    line-height: 1.1;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* keep single-line even for very long values */
  }

  /* If there is a colon separator element, keep it tight */
  #agencyModal .modal-badges .badge-pill .badge-sep {
    margin: 0 2px;
    opacity: .7;
  }
}

/* Extra small: still 2 columns, but smaller text */
@media (max-width: 390px) {
  #agencyModal .modal-badges {
    gap: 8px;
  }

  #agencyModal .modal-badges .badge-pill {
    padding: 6px 9px !important;
  }

  #agencyModal .modal-badges .badge-pill .badge-value {
    font-size: .75rem !important;
  }
}

@media (max-width: 520px) {
  #agencyModal .modal-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    /* keep both badges in one row */
    gap: 10px !important;
    align-items: stretch !important;
  }

  #agencyModal .modal-badges .badge-pill.badge-kv {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05) !important;
  }

  /* Label chip */
  #agencyModal .modal-badges .badge-pill.badge-kv .badge-k {
    flex: 0 0 auto;
    font-size: .68rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    line-height: 1.1 !important;
  }

  /* Colon */
  #agencyModal .modal-badges .badge-pill.badge-kv .badge-sep {
    flex: 0 0 auto;
    margin: 0 2px !important;
    opacity: .7;
  }

  /* Value: smaller but readable, single-line with ellipsis */
  #agencyModal .modal-badges .badge-pill.badge-kv .badge-v {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Extra small devices: reduce font a touch but still one row */
@media (max-width: 390px) {
  #agencyModal .modal-badges {
    gap: 8px !important;
  }

  #agencyModal .modal-badges .badge-pill.badge-kv {
    padding: 6px 9px !important;
  }

  #agencyModal .modal-badges .badge-pill.badge-kv .badge-v {
    font-size: .75rem !important;
  }
}

@media (max-width: 520px) {

  /* keep both badges on one row */
  #agencyModal .modal-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  /* force pill layout to row (no stacking) */
  #agencyModal .modal-badges .badge-pill {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05) !important;
  }

  /* ensure children never become block/stack */
  #agencyModal .modal-badges .badge-pill .badge-k,
  #agencyModal .modal-badges .badge-pill .badge-sep,
  #agencyModal .modal-badges .badge-pill .badge-v {
    display: inline !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
  }

  #agencyModal .modal-badges .badge-pill .badge-k {
    flex: 0 0 auto !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
  }

  #agencyModal .modal-badges .badge-pill .badge-v {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* very small screens: still single line, but slightly smaller value */
@media (max-width: 390px) {
  #agencyModal .modal-badges {
    gap: 8px !important;
  }

  #agencyModal .modal-badges .badge-pill {
    padding: 6px 9px !important;
  }

  #agencyModal .modal-badges .badge-pill .badge-v {
    font-size: .74rem !important;
  }
}

@media (max-width: 520px) {

  /* The container is currently display:grid; override to flex */
  #agencyModal #modal-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: stretch !important;
    grid-template-columns: unset !important;
    grid-auto-flow: unset !important;
    grid-auto-rows: unset !important;
    place-items: unset !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-k,
  #agencyModal #modal-badges .badge-pill.badge-kv .badge-sep,
  #agencyModal #modal-badges .badge-pill.badge-kv .badge-v {
    display: inline !important;
    white-space: nowrap !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-v {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* =========================================================
   UG FINAL â€” Mobile modal badges (PPIU/PIHK): 2 badges in 1 row, each badge single-line
   Targets actual markup: #modal-badges (was grid), .badge-k/.badge-sep/.badge-v
   ========================================================= */
@media (max-width: 520px) {
  #agencyModal #modal-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: stretch !important;
    /* neutralize any grid rules */
    grid-template-columns: unset !important;
    grid-auto-flow: unset !important;
    grid-auto-rows: unset !important;
    place-items: unset !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05) !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-k,
  #agencyModal #modal-badges .badge-pill.badge-kv .badge-sep,
  #agencyModal #modal-badges .badge-pill.badge-kv .badge-v {
    display: inline !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-k {
    flex: 0 0 auto !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-v {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 390px) {
  #agencyModal #modal-badges {
    gap: 8px !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv {
    padding: 6px 9px !important;
  }

  #agencyModal #modal-badges .badge-pill.badge-kv .badge-v {
    font-size: .74rem !important;
  }
}

/* =========================================================
   AESTHETIC PPIU/PIHK BADGES â€” Horizontal Layout, Compact & Premium
   Clean 1-line design with proper contrast and sharp corners
   ========================================================= */

/* Base badge styles for all screen sizes */
#agencyModal .modal-badges,
#agencyModal #modal-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 10px !important;
  grid-template-columns: unset !important;
  justify-content: flex-start !important;
}

#agencyModal .badge-pill.badge-kv {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover effect - Desktop lift */
#agencyModal .badge-pill.badge-kv:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.10),
    0 3px 6px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Active/Press effect */
#agencyModal .badge-pill.badge-kv:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.1s ease !important;
}

/* PPIU specific hover */
#agencyModal .badge-pill.badge-ppiu:hover {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%) !important;
  border-color: rgba(180, 140, 20, 0.4) !important;
}

/* PIHK specific hover */
#agencyModal .badge-pill.badge-haji:hover,
#agencyModal .badge-pill.badge-pihk:hover {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
  border-color: rgba(15, 76, 58, 0.35) !important;
}

/* Label (PPIU / PIHK) - Better contrast */
#agencyModal .badge-pill.badge-kv .badge-k {
  font-size: 0.60rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
  flex-shrink: 0 !important;
}

/* Colon separator - show it */
#agencyModal .badge-pill.badge-kv .badge-sep {
  display: inline !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  color: #666 !important;
  margin: 0 1px !important;
  flex-shrink: 0 !important;
}

/* Value (license number) - compact */
#agencyModal .badge-pill.badge-kv .badge-v {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
}

/* PPIU Badge - Darker label for better contrast */
#agencyModal .badge-pill.badge-ppiu {
  border-color: rgba(180, 140, 20, 0.3) !important;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
}

#agencyModal .badge-pill.badge-ppiu .badge-k {
  background: #b45309 !important;
  color: #fff !important;
}

#agencyModal .badge-pill.badge-ppiu .badge-v {
  color: #78350f !important;
}

/* PIHK Badge - Emerald theme */
#agencyModal .badge-pill.badge-haji,
#agencyModal .badge-pill.badge-pihk {
  border-color: rgba(15, 76, 58, 0.25) !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
}

#agencyModal .badge-pill.badge-haji .badge-k,
#agencyModal .badge-pill.badge-pihk .badge-k {
  background: #065f46 !important;
  color: #fff !important;
}

#agencyModal .badge-pill.badge-haji .badge-v,
#agencyModal .badge-pill.badge-pihk .badge-v {
  color: #064e3b !important;
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

  #agencyModal .modal-badges,
  #agencyModal #modal-badges {
    gap: 8px !important;
    margin-top: 8px !important;
  }

  #agencyModal .badge-pill.badge-kv {
    padding: 6px 8px !important;
    gap: 3px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-k {
    font-size: 0.55rem !important;
    padding: 2px 5px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.62rem !important;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {

  #agencyModal .modal-badges,
  #agencyModal #modal-badges {
    gap: 6px !important;
  }

  #agencyModal .badge-pill.badge-kv {
    padding: 5px 7px !important;
    gap: 2px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-k {
    font-size: 0.52rem !important;
    padding: 1px 4px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-sep {
    font-size: 0.55rem !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.58rem !important;
  }
}

/* Extra small (iPhone SE 320px) */
@media (max-width: 390px) {

  #agencyModal .modal-badges,
  #agencyModal #modal-badges {
    gap: 5px !important;
  }

  #agencyModal .badge-pill.badge-kv {
    padding: 4px 6px !important;
    gap: 2px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-k {
    font-size: 0.50rem !important;
    padding: 1px 3px !important;
  }

  #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.55rem !important;
  }
}

/* =========================================================
   FINAL OVERRIDE â€” Mobile Badge Styles (Max Specificity)
   These rules override ALL previous conflicting badge rules
   ========================================================= */
@media (max-width: 768px) {

  /* Force horizontal layout with proper styling */
  body #agencyModal .modal-badges,
  body #agencyModal #modal-badges,
  html body #agencyModal .modal-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 8px !important;
    grid-template-columns: unset !important;
  }

  /* Badge pill base styles */
  body #agencyModal .badge-pill.badge-kv,
  body #agencyModal .modal-badges .badge-pill.badge-kv,
  body #agencyModal #modal-badges .badge-pill.badge-kv {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  /* PPIU styling override */
  body #agencyModal .badge-pill.badge-ppiu {
    border-color: rgba(180, 140, 20, 0.3) !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  }

  body #agencyModal .badge-pill.badge-ppiu .badge-k {
    background: #b45309 !important;
    color: #fff !important;
    font-size: 0.48rem !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
  }

  /* PIHK styling override */
  body #agencyModal .badge-pill.badge-haji,
  body #agencyModal .badge-pill.badge-pihk {
    border-color: rgba(15, 76, 58, 0.25) !important;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  }

  body #agencyModal .badge-pill.badge-haji .badge-k,
  body #agencyModal .badge-pill.badge-pihk .badge-k {
    background: #065f46 !important;
    color: #fff !important;
    font-size: 0.48rem !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
  }

  /* Colon separator override */
  body #agencyModal .badge-pill.badge-kv .badge-sep {
    display: inline !important;
    font-size: 0.5rem !important;
    color: #666 !important;
    margin: 0 1px !important;
  }

  /* Value text override */
  body #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.52rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {

  body #agencyModal .modal-badges,
  body #agencyModal #modal-badges {
    gap: 6px !important;
  }

  body #agencyModal .badge-pill.badge-kv {
    padding: 5px 7px !important;
    gap: 2px !important;
  }

  body #agencyModal .badge-pill.badge-kv .badge-k {
    font-size: 0.46rem !important;
    padding: 1px 3px !important;
  }

  body #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.50rem !important;
  }
}

@media (max-width: 390px) {

  body #agencyModal .modal-badges,
  body #agencyModal #modal-badges {
    gap: 5px !important;
  }

  body #agencyModal .badge-pill.badge-kv {
    padding: 4px 6px !important;
    gap: 2px !important;
  }

  body #agencyModal .badge-pill.badge-kv .badge-k {
    font-size: 0.44rem !important;
    padding: 1px 2px !important;
  }

  body #agencyModal .badge-pill.badge-kv .badge-v {
    font-size: 0.48rem !important;
  }
}

/* =========================================================
   FASILITAS UNGGULAN â€” 2 Column Grid Layout
   Clean, aligned facility items with icons
   ========================================================= */

/* Container with 2-column grid */
#agencyModal #m-facilities,
#agencyModal .facility-list {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px 20px !important;
  margin-top: 10px !important;
}

/* Each facility item */
#agencyModal .facility-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 0 !important;
}

/* Icon pill (circular background) */
#agencyModal .facility-icon-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  background: linear-gradient(135deg, #0f4c3a 0%, #1a6b50 100%) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
}

/* Facility label text */
#agencyModal .facility-label {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.3 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {

  #agencyModal #m-facilities,
  #agencyModal .facility-list {
    gap: 10px 16px !important;
  }

  #agencyModal .facility-icon-pill {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 0.75rem !important;
  }

  #agencyModal .facility-label {
    font-size: 0.85rem !important;
  }
}

/* Very small screens: 1 column */
@media (max-width: 480px) {

  #agencyModal #m-facilities,
  #agencyModal .facility-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
  }

  #agencyModal .facility-icon-pill {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.7rem !important;
  }

  #agencyModal .facility-label {
    font-size: 0.8rem !important;
  }
}

/* =========================================================
   ACTION BUTTONS â€” Hover & Press Effects
   Bagikan, Brosur, Foto, Video buttons
   ========================================================= */

/* Base transition for all action buttons */
#agencyModal .btn-action-modal {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Hover effect - lift */
#agencyModal .btn-action-modal:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Active/Press effect */
#agencyModal .btn-action-modal:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.1s ease !important;
}

/* Bagikan (Share) - Blue theme hover */
#agencyModal .btn-share:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

/* Brosur - Green theme hover */
#agencyModal .btn-brochure:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  border-color: #059669 !important;
}

/* Foto (Gallery) - Slate theme hover */
#agencyModal .btn-gallery:hover {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
  color: #fff !important;
  border-color: #475569 !important;
}

/* Video - Orange theme hover */
#agencyModal .btn-video:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #fff !important;
  border-color: #d97706 !important;
}

/* Icon animation on hover */
#agencyModal .btn-action-modal:hover i {
  transform: scale(1.1) !important;
  transition: transform 0.2s ease !important;
}

/* Ripple-like focus effect */
#agencyModal .btn-action-modal:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* =========================================================
   PREMIUM BADGE â€” Consistent Styling (Mobile & Desktop)
   Refined amber/gold gradient with elegant styling
   ========================================================= */

/* Base Premium Badge styling */
.badge-premium-verified,
.badge-verified-inline.badge-premium-verified {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  box-shadow:
    0 2px 6px rgba(202, 138, 4, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  text-transform: capitalize !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover effect for premium badge */
.badge-premium-verified:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 4px 12px rgba(202, 138, 4, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* Crown icon - refined */
.badge-premium-verified i.fa-crown {
  color: #fff !important;
  font-size: 0.68rem !important;
  opacity: 0.95 !important;
}

/* Badge text */
.badge-premium-verified .badge-text {
  color: #fff !important;
  font-weight: 600 !important;
}

/* Check circle for verified - more refined */
.badge-premium-verified .mini-verified {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  margin-left: 2px !important;
}

.badge-premium-verified .mini-verified i {
  font-size: 0.55rem !important;
  color: #fff !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {

  .badge-premium-verified,
  .badge-verified-inline.badge-premium-verified {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
    gap: 5px !important;
    color: #fff !important;
  }

  .badge-premium-verified i.fa-crown {
    font-size: 0.7rem !important;
    color: #fff !important;
  }

  .badge-premium-verified .badge-text {
    color: #fff !important;
  }

  .badge-premium-verified .mini-verified {
    width: 16px !important;
    height: 16px !important;
  }

  .badge-premium-verified .mini-verified i {
    font-size: 0.55rem !important;
    color: #fff !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {

  .badge-premium-verified,
  .badge-verified-inline.badge-premium-verified {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    gap: 4px !important;
  }

  .badge-premium-verified .mini-verified {
    width: 14px !important;
    height: 14px !important;
  }
}

/* =========================================================
   PREMIUM BADGE â€” FORCE WHITE TEXT (Max Specificity)
   Override any conflicting styles
   ========================================================= */
.badge-premium-verified,
.badge-premium-verified *,
.badge-verified-inline.badge-premium-verified,
.badge-verified-inline.badge-premium-verified *,
body .badge-premium-verified,
body .badge-premium-verified *,
html body .badge-premium-verified,
html body .badge-premium-verified * {
  color: #fff !important;
}

/* Ensure all child elements are white */
.badge-premium-verified .badge-text,
.badge-premium-verified span,
.badge-premium-verified i,
body .badge-premium-verified .badge-text,
body .badge-premium-verified span {
  color: #fff !important;
}

/* =========================================================
   VERIFIED BADGE â€” Beautiful Centered Design
   Refined teal gradient with elegant styling
   ========================================================= */

/* Base Verified Badge styling */
.badge-verified-basic,
.badge-verified-inline.badge-verified-basic {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  box-shadow:
    0 2px 6px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  text-align: center !important;
  text-transform: capitalize !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Check circle icon - smaller and refined */
.badge-verified-basic i.fa-check-circle {
  color: #fff !important;
  font-size: 0.7rem !important;
  flex-shrink: 0 !important;
  opacity: 0.95 !important;
}

/* All text inside verified badge - force white */
.badge-verified-basic,
.badge-verified-basic *,
body .badge-verified-basic,
body .badge-verified-basic * {
  color: #fff !important;
}

/* Hover effect - subtle lift */
.badge-verified-basic:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 4px 12px rgba(16, 185, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {

  .badge-verified-basic,
  .badge-verified-inline.badge-verified-basic {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    gap: 5px !important;
  }

  .badge-verified-basic i.fa-check-circle {
    font-size: 0.75rem !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {

  .badge-verified-basic,
  .badge-verified-inline.badge-verified-basic {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    gap: 4px !important;
  }

  .badge-verified-basic i.fa-check-circle {
    font-size: 0.7rem !important;
  }
}

/* =========================================================
   NOT VERIFIED BADGE â€” Subtle Gray Design
   ========================================================= */

/* Base Not Verified Badge styling */
.badge-not-verified,
.badge-verified-inline.badge-not-verified {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%) !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(100, 116, 139, 0.25) !important;
  white-space: nowrap !important;
  border: none !important;
  text-align: center !important;
}

.badge-not-verified,
.badge-not-verified *,
body .badge-not-verified * {
  color: #fff !important;
}

@media (max-width: 768px) {

  .badge-not-verified,
  .badge-verified-inline.badge-not-verified {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
  }
}

/* =========================================================
   BADGE CENTERING IN CARD â€” Force horizontal center
   Works for Terverifikasi/Verified/Premium badges
   ========================================================= */

/* Badge positioning in agency-card */
.agency-card .badge-verified-inline {
  position: absolute !important;
  top: 10px !important;
  left: 50% !important;
  right: auto !important;
  /* Reset right to allow centering */
  transform: translateX(-50%) !important;
  z-index: 10 !important;
}

/* Mobile: smaller badge with spacing from logo */
@media (max-width: 768px) {
  .agency-card .badge-verified-inline {
    top: 8px !important;
  }

  /* Smaller badge size on mobile cards */
  .agency-card .badge-verified-inline.badge-verified-basic,
  .agency-card .badge-verified-inline.badge-premium-verified {
    font-size: 0.62rem !important;
    padding: 4px 8px !important;
    gap: 3px !important;
    margin-bottom: 8px !important;
  }

  .agency-card .badge-verified-inline i {
    font-size: 0.58rem !important;
  }
}

/* Very small screens: even smaller badge */
@media (max-width: 480px) {

  .agency-card .badge-verified-inline.badge-verified-basic,
  .agency-card .badge-verified-inline.badge-premium-verified {
    font-size: 0.58rem !important;
    padding: 3px 7px !important;
    gap: 2px !important;
    margin-bottom: 10px !important;
  }

  .agency-card .badge-verified-inline i {
    font-size: 0.52rem !important;
  }
}

/* Ensure card has relative positioning */
.agency-card {
  position: relative !important;
}

/* =========================================================
   PREMIUM BADGE â€” Force Deep Amber Color Everywhere
   Consistent mobile/desktop styling
   ========================================================= */
body .badge-premium-verified,
body .badge-verified-inline.badge-premium-verified,
html body .badge-premium-verified,
.agency-card .badge-premium-verified,
.agency-card .badge-verified-inline.badge-premium-verified {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow:
    0 2px 6px rgba(217, 119, 6, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body .badge-premium-verified:hover,
.agency-card .badge-premium-verified:hover {
  box-shadow:
    0 4px 12px rgba(217, 119, 6, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* =========================================================
   HERO SECTION MOBILE POLISH
   Enhanced search bar, tags, and typography
   ========================================================= */

/* Search Box - Compact Minimalistic Design */
@media (max-width: 768px) {
  .search-box-hero {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 50px !important;
    padding: 5px 5px 5px 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    gap: 0 !important;
  }

  /* Search Input - Minimal */
  .search-box-hero input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 8px !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    margin-bottom: 0 !important;
    min-width: 0 !important;
  }

  .search-box-hero input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .search-box-hero input::placeholder {
    color: #9ca3af !important;
    font-size: 0.85rem !important;
  }

  /* Search Button - Compact Pill */
  .search-box-hero button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.2s ease !important;
  }

  .search-box-hero button:hover,
  .search-box-hero button:active {
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
  }

  .search-box-hero button:active {
    transform: scale(0.98) !important;
  }
}

/* Hero Tags - HIDDEN on Mobile */
@media (max-width: 768px) {
  .hero-tags {
    display: none !important;
  }
}

/* Hero Typography - Improved Line Height */
@media (max-width: 768px) {

  .hero h1,
  .hero-content h1 {
    line-height: 1.35 !important;
    letter-spacing: -0.5px !important;
  }

  .hero p,
  .hero-content p {
    line-height: 1.6 !important;
    opacity: 0.92 !important;
  }

  /* Gold text highlight */
  .hero h1 .text-gold,
  .hero-content h1 .text-gold {
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3) !important;
  }
}

/* =========================================================
   FEATURE CARDS â€” Compact Minimalist Mobile Design
   ========================================================= */
@media (max-width: 768px) {
  .features-section {
    margin-top: -20px !important;
    padding-bottom: 20px !important;
  }

  .features-grid {
    gap: 10px !important;
  }

  .feature-card {
    padding: 16px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border-bottom: none !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
  }

  .feature-card:hover {
    transform: translateY(-2px) !important;
    border-left-color: var(--gold) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  /* Compact Icon Circle */
  .feature-icon {
    font-size: 1.4rem !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%) !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
  }

  /* Compact Text */
  .feature-text {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .feature-text h2,
  .feature-text h3 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    color: #1f2937 !important;
  }

  .feature-text p {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: #6b7280 !important;
    margin: 0 !important;
  }

  /* Reduce bottom padding of features section */
  .features-section {
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   SECTION SPACING â€” Tighter Gap on Mobile
   ========================================================= */
@media (max-width: 768px) {

  /* Reduce gap between sections */
  .container.section-padding {
    padding-top: 20px !important;
    padding-bottom: 15px !important;
  }

  /* Section headers more compact */
  .section-header.centered {
    margin-bottom: 15px !important;
  }

  .section-header.centered h2 {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
  }

  /* Hide divider and description on mobile for cleaner look */
  .section-header.centered .divider-center,
  .section-header.centered p {
    display: none !important;
  }
}

/* =========================================================
   VERIFIED BADGES â€” Compact on Mobile
   ========================================================= */
@media (max-width: 768px) {

  /* Verified badge in cards (green "Terverifikasi") */
  #verified-container .badge-verified-inline,
  .badge-verified-basic {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    gap: 4px !important;
  }

  #verified-container .badge-verified-inline i,
  .badge-verified-basic i {
    font-size: 0.6rem !important;
  }
}

/* =========================================================
   BOTTOM NAVIGATION â€” Compact & Refined
   ========================================================= */
@media (max-width: 768px) {
  .bottom-nav {
    padding: 8px 0 !important;
    height: auto !important;
    min-height: 56px !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
  }

  .bottom-nav .nav-item {
    gap: 2px !important;
    padding: 6px 12px !important;
  }

  .bottom-nav .nav-item i {
    font-size: 1.1rem !important;
  }

  .bottom-nav .nav-item span {
    font-size: 0.65rem !important;
    font-weight: 500 !important;
  }

  .bottom-nav .nav-item.active {
    color: var(--primary) !important;
  }

  .bottom-nav .nav-item.active i {
    transform: scale(1.05) !important;
  }
}

/* =========================================================
   VIEW-ALL BUTTONS â€” Compact & Refined
   ========================================================= */
@media (max-width: 768px) {

  .section-view-all a,
  .view-all-link,
  a[class*="view-all"] {
    font-size: 0.8rem !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    gap: 6px !important;
    color: #fff !important;
  }

  .section-view-all a i,
  .view-all-link i {
    font-size: 0.75rem !important;
    color: #fff !important;
  }

  /* Premium Partner button */
  .section-view-all a[class*="gold"],
  a.view-all-link:not(.view-all-link--blue) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25) !important;
    color: #fff !important;
  }

  /* Emerald Green verified button */
  .view-all-link--blue {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
  }

  /* Distance badge - compact on mobile */
  .distance-badge {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    gap: 3px !important;
    margin-left: 6px !important;
  }

  .distance-badge i {
    font-size: 0.55rem !important;
  }

  /* Premium card - more spacious on mobile */
  .agency-card.premium {
    padding: 16px !important;
    min-height: 320px !important;
  }

  .agency-card.premium .card-body {
    padding-bottom: 14px !important;
  }
}

/* =========================================================
   MODAL FAVORITE BUTTON
   ========================================================= */
.modal-fav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-fav-btn i {
  font-size: 1rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.modal-fav-btn:hover {
  background: rgba(244, 63, 94, 0.08);
}

.modal-fav-btn:hover i {
  color: #f43f5e;
  transform: scale(1.1);
}

.modal-fav-btn.active i {
  color: #f43f5e;
}

.modal-fav-btn:active i {
  transform: scale(0.95);
}

/* =========================================================
   DESKTOP UI POLISH IMPROVEMENTS
   ========================================================= */

/* 1. Hero Title "Trusted" - Better contrast with text shadow */
.hero-section h1 .highlight,
.hero h1 .highlight,
#txt-hero-title .highlight {
  text-shadow:
    0 2px 8px rgba(201, 161, 60, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

/* 2. Hero subtitle - Slightly larger */
.hero-section p,
.hero p,
#txt-hero-desc {
  font-size: 1.15rem !important;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 3. Popular Search Tags - Interactive hover effect */
.popular-tags span,
.popular-search span,
.tag-pill {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-tags span:hover,
.popular-search span:hover,
.tag-pill:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3d2e 100%) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.25);
}

/* 4. Feature Cards - Enhanced depth and subtle gradient */
.feature-card,
.feature-item,
.why-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.feature-card:hover,
.feature-item:hover,
.why-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.06);
}

/* 5. Feature Icons - Hover animation */
.feature-card .icon,
.feature-item i,
.why-card i,
.feature-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon,
.feature-item:hover i,
.why-card:hover i,
.feature-card:hover .feature-icon {
  transform: scale(1.15);
}

/* 6. Section Divider - Subtle elegant fade */
.divider-center,
.section-divider {
  height: 1px !important;
  width: 100% !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent, #e0e0e0 30%, #e0e0e0 70%, transparent) !important;
  margin: 24px 0 !important;
  border: none !important;
}

/* 7. Premium Badge - Slightly larger on desktop */
@media (min-width: 769px) {
  .badge-premium-verified {
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
    gap: 6px !important;
  }

  .badge-premium-verified i {
    font-size: 0.85rem !important;
  }
}

/* 8. Agency Cards - Enhanced shadow depth */
.agency-card {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agency-card:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* 9. Section Spacing - Increased breathing room */
@media (min-width: 769px) {
  .section-padding {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .section-header {
    margin-bottom: 40px !important;
  }

  .section-header h2 {
    margin-bottom: 8px !important;
  }
}

/* 10. Card Grid Gap - More breathing room */
@media (min-width: 769px) {

  #top10-container,
  #verified-container,
  #other-agencies-container {
    gap: 24px !important;
  }
}

/* =========================================================
   FIX: PPIU Badge proportional width (when no PIHK)
   ========================================================= */
@media (max-width: 768px) {

  #agencyModal .modal-badges,
  #agencyModal .badge-rating-row .modal-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  #agencyModal .modal-badges .badge-pill,
  #agencyModal .modal-badges .badge-pill.badge-kv,
  #agencyModal .modal-badges .badge-pill.badge-ppiu {
    width: fit-content !important;
    max-width: fit-content !important;
    flex: 0 0 auto !important;
  }
}

/* =========================================================
   FIX: Mobile Card Badge - Normal Size (like desktop)
   ========================================================= */
@media (max-width: 768px) {

  /* Keep badge at full size (no shrinking) */
  body .agency-card .badge-verified-inline,
  body .agency-card .badge-verified-basic,
  body .agency-card .badge-premium-verified,
  html body .agency-card .badge-verified-inline {
    transform: translateX(-50%) scale(1) !important;
    transform-origin: center top !important;
  }

  /* Adjust header padding for full-size badge */
  body .agency-card .card-header,
  html body .agency-card .card-header {
    padding-top: 48px !important;
  }

  body .agency-card.premium .card-header,
  html body .agency-card.premium .card-header {
    padding-top: 50px !important;
  }
}

/* Very small mobile screens - still full size */
@media (max-width: 480px) {

  /* Keep badge at full size */
  body .agency-card .badge-verified-inline,
  body .agency-card .badge-verified-basic,
  body .agency-card .badge-premium-verified,
  html body .agency-card .badge-verified-inline {
    transform: translateX(-50%) scale(1) !important;
  }

  /* Adjust header padding */
  body .agency-card .card-header,
  html body .agency-card .card-header {
    padding-top: 46px !important;
  }

  body .agency-card.premium .card-header,
  html body .agency-card.premium .card-header {
    padding-top: 48px !important;
  }
}

/* =========================================================
   FIX: Verified Container Badge - Slightly Smaller
   Targeting #verified-container .agency-card.verified badges
   ========================================================= */
@media (max-width: 768px) {

  /* Slightly shrink the badge in verified container */
  #verified-container .agency-card.verified .badge-verified-inline.badge-verified-basic,
  .top-10-grid .agency-card.verified .badge-verified-inline.badge-verified-basic {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    gap: 4px !important;
    transform: translateX(-50%) scale(0.92) !important;
    transform-origin: center top !important;
  }

  /* Slightly shrink icon inside badge */
  #verified-container .agency-card.verified .badge-verified-inline i,
  .top-10-grid .agency-card.verified .badge-verified-inline i {
    font-size: 0.6rem !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {

  #verified-container .agency-card.verified .badge-verified-inline.badge-verified-basic,
  .top-10-grid .agency-card.verified .badge-verified-inline.badge-verified-basic {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
    gap: 3px !important;
    transform: translateX(-50%) scale(0.88) !important;
  }

  #verified-container .agency-card.verified .badge-verified-inline i,
  .top-10-grid .agency-card.verified .badge-verified-inline i {
    font-size: 0.55rem !important;
  }
}

/* =========================================================
   VERIFIED BADGE - FULL WIDTH TOP BAR (FINAL OVERRIDE)
   ========================================================= */
@media (max-width: 768px) {

  /* Card must have overflow hidden to clip badge to card edges */
  #verified-container .agency-card {
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 12px !important;
    height: 255px !important;
    min-height: 255px !important;
    max-height: 255px !important;
  }

  /* Override all previous rules for verified container badge */
  #verified-container .agency-card .badge-verified-inline,
  #verified-container .agency-card .badge-verified-inline.badge-verified-basic,
  #verified-container .agency-card.verified .badge-verified-inline,
  #verified-container .agency-card.verified .badge-verified-inline.badge-verified-basic {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 0.65rem !important;
    padding: 6px 12px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    border-radius: 0 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border: none !important;
    white-space: nowrap !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
  }

  /* Adjust logo margin to account for badge at top */
  #verified-container .agency-card .card-logo {
    margin-top: 40px !important;
  }

  /* Ensure grid items align at top */
  #verified-container {
    align-items: start !important;
  }

  /* Make distance badge more compact */
  #verified-container .agency-card .distance-badge,
  #verified-container .agency-card [class*="distance"],
  #verified-container .agency-card small span {
    font-size: 0.55rem !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
  }

  /* Location row - ensure single line */
  #verified-container .agency-card .card-header small {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    font-size: 0.6rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
}

/* ==========================================
   UMRAH FLEKSIBEL - Premium Futuristic Design
   ========================================== */

/* Modal Base with Ambient Glow */
.um-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: umFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes umFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.um-modal__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 76, 58, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Modal Container - Glass Card Effect */
.um-modal__container {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
  border-radius: 28px;
  width: 95%;
  max-width: 920px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 100px rgba(15, 76, 58, 0.1);
  animation: umSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.um-modal__container--small {
  max-width: 480px;
}

@keyframes umSlideUp {
  from {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Header - Minimal Elegant */
.um-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: linear-gradient(135deg, #0d4a38 0%, #0F4C3A 50%, #145c48 100%);
  position: relative;
  overflow: hidden;
}

.um-modal__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.um-modal__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.um-modal__header h2 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.um-modal__header h2 i {
  color: #D4AF37;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.um-modal__close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.um-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Step Navigator - Futuristic Horizontal Stepper */
.um-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 24px 32px;
  background: linear-gradient(180deg, #f5f7f6 0%, #ffffff 100%);
  position: relative;
}

.um-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.um-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 20px);
  width: calc(100% - 20px);
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.um-step--completed:not(:last-child)::after {
  background: linear-gradient(90deg, #10b981, #10b981);
}

.um-step:hover .um-step__number {
  transform: scale(1.08);
}

.um-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid #e5e7eb;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.um-step__label {
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: none;
  transition: all 0.3s ease;
}

.um-step--active .um-step__number {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
}

.um-step--active .um-step__label {
  color: #0F4C3A;
  font-weight: 600;
}

.um-step--completed .um-step__number {
  background: #10b981;
  color: transparent;
  border-color: transparent;
  font-size: 0;
}

.um-step--completed .um-step__number::before {
  content: '\2713';
  font-size: 0.9rem;
  color: #fff;
}

/* Modal Body - Clean Canvas */
.um-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  max-height: 52vh;
  background: #fff;
  scroll-behavior: smooth;
}

.um-modal__body::-webkit-scrollbar {
  width: 6px;
}

.um-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.um-modal__body::-webkit-scrollbar-thumb {
  background: rgba(15, 76, 58, 0.15);
  border-radius: 10px;
}

/* Setup Section - Floating Card Style */
.um-setup-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.um-setup-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.um-setup-row label {
  font-size: 0.75rem;
  color: #71717a;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.um-setup-row label i {
  color: #0F4C3A;
  font-size: 0.85rem;
}

.um-setup-row input[type="date"] {
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  background: #fafafa;
  color: #1f2937;
}

.um-setup-row input[type="date"]:hover {
  border-color: #d1d5db;
  background: #fff;
}

.um-setup-row input[type="date"]:focus {
  border-color: #0F4C3A;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.08);
}

.um-persons-control,
.um-nights-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.um-persons-control button,
.um-nights-control button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 1.1rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.um-persons-control button:hover,
.um-nights-control button:hover {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.25);
}

.um-persons-control input,
.um-nights-control input {
  width: 56px;
  text-align: center;
  padding: 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  background: #fafafa;
  color: #1f2937;
}

/* Room Type Selector - Pill Style */
.um-room-types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.um-room-types label {
  padding: 12px 20px;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #e5e7eb;
  color: #6b7280;
}

.um-room-types label:hover {
  border-color: #0F4C3A;
  color: #0F4C3A;
  background: rgba(15, 76, 58, 0.02);
}

.um-room-types label.active {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.25);
}

.um-room-types input {
  display: none;
}

.um-return-date span {
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 600;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  padding: 10px 16px;
  border-radius: 10px;
  display: inline-block;
}

/* Section Title - Minimal Style */
.um-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #0F4C3A;
  margin-bottom: 15px;
  font-weight: 700;
}

.um-section-title i {
  color: #D4AF37;
}

.um-section-note {
  background: #fff8e1;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #795548;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Schedule Section - Step 1 */
.um-schedule-section {
  padding: 10px 0;
}

.um-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.um-schedule-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.um-schedule-card:hover {
  border-color: #0F4C3A;
  box-shadow: 0 4px 16px rgba(15, 76, 58, 0.1);
}

.um-schedule-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.um-schedule-card__content {
  flex: 1;
}

.um-schedule-card__content label {
  display: block;
  font-size: 0.75rem;
  color: #71717a;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.um-schedule-card__content input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fafafa;
  transition: all 0.2s ease;
}

.um-schedule-card__content input[type="date"]:focus {
  border-color: #0F4C3A;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.08);
  outline: none;
}

.um-return-display {
  padding: 12px 14px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F4C3A;
}

.um-duration-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.um-duration-info__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.um-duration-info__label {
  color: #71717a;
  font-size: 0.85rem;
}

.um-duration-info__value {
  color: #0F4C3A;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 4px;
}

/* Hotel Setup - Step 2 */
.um-hotel-setup {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

/* Price Panel in Review */
.um-price-panel-review {
  background: linear-gradient(180deg, #f8fafa 0%, #fff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.um-section-note i {
  color: #ff9800;
}

/* Hotels Section */
.um-hotels-section {
  margin-bottom: 30px;
}

.um-hotels-grid,
.um-flights-grid,
.um-transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

/* Hotel Card - Traveloka/Airbnb Style */
.um-hotel-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.um-hotel-card:hover {
  border-color: #0F4C3A;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 76, 58, 0.15);
}

.um-hotel-card--selected {
  border-color: #0F4C3A;
  border-width: 2px;
  background: linear-gradient(to bottom, #f0fdf4, #fff);
  box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.1);
}

.um-hotel-card__image {
  height: 180px;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  position: relative;
  overflow: hidden;
}

.um-hotel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.um-hotel-card:hover .um-hotel-card__image img {
  transform: scale(1.05);
}

.um-hotel-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 3rem;
  color: #bbb;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.um-hotel-card__placeholder::after {
  content: 'Foto Hotel';
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.um-hotel-card__star {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  color: #ffc107;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
}

.um-hotel-card__info {
  padding: 16px;
}

.um-hotel-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.um-hotel-card__distance {
  font-size: 0.85rem;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 500;
}

.um-hotel-card__distance i {
  color: #0F4C3A;
  font-size: 0.9rem;
}

.um-hotel-card__facilities {
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.um-hotel-card__facilities i {
  color: #D4AF37;
}

.um-hotel-card__price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.um-hotel-card__price-label {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.um-hotel-card__price-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F4C3A;
}

.um-hotel-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Hotel Detail Button */
.um-hotel-card__detail-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F4C3A;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 5;
}

.um-hotel-card__detail-btn:hover {
  background: #0F4C3A;
  color: #fff;
  transform: scale(1.1);
}

/* Hotel Detail Popup */
.um-hotel-detail-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.um-hotel-detail-popup--active {
  opacity: 1;
  visibility: visible;
}

.um-hotel-detail-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.um-hotel-detail-popup__content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.um-hotel-detail-popup--active .um-hotel-detail-popup__content {
  transform: translateY(0);
}

.um-hotel-detail-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #333;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.um-hotel-detail-popup__close:hover {
  background: #ef4444;
  color: #fff;
}

/* Hotel Detail Gallery */
.um-hotel-detail__gallery {
  position: relative;
}

.um-hotel-detail__gallery-main {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.um-hotel-detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.um-hotel-detail__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 5;
}

.um-hotel-detail__gallery-nav:hover {
  background: #0F4C3A;
  color: #fff;
}

.um-hotel-detail__gallery-nav--prev {
  left: 12px;
}

.um-hotel-detail__gallery-nav--next {
  right: 12px;
}

.um-hotel-detail__gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f8f9fa;
  overflow-x: auto;
}

.um-hotel-detail__thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.um-hotel-detail__thumb:hover {
  opacity: 0.9;
}

.um-hotel-detail__thumb--active {
  opacity: 1;
  border-color: #0F4C3A;
}

.um-hotel-detail__no-image {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  border-radius: 20px 20px 0 0;
  color: #94a3b8;
}

.um-hotel-detail__no-image i {
  font-size: 3rem;
  margin-bottom: 8px;
}

/* Hotel Detail Body */
.um-hotel-detail__body {
  padding: 20px;
}

.um-hotel-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.um-hotel-detail__header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.um-hotel-detail__stars {
  color: #f59e0b;
  font-size: 0.95rem;
  white-space: nowrap;
}

.um-hotel-detail__distance {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0F4C3A;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 10px;
  font-size: 0.95rem;
}

.um-hotel-detail__distance i {
  font-size: 1.1rem;
}

.um-hotel-detail__description {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.um-hotel-detail__facilities h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.um-hotel-detail__facilities h5 i {
  color: #0F4C3A;
}

.um-hotel-detail__facilities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.um-hotel-detail__facility {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #475569;
}

.um-hotel-detail__facility i {
  color: #0F4C3A;
  font-size: 0.85rem;
}

.um-hotel-detail__price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #0F4C3A 0%, #1a7a5e 100%);
  border-radius: 12px;
  color: #fff;
}

.um-hotel-detail__price-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.um-hotel-detail__price-value {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Flight Card */
.um-flight-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
}

.um-flight-card:hover {
  border-color: #0F4C3A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.um-flight-card--selected {
  border-color: #0F4C3A;
  background: linear-gradient(to right, #f0fdf4, #fff);
}

.um-flight-card__logo {
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.um-flight-card__logo img {
  max-width: 50px;
  max-height: 50px;
}

.um-flight-card__logo i {
  font-size: 1.8rem;
  color: #666;
}

.um-flight-card__info {
  flex: 1;
}

.um-flight-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.um-flight-card__route {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.um-flight-card__badges {
  display: flex;
  gap: 6px;
}

.um-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.um-badge--economy {
  background: #e3f2fd;
  color: #1976d2;
}

.um-badge--business {
  background: #fce4ec;
  color: #c2185b;
}

.um-badge--direct {
  background: #e8f5e9;
  color: #2e7d32;
}

.um-badge--transit {
  background: #fff3e0;
  color: #e65100;
}

.um-badge--roundtrip {
  background: #f3e5f5;
  color: #7b1fa2;
  font-weight: 700;
}

.um-flight-card__price {
  text-align: right;
}

.um-flight-card__price-label {
  font-size: 0.7rem;
  color: #999;
}

.um-flight-card__price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F4C3A;
}

.um-flight-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #10b981;
  font-size: 1.2rem;
}

/* Transport Card */
.um-transport-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
}

.um-transport-card:hover {
  border-color: #0F4C3A;
}

.um-transport-card--selected {
  border-color: #0F4C3A;
  background: #f0fdf4;
}

.um-transport-card__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0F4C3A 0%, #0a6b4f 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.um-transport-card__info {
  flex: 1;
}

.um-transport-card__name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.um-transport-card__capacity {
  font-size: 0.85rem;
  color: #666;
}

.um-transport-card__price {
  text-align: right;
}

.um-transport-card__price-label {
  font-size: 0.7rem;
  color: #999;
}

.um-transport-card__price-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0F4C3A;
}

.um-transport-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #10b981;
  font-size: 1.2rem;
}

/* Services Grid */
.um-services-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.um-service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.um-service-item:hover {
  border-color: #ccc;
}

.um-service-item--selected {
  border-color: #0F4C3A;
  background: #f0fdf4;
}

.um-service-item--required {
  border-color: #ffc107;
  background: #fffde7;
}

.um-service-item input {
  display: none;
}

.um-service-item__icon {
  width: 40px;
  height: 40px;
  background: #e3f2fd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1976d2;
  font-size: 1rem;
}

.um-service-item--selected .um-service-item__icon {
  background: #0F4C3A;
  color: #fff;
}

.um-service-item__info {
  flex: 1;
}

.um-service-item__name {
  font-weight: 600;
  color: #333;
}

.um-service-item__required {
  font-size: 0.75rem;
  color: #ff9800;
  margin-left: 8px;
}

.um-service-item__price {
  font-weight: 700;
  color: #0F4C3A;
}

/* Price Panel */
.um-price-panel {
  background: linear-gradient(to bottom, #fafbfc 0%, #fff 100%);
  padding: 18px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.um-price-summary {
  max-width: 400px;
  margin-left: auto;
}

.um-price-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #64748b;
}

.um-price-row--fee {
  color: #94a3b8;
  font-size: 0.8rem;
}

.um-price-row--total {
  border-top: 1px solid rgba(15, 76, 58, 0.15);
  padding-top: 10px;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0F4C3A;
}

.um-price-row--perperson {
  color: #10b981;
  font-weight: 500;
  font-size: 0.9rem;
}

.um-price-empty {
  color: #94a3b8;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
}

/* Modal Footer */
.um-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(to bottom, #fff, #fafbfc);
  border-radius: 0 0 24px 24px;
}

.um-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.um-btn--primary {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a6b52 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 76, 58, 0.2);
}

.um-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15, 76, 58, 0.25);
}

.um-btn--secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.um-btn--secondary:hover {
  background: #e2e8f0;
  color: #334155;
}

.um-btn--success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.um-btn--success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

/* Review Section */
.um-review {}

.um-review-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.um-review-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0F4C3A;
  margin-bottom: 12px;
  font-size: 1rem;
}

.um-review-section h4 i {
  color: #D4AF37;
}

.um-review-section p {
  margin: 6px 0;
  color: #555;
  font-size: 0.9rem;
}

.um-review-section ul {
  margin: 0;
  padding-left: 20px;
}

.um-review-section li {
  color: #555;
  font-size: 0.85rem;
  margin: 4px 0;
}

/* Success Modal */
.um-success-content {
  text-align: center;
  padding: 40px;
}

.um-success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
}

.um-success-content h2 {
  color: #0F4C3A;
  margin-bottom: 15px;
}

.um-success-code {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.um-success-note {
  color: #666;
  font-size: 0.9rem;
  margin: 20px 0;
}

/* Loading State */
.um-loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1rem;
}

.um-loading i {
  color: #0F4C3A;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .um-modal__container {
    max-height: 95vh;
    border-radius: 16px;
  }

  .um-modal__body {
    max-height: 45vh;
    padding: 15px;
  }

  .um-setup-section {
    grid-template-columns: 1fr;
  }

  .um-hotels-grid,
  .um-flights-grid,
  .um-transport-grid {
    grid-template-columns: 1fr;
  }

  .um-flight-card {
    flex-wrap: wrap;
  }

  .um-flight-card__price {
    width: 100%;
    text-align: left;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }

  .um-modal__footer {
    flex-direction: column;
  }

  .um-btn {
    width: 100%;
    justify-content: center;
  }

  .um-steps {
    gap: 5px;
    padding: 15px 10px;
  }

  .um-step {
    padding: 8px 12px;
  }

  .um-step__number {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .um-step__label {
    font-size: 0.65rem;
  }
}

/* ============================================
   ADDITIONAL UI FIXES
   ============================================ */

/* Nights Control - Center Input */
.um-nights-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.um-nights-control label {
  color: #666;
  font-size: 0.9rem;
  min-width: 100px;
}

.um-nights-control button {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.um-nights-control button:hover {
  background: #0F4C3A;
  color: white;
  border-color: #0F4C3A;
}

.um-nights-control input {
  width: 45px;
  height: 36px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  -moz-appearance: textfield;
}

.um-nights-control input::-webkit-outer-spin-button,
.um-nights-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Also hide arrows on persons input */
.um-persons-control input[type="number"] {
  -moz-appearance: textfield;
}

.um-persons-control input[type="number"]::-webkit-outer-spin-button,
.um-persons-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.um-nights-control {
  margin-bottom: 20px;
}

/* Flight Card Logo - Fallback styling */
.um-flight-card__logo {
  width: 70px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}

.um-flight-card__logo img {
  max-width: 55px;
  max-height: 45px;
  object-fit: contain;
}

.um-flight-card__logo i {
  font-size: 2rem;
  color: #0F4C3A;
}

/* Service Item Enhanced Styling */
.um-service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.um-service-item:hover {
  border-color: #0F4C3A;
  background: #f0fdf4;
}

.um-service-item--selected {
  border-color: #0F4C3A;
  background: linear-gradient(to right, #f0fdf4, #fff);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.um-service-item--selected .um-service-item__icon {
  background: #0F4C3A;
  color: white;
}

.um-service-item--required {
  border-color: #0F4C3A;
  background: #f0fdf4;
}

.um-service-item input[type="checkbox"] {
  display: none;
}

.um-service-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #0F4C3A;
  transition: all 0.2s;
  flex-shrink: 0;
}

.um-service-item__info {
  flex: 1;
}

.um-service-item__name {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

.um-service-item__required {
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 8px;
}

.um-service-item__price {
  font-weight: 700;
  color: #0F4C3A;
  font-size: 1rem;
  white-space: nowrap;
}

/* Review Section - Compact */
.um-review-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.um-review-section h4 {
  font-size: 0.95rem;
  color: #0F4C3A;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.um-review-section h4 i {
  font-size: 1rem;
}

.um-review-section p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.um-review-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.um-review-section ul li {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 4px;
}

/* Price Summary - Compact */
.um-price-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.um-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #4b5563;
}

.um-price-row--fee {
  color: #9ca3af;
  font-size: 0.85rem;
}

.um-price-row--total {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0F4C3A;
  border-top: 2px solid #0F4C3A;
  padding-top: 12px;
  margin-top: 8px;
}

.um-price-row--perperson {
  color: #6b7280;
  font-size: 0.85rem;
}

/* Price Panel Review - More Compact */
.um-price-panel-review {
  background: linear-gradient(180deg, #f8fafa 0%, #fff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
}

.um-price-panel-review .um-section-title {
  margin-bottom: 12px;
  font-size: 1rem;
}

/* =========================================
   FLATPICKR CUSTOM STYLING - UMRAH FLEKSIBEL
   ========================================= */

/* Date Input Field - Premium Look */
.um-date-picker {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.um-date-picker:hover {
  border-color: #0F4C3A;
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.1);
}

.um-date-picker:focus,
.um-date-picker.active {
  border-color: #0F4C3A;
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.15);
  outline: none;
}

/* Flatpickr Alt Input - Hide only the original hidden input */
.um-date-picker-original {
  position: absolute !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* The Calendar Container */
.flatpickr-calendar {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 320px;
  padding: 0;
  margin-top: 8px;
  animation: umCalendarSlide 0.25s ease-out;
}

@keyframes umCalendarSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Calendar Header - Month/Year */
.flatpickr-months {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a7a5e 100%);
  border-radius: 16px 16px 0 0;
  padding: 16px 12px;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  height: 40px;
}

.flatpickr-current-month {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.flatpickr-current-month input.cur-year {
  color: #ffffff;
  font-weight: 700;
}

/* Navigation Arrows */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: #ffffff;
  color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.15);
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  fill: #ffffff;
  width: 14px;
  height: 14px;
}

/* Weekday Headers */
.flatpickr-weekdays {
  background: #f8fffe;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
}

.flatpickr-weekday {
  color: #0F4C3A;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Days Container */
.flatpickr-days {
  padding: 8px;
}

.dayContainer {
  min-width: 100%;
  max-width: 100%;
}

/* Individual Day Cells */
.flatpickr-day {
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  height: 40px;
  line-height: 40px;
  margin: 2px;
  transition: all 0.2s ease;
  border: none;
}

.flatpickr-day:hover {
  background: #f0fdf4;
  border-color: #0F4C3A;
  color: #0F4C3A;
}

/* Today */
.flatpickr-day.today {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);
  border: 2px solid #C9A227;
  color: #C9A227;
  font-weight: 700;
}

.flatpickr-day.today:hover {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.25) 0%, rgba(201, 162, 39, 0.15) 100%);
  color: #9E7F28;
}

/* Selected Day */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: linear-gradient(135deg, #0F4C3A 0%, #1a7a5e 100%);
  border-color: #0F4C3A;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: linear-gradient(135deg, #0a3d2e 0%, #0F4C3A 100%);
  border-color: #0a3d2e;
}

/* In Range Days */
.flatpickr-day.inRange {
  background: rgba(15, 76, 58, 0.1);
  border-color: transparent;
  color: #0F4C3A;
}

/* Disabled Days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #cbd5e1;
  background: transparent;
  cursor: not-allowed;
}

.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
  background: transparent;
  border-color: transparent;
}

/* Week Numbers */
.flatpickr-weekwrapper .flatpickr-weeks {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}

.flatpickr-weekwrapper span.flatpickr-day {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .flatpickr-calendar {
    width: 100%;
    max-width: 320px;
  }

  .flatpickr-day {
    height: 44px;
    line-height: 44px;
    font-size: 0.95rem;
  }

  .um-date-picker {
    font-size: 0.9rem;
    padding: 12px 14px;
  }
}

/* Arrow pointer */
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  display: none;
}

/* Inner Container */
.flatpickr-innerContainer {
  border-bottom: none;
}

/* Number Input Arrows in Calendar - Hide them */
.flatpickr-current-month .numInputWrapper span {
  display: none;
}

/* =========================================================
   JAMAAH PROGRESS SECTION (Dashboard)
   Premium travel card — refined typography & micro-animations
   ========================================================= */
.jamaah-progress-section {
  margin: 0;
  padding: 0;
}

/* Main Card */
.jamaah-progress-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 76, 58, 0.07), 0 0 0 1px rgba(226, 232, 240, 0.5);
  border: none;
  overflow: hidden;
  margin-bottom: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.jamaah-progress-card:hover {
  box-shadow: 0 8px 32px rgba(15, 76, 58, 0.10), 0 0 0 1px rgba(226, 232, 240, 0.6);
}

/* ---- Header ---- */
.jamaah-progress-card .progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.jamaah-progress-card .progress-header::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.jamaah-progress-card .progress-agency {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jamaah-progress-card .progress-agency-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.jamaah-progress-card .progress-agency>i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 1.15rem;
  color: #ffffff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.jamaah-progress-card .progress-agency-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.jamaah-progress-card .progress-agency-info small {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.78rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
}

.jamaah-progress-card .progress-agency-info small i {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.7rem;
}

.jamaah-progress-card .progress-status-badge {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  white-space: nowrap;
}

.jamaah-progress-card .status-pending {
  background: rgba(255, 255, 255, 0.13);
  color: white;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.jamaah-progress-card .status-lengkap {
  background: rgba(16, 185, 129, 0.85);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.jamaah-progress-card .status-berangkat {
  background: rgba(245, 158, 11, 0.9);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.jamaah-progress-card .status-selesai {
  background: rgba(59, 130, 246, 0.85);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ---- Sections ---- */
.jamaah-progress-card .progress-section {
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
}

.jamaah-progress-card .progress-section:last-child {
  border-bottom: none;
}

.jamaah-progress-card .progress-section h5 {
  margin: 0 0 14px 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: none;
  letter-spacing: 0.03em;
}

.jamaah-progress-card .progress-section h5 i {
  color: #0F4C3A;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---- Document Grid ---- */
.jamaah-progress-card .doc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.jamaah-progress-card .doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e9eef5;
  text-align: center;
  transition: all 0.25s ease;
  cursor: default;
  position: relative;
}

.jamaah-progress-card .doc-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.jamaah-progress-card .doc-item i {
  font-size: 1.2rem;
  margin-bottom: 6px;
  transition: transform 0.2s ease;
}

.jamaah-progress-card .doc-item:hover i {
  transform: scale(1.1);
}

.jamaah-progress-card .doc-item .doc-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 3px;
  line-height: 1.3;
}

.jamaah-progress-card .doc-item .doc-status {
  font-size: 0.62rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Document Status Colors */
.jamaah-progress-card .doc-completed {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
}

.jamaah-progress-card .doc-completed i {
  color: #10b981;
}

.jamaah-progress-card .doc-completed .doc-status {
  color: #059669;
}

.jamaah-progress-card .doc-completed .doc-label {
  color: #065f46;
}

.jamaah-progress-card .doc-pending {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.jamaah-progress-card .doc-pending i {
  color: #b0bec5;
}

.jamaah-progress-card .doc-pending .doc-status {
  color: #94a3b8;
}

.jamaah-progress-card .doc-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.jamaah-progress-card .doc-warning i {
  color: #f59e0b;
}

.jamaah-progress-card .doc-warning .doc-status {
  color: #d97706;
}

.jamaah-progress-card .doc-expired {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}

.jamaah-progress-card .doc-expired i {
  color: #ef4444;
}

.jamaah-progress-card .doc-expired .doc-status {
  color: #dc2626;
}

/* ---- Payment Progress ---- */
.jamaah-progress-card .payment-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jamaah-progress-card .payment-bar-container {
  height: 6px;
  background: #e9eef5;
  border-radius: 3px;
  overflow: hidden;
}

.jamaah-progress-card .payment-bar {
  height: 100%;
  background: linear-gradient(90deg, #0F4C3A 0%, #10b981 60%, #34d399 100%);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}

.jamaah-progress-card .payment-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jamaah-progress-card .payment-pct {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F4C3A;
  letter-spacing: -0.02em;
}

.jamaah-progress-card .payment-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  padding: 4px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.jamaah-progress-card .payment-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.jamaah-progress-card .payment-amounts>div {
  padding: 10px 8px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  transition: background 0.2s ease;
}

.jamaah-progress-card .payment-amounts>div:hover {
  background: #f1f5f9;
}

.jamaah-progress-card .payment-amounts small {
  display: block;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.jamaah-progress-card .payment-amounts strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

/* ---- Upload Bukti Transfer Button ---- */
.jamaah-progress-card .payment-proof-cta {
  margin-top: 14px;
  text-align: center;
}

.jamaah-progress-card .btn-upload-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0F4C3A 0%, #1a7a5e 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(15, 76, 58, 0.2);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.jamaah-progress-card .btn-upload-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.jamaah-progress-card .btn-upload-proof:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 58, 0.3);
  background: linear-gradient(135deg, #0a3d2e 0%, #0F4C3A 100%);
}

.jamaah-progress-card .btn-upload-proof:hover::before {
  left: 100%;
}

.jamaah-progress-card .btn-upload-proof:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 76, 58, 0.2);
}

.jamaah-progress-card .btn-upload-proof i {
  font-size: 0.9rem;
}

/* SweetAlert Payment Proof Modal */
.swal-payment-proof-popup {
  border-radius: 18px !important;
  max-width: 400px !important;
  padding: 20px !important;
  overflow: hidden !important;
}

.swal-payment-proof-confirm {
  border-radius: 10px !important;
  padding: 11px 32px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 8px rgba(15, 76, 58, 0.25) !important;
}

.swal-payment-proof-cancel {
  border-radius: 10px !important;
  padding: 11px 24px !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  border: none !important;
}

.swal-payment-proof-cancel:hover {
  background: #e2e8f0 !important;
}

@media (max-width: 480px) {
  .swal-payment-proof-popup {
    max-width: 95vw !important;
    padding: 16px !important;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .jamaah-progress-section {
    padding: 0 12px;
    margin: 16px 0;
  }

  .jamaah-progress-card .progress-header {
    flex-direction: row;
    gap: 10px;
    padding: 14px 16px;
  }

  .jamaah-progress-card .progress-agency {
    flex-direction: row;
    min-width: 0;
  }

  .jamaah-progress-card .progress-agency-info h4 {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }

  .jamaah-progress-card .progress-section {
    padding: 14px 16px;
  }

  .jamaah-progress-card .doc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .jamaah-progress-card .doc-item {
    padding: 10px 4px 8px;
  }

  .jamaah-progress-card .doc-item i {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .jamaah-progress-card .doc-item .doc-label {
    font-size: 0.62rem;
  }

  .jamaah-progress-card .doc-item .doc-status {
    font-size: 0.58rem;
  }

  .jamaah-progress-card .payment-amounts {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .jamaah-progress-card .payment-amounts>div {
    padding: 8px 4px;
  }

  .jamaah-progress-card .payment-amounts small {
    font-size: 0.58rem;
  }

  .jamaah-progress-card .payment-amounts strong {
    font-size: 0.72rem;
  }

  .jamaah-progress-card .payment-pct {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .jamaah-progress-card .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jamaah-progress-card .payment-amounts {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .jamaah-progress-card .payment-amounts>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }

  .jamaah-progress-card .payment-amounts small {
    margin-bottom: 0;
  }
}

/* =========================================================
   RIWAYAT UMRAH - History Cards
   ========================================================= */
.umrah-history-section {
  margin-top: 0;
}

.umrah-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.umrah-history-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(226, 232, 240, 0.5);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.umrah-history-card:hover {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.7);
}

.history-card-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.history-card-main:hover {
  background: #fafbfc;
}

.history-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.history-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #f8fafc;
  padding: 3px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.history-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0F4C3A, #1a6b52);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.history-info {
  min-width: 0;
}

.history-info h4 {
  margin: 0 0 4px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-date {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.history-date i {
  font-size: 0.65rem;
}

.history-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.history-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.history-badge-done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.history-expand-icon {
  font-size: 0.7rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

/* Expandable Detail */
.history-card-detail {
  border-top: 1px solid #f1f5f9;
  padding: 14px 18px;
  background: #fafbfc;
  animation: historySlideDown 0.2s ease;
}

@keyframes historySlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.history-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}

.history-detail-row+.history-detail-row {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: 4px;
}

.history-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 80px;
  padding-top: 2px;
}

.history-doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.history-doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 16px;
  background: #f1f5f9;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
}

.history-doc-tag .text-green {
  color: #10b981;
}

.history-doc-tag .text-gray {
  color: #94a3b8;
}

.history-payment-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.history-payment-bar {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  max-width: 120px;
}

.history-payment-fill {
  height: 100%;
  background: linear-gradient(90deg, #0F4C3A, #10b981);
  border-radius: 3px;
}

.history-payment-text {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.history-rating-value {
  display: flex;
  align-items: center;
}

.history-actions-row {
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 10px !important;
  border-top: 1px dashed #e2e8f0 !important;
}

.history-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #ef4444;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-delete-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

.history-delete-btn i {
  font-size: 0.68rem;
}

/* Mobile responsive for history cards */
@media (max-width: 768px) {
  .history-card-main {
    padding: 12px 14px;
    gap: 8px;
  }

  .history-logo,
  .history-logo-placeholder {
    width: 36px;
    height: 36px;
  }

  .history-info h4 {
    font-size: 0.82rem;
  }

  .history-badge-done {
    padding: 3px 8px;
    font-size: 0.65rem;
  }

  .history-detail-row {
    flex-direction: column;
    gap: 6px;
  }

  .history-detail-label {
    min-width: unset;
  }
}

/* =========================================================
   POST-UMRAH SURVEY - Premium Design
   ========================================================= */

/* Survey CTA Banner inside travel card */
.survey-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
  border-top: 2px solid #a5b4fc;
  animation: surveyPulse 3s ease-in-out infinite;
}

@keyframes surveyPulse {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.survey-cta-banner.survey-done {
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-top-color: #6ee7b7;
  color: #047857;
  font-weight: 600;
  font-size: 0.9rem;
  animation: none;
}

.survey-cta-banner.survey-done i {
  font-size: 1.2rem;
  color: #10b981;
}

.survey-cta-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.survey-cta-content>i {
  font-size: 2rem;
  color: #4f46e5;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.3));
}

.survey-cta-content strong {
  display: block;
  color: #1e1b4b;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.survey-cta-content p {
  margin: 0;
  color: #6366f1;
  font-size: 0.8rem;
}

.btn-survey {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-survey:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

/* Survey Modal */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.survey-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: surveyModalIn 0.3s ease-out;
}

@keyframes surveyModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.survey-modal .modal-header {
  padding: 20px 24px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e1b4b, #3730a3, #4f46e5) !important;
  position: relative;
  overflow: hidden;
}

.survey-modal .modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.survey-modal .modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
}

.survey-modal .modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}

.survey-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Survey intro */
.survey-intro {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid #ddd6fe;
}

.survey-intro p {
  margin: 0;
  color: #5b21b6;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Survey sections */
.survey-section {
  padding: 20px 0 16px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.survey-section:last-of-type {
  border-bottom: none;
}

.survey-section h4 {
  margin: 0 0 18px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.survey-section h4 i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 10px;
  font-size: 0.9rem;
}

/* Section icon backgrounds */
.survey-section:nth-child(1) h4 i {
  background: #fef3c7;
  color: #d97706;
}

.survey-section:nth-child(2) h4 i {
  background: #ede9fe;
  color: #7c3aed;
}

.survey-section:nth-child(3) h4 i {
  background: #cffafe;
  color: #0891b2;
}

.survey-section:nth-child(4) h4 i {
  background: #fef3c7;
  color: #b45309;
}

.survey-section:nth-child(5) h4 i {
  background: #d1fae5;
  color: #059669;
}

.survey-section:nth-child(6) h4 i {
  background: #fce7f3;
  color: #db2777;
}

.survey-field {
  margin-bottom: 20px;
  padding-left: 4px;
}

.survey-field:last-child {
  margin-bottom: 4px;
}

.survey-field label {
  display: block;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.survey-field label .required {
  color: #ef4444;
  font-weight: 700;
}

.survey-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.85rem;
  resize: vertical;
  transition: all 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  background: #f8fafc;
  color: #1e293b;
}

.survey-field textarea:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
  background: #fff;
}

.survey-field textarea::placeholder {
  color: #94a3b8;
}

/* Star ratings â€” premium golden */
.survey-stars {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.survey-star {
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.15s ease;
  user-select: none;
  padding: 2px;
}

.survey-star:hover {
  transform: scale(1.25);
}

.survey-star:active {
  transform: scale(0.95);
}

.survey-star i.far {
  color: #d1d5db;
  transition: color 0.15s;
}

.survey-star i.fas {
  color: #f59e0b;
  filter: drop-shadow(0 1px 3px rgba(245, 158, 11, 0.4));
}

/* Radio groups â€” pill style */
.survey-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.survey-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.83rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  background: #f8fafc;
  color: #475569;
  font-weight: 500;
}

.survey-radio:hover {
  border-color: #a5b4fc;
  background: #eef2ff;
  color: #4338ca;
}

.survey-radio input[type="radio"] {
  display: none;
}

.survey-radio:has(input:checked) {
  border-color: #6366f1;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4338ca;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
  transform: scale(1.02);
}

/* Submit button area */
#surveyForm .form-actions {
  padding-top: 8px;
  border-top: 2px solid #f1f5f9;
  margin-top: 20px;
}

#surveyForm .btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s;
}

#surveyForm .btn-primary:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .survey-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .survey-cta-content {
    flex-direction: column;
  }

  .survey-modal {
    padding: 8px;
    align-items: flex-end;
  }

  .survey-modal-content {
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }

  .survey-radio-group {
    flex-direction: column;
  }

  .survey-radio {
    width: 100%;
    justify-content: center;
  }

  .survey-star {
    font-size: 1.8rem;
  }

  .survey-section h4 i {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FINAL OVERRIDE: Badge row wrapping + akreditasi sizing
   Must come last to override all earlier nowrap rules.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body #agencyModal .modal-badges,
body #agencyModal #modal-badges {
  flex-wrap: wrap !important;
}

body #agencyModal .modal-badges .badge-akred,
body #agencyModal #modal-badges .badge-akred {
  flex: 0 0 auto !important;
  min-width: auto !important;
}

body #agencyModal .modal-badges .assoc-badges-row,
body #agencyModal #modal-badges .assoc-badges-row {
  flex-basis: 100% !important;
  width: 100% !important;
}

/* =========================================
   SHARE MODAL - Premium Style
   ========================================= */
.share-modal-popup {
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 480px) {
  .share-modal-popup {
    width: 92% !important;
    padding: 20px 16px !important;
  }
}