/* ====== Affiliate Widgets ====== */
.affiliate-widgets-section {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.affiliate-widgets-section h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
}

.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.affiliate-widget {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.widget-header h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.widget-header p {
  margin: 0 0 12px 0;
  font-size: 14px;
  opacity: 0.9;
}

.widget-content {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-content iframe {
  width: 100%;
  min-height: 200px;
  border: none;
  border-radius: 6px;
}

/* Section-specific widgets */
.section-widgets {
  margin: 16px 0;
  padding: 16px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--brand);
}

.section-widget {
  margin-bottom: 12px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-widget:last-child {
  margin-bottom: 0;
}

/* Enhanced checklist functionality */
.dont-forget-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 6px;
  margin: 4px 0;
}

.dont-forget-item:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.dont-forget-item input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
  cursor: pointer;
}

.dont-forget-item label {
  cursor: pointer;
  flex: 1;
  transition: color 0.2s ease;
}

.dont-forget-item.checked label {
  text-decoration: line-through;
  color: var(--muted);
}

.dont-forget-item.checked {
  background-color: rgba(34, 197, 94, 0.1);
}

/* Budget checklist with widget integration */
.budget-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.budget-checkbox input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
  cursor: pointer;
}

.budget-checkbox label {
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s ease;
}

.budget-checkbox:hover label {
  color: var(--brand);
}

/* Mobile responsiveness for widgets */
@media (max-width: 768px) {
  .widgets-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .affiliate-widgets-section {
    padding: 16px;
    margin: 24px 0;
  }
  
  .affiliate-widget {
    padding: 12px;
  }
  
  .widget-content {
    min-height: 150px;
  }
  
  .section-widgets {
    padding: 12px;
    margin: 12px 0;
  }
  
  .section-widget {
    padding: 10px;
  }
  
  .dont-forget-item {
    padding: 6px 0;
  }
  
  .dont-forget-item input[type="checkbox"] {
    transform: scale(1.1);
  }
}

@media (max-width: 480px) {
  .affiliate-widgets-section {
    padding: 12px;
    margin: 16px 0;
  }
  
  .widgets-grid {
    gap: 8px;
  }
  
  .affiliate-widget {
    padding: 10px;
  }
  
  .widget-content {
    min-height: 120px;
  }
}

/* ====== Base ====== */
:root{
  --bg: #f7f9fb;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #2563eb;
  --brand-2: #22c55e;
  --ring: rgba(37,99,235,.25);
  --error: #dc2626;
  --error-bg: #fef2f2;
  --success: #10b981;
  --warning: #f59e0b;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

a{ color:var(--brand); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width:min(1140px, 92vw);
  margin-inline:auto;
  padding-inline: 4px;
}

/* ====== Topbar ====== */
.topbar{
  position:sticky; top:0; z-index:100;
  background:#fff;
  backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 1px 0 rgba(2,8,23,.06);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height:64px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-badge{
  display:inline-grid; place-items:center;
  width:36px; height:36px; border-radius:10px;
  font-weight:700; color:#fff; background:linear-gradient(135deg, var(--brand), #0ea5e9);
}
.brand-name{ color:var(--ink); font-weight:700; letter-spacing:.2px; }

.btn{
  appearance:none; border:0; cursor:pointer; text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem; padding:.875rem 1.25rem; border-radius:12px; font-weight:600;
  font-size:15px; line-height:1.4; min-height:48px;
  transition:all .2s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative; overflow:hidden;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.btn:active{
  transform: translateY(0);
  transition:all .1s ease;
}

.btn-cta{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
}

.btn-cta:hover{
  box-shadow: 0 12px 32px rgba(37,99,235,.35);
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
}

.btn-primary{
  color:#fff;
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(37,99,235,.25);
}

.btn-primary:hover{
  background: var(--brand-2);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}

.btn-ghost{
  color:var(--ink);
  background:#eef2ff;
  border:1px solid #e2e8ff;
}

.btn-ghost:hover{
  background:#e2e8ff;
  border-color:#d1d9ff;
  color:var(--brand);
}

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

.btn:disabled{
  opacity:0.5;
  cursor:not-allowed;
  transform:none !important;
}

/* Enhanced button variants */
.btn-outline {
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.btn-success {
  background: #16a34a;
  color: white;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  background: #15803d;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-warning {
  background: #f59e0b;
  color: white;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  background: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-danger {
  background: #dc2626;
  color: white;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: #b91c1c;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 14px;
  min-height: 36px;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 16px;
  min-height: 56px;
}

.btn-xl {
  padding: 1.25rem 2rem;
  font-size: 18px;
  min-height: 64px;
}

/* Button with icons */
.btn-icon {
  min-width: 48px;
  padding: 0.875rem;
}

.btn-icon-sm {
  min-width: 36px;
  padding: 0.5rem;
}

/* Loading state */
.btn-loading {
  color: transparent;
}

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

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

/* ====== HERO ====== */
.hero{
  position:relative;
  padding: 28px 0 48px;
  background:
    radial-gradient(1200px 500px at 50% -150px, rgba(2,8,23,.08), transparent 60%),
    var(--hero-bg, none) center/cover no-repeat;
}
.hero::after{
  /* soft bottom fade */
  content:""; position:absolute; inset:auto 0 0 0; height:48px;
  background:linear-gradient(180deg, rgba(247,249,251,0), var(--bg));
}

/* two columns */
.hero-grid{
  display:grid; gap:28px; align-items:stretch;
  grid-template-columns: 1.1fr .9fr;
}

/* Card shell */
.hero-card{
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2,8,23,.08);
  min-height: 360px;
  height: 100%;
}
.hero-left{
  padding: 28px;
  display:flex; flex-direction:column; justify-content:center;
  gap:16px;
}
.hero-left h1{
  font-size:clamp(2rem, 4vw, 3rem);
  font-weight:800; line-height:1.1;
  margin:0;
}
.hl{ color:var(--brand); }
.lede{
  font-size:1.125rem; line-height:1.5;
  color:var(--muted); margin:0;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap:wrap;
}
.hero-right{
  padding:0; overflow:hidden;
  display:flex; flex-direction:column;
}
.hero-right img{
  width:100%; height:100%; object-fit:cover;
  flex:1;
}
.hero-right figcaption{
  padding:16px; text-align:center;
  color:var(--muted); font-size:14px;
}

/* ====== MAIN ====== */
.main{
  padding:48px 0;
}
.grid-2{
  display:grid; gap:32px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width:768px) {
  .grid-2{ grid-template-columns:1fr; }
}

.card{
  background:var(--card);
  border-radius:16px;
  box-shadow: 0 4px 20px rgba(2,8,23,.06);
  padding:24px;
}
.card-header{
  margin-bottom:16px;
}
.card-header h2{
  margin:0; font-size:1.5rem; font-weight:700;
}

/* ====== FORM ====== */
.form{
  display:flex; flex-direction:column; gap:20px;
}
.field{
  display:flex; flex-direction:column; gap:8px;
}
.field span, .field label{
  font-weight:600; color:var(--ink);
}
.field input, .field textarea, .field select{
  appearance:none;
  padding:12px 16px;
  border:2px solid #e2e8f0;
  border-radius:12px;
  font:inherit;
  background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 3px var(--ring);
}

.field select{
  cursor:pointer;
  background:white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 8px center;
  background-size:16px;
  padding-right:40px;
}

.field select[multiple]{
  background-image:none;
  padding:8px 12px;
  min-height:80px;
  overflow-y:auto;
}

.field select option{
  padding:8px 12px;
  font-size:14px;
}
.field textarea{
  resize:vertical; min-height:100px;
  font-family:inherit;
}
.field-help{
  font-size:14px; color:var(--muted);
  margin-top:4px;
}

.fields-2{
  display:grid; gap:16px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width:480px) {
  .fields-2{ grid-template-columns:1fr; }
}

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px;
  border:2px solid #e2e8f0;
  border-radius:999px;
  cursor:pointer;
  transition:all .2s ease;
  background: #fff;
  font-weight: 500;
  position: relative;
}
.chip:hover{ 
  border-color:var(--brand); 
  background:#f8fafc; 
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.chip input[type="radio"], .chip input[type="checkbox"]{ 
  display:none; 
}
.chip input[type="radio"]:checked, .chip input[type="checkbox"]:checked { 
  display: none; 
}
.chip:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Enhanced dietary options layout */
.dietary-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.dietary-options .chip {
  justify-content: center;
  text-align: center;
  min-height: 44px;
}

/* Enhanced style options layout */
fieldset.field {
  border: none;
  padding: 0;
  margin: 0;
}

fieldset.field legend {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  font-size: 14px;
}

fieldset.field .chip {
  margin-right: 12px;
  margin-bottom: 8px;
}

.actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:8px;
}

/* ====== PREVIEW ====== */
.preview-content{
  min-height:200px;
  padding:20px;
  background:#f8fafc;
  border-radius:12px;
  border:2px dashed #e2e8f0;
}
.preview-content p{ margin:0; }

/* Enhanced preview teaser */
.preview-teaser{
  text-align: center;
  padding: 20px;
}

.preview-teaser h3{
  margin: 0 0 20px 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.preview-stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.stat-label{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-value{
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
}

.preview-description{
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 20px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.preview-features{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.feature{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  color: var(--ink);
}

.preview-cta{
  font-size: 18px;
  color: var(--brand);
  margin: 20px 0 0 0;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

/* Error states */
.error{
  color: var(--error);
  background: var(--error-bg);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--error);
  margin: 8px 0;
}

.loading{
  display:flex; flex-direction:column; align-items:center; gap:16px;
  padding:40px 20px;
  text-align:center;
}
.spinner{
  width:40px; height:40px;
  border:4px solid #e2e8f0;
  border-top:4px solid var(--brand);
  border-radius:50%;
  animation:spin 1s linear infinite;
}
@keyframes spin{
  0% { transform:rotate(0deg); }
  100% { transform:rotate(360deg); }
}

.hidden{ display:none !important; }

/* ====== AFFILIATE LINKS ====== */
.affiliate-links{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.affiliate-links h4{
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.affiliate-links .btn{
  font-size: 14px;
  padding: 8px 16px;
}

/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-section h4 {
  color: #f9fafb;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 1px;
}

.footer-section.main-section {
  grid-column: 1;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand .brand-badge {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-brand .brand-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f9fafb;
}

.brand-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  border-color: var(--brand);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--brand);
}

.referral-info {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.referral-code-container {
  margin-bottom: 1rem;
}

.referral-label {
  display: block;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.referral-code-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.referral-code {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--brand);
  font-size: 1rem;
  letter-spacing: 1px;
}

.copy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d1d5db;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.copyright {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #d1d5db;
}

.separator {
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-language-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-language-select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.1);
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  color: #d1d5db;
  font-weight: 500;
}

.badge i {
  color: var(--brand);
}

/* Referral Modal */
.referral-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.referral-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

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

.referral-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.referral-modal-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
}

.referral-modal-body {
  padding: 2rem;
}

.referral-modal-body p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.share-options h4 {
  margin: 0 0 1rem 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
}

.share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.share-btn.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.share-btn.social:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0 0 0.75rem 0;
  color: #f9fafb;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text p:last-child {
  margin-bottom: 0;
}

.cookie-links {
  font-size: 0.875rem;
}

.cookie-links a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-links a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-actions .btn-primary {
  background: var(--brand);
  color: white;
  border: none;
}

.cookie-actions .btn-primary:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.cookie-actions .btn-ghost {
  background: transparent;
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* ====== MARKDOWN ====== */
.markdown{
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
}
.markdown h1, .markdown h2, .markdown h3{
  margin:24px 0 16px 0;
  font-weight:700;
}
.markdown h1{ font-size:1.75rem; }
.markdown h2{ font-size:1.5rem; }
.markdown h3{ font-size:1.25rem; }
.markdown p{ margin:16px 0; }
.markdown ul, .markdown ol{ margin:16px 0; padding-left:24px; }
.markdown li{ margin:8px 0; }
.markdown a{ color:var(--brand); text-decoration:underline; }
.markdown img{ max-width:100%; height:auto; border-radius:8px; margin:16px 0; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero-grid, .grid-2{
    grid-template-columns: 1fr;
  }
  .hero-left{ min-height: 340px; }
  .hero-right{ min-height: 320px; }
  .actions{
    flex-direction: column;
  }
  .actions .btn{
    width: 100%;
  }
  
  /* Footer mobile improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-section {
    padding: 0 16px;
  }

  .referral-display {
    margin: 12px 8px 0 8px;
  }
  
  /* Form mobile improvements */
  .dietary-options {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  
  .dietary-options .chip {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  fieldset.field .chip {
    margin-right: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .hero-grid, .grid-2{
    grid-template-columns: 1fr;
  }
  .hero-left{ min-height: 340px; }
  .hero-right{ min-height: 320px; }
  .actions{
    flex-direction: column;
  }
  .actions .btn{
    width: 100%;
  }
  
  .dietary-options {
    grid-template-columns: 1fr;
  }
  
  fieldset.field .chip {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* Autocomplete styling */
.city-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.city-suggestion {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.city-suggestion:hover {
  background-color: #f8fafc;
}

.city-suggestion:last-child {
  border-bottom: none;
}

/* Budget table styling */
.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.budget-table th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--ink);
}

.budget-table tr:last-child td {
  border-bottom: none;
  font-weight: 600;
  background: #f0f9ff;
}

.budget-table tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.budget-table tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

/* Checkbox styling for budget items */
.budget-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.budget-checkbox:hover {
  background-color: #f1f5f9;
}

.budget-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.budget-checkbox.checked {
  background-color: #dbeafe;
  color: var(--brand);
}

/* Status indicators */
.status-pending {
  color: #f59e0b;
  font-weight: 500;
  font-size: 0.875rem;
}

.status-completed {
  color: #10b981;
  font-weight: 600;
  font-size: 0.875rem;
}

.status-total {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Don't forget list styling */
.dont-forget-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.dont-forget-list h3 {
  margin: 0 0 16px 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.dont-forget-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.dont-forget-item:last-child {
  border-bottom: none;
}

.dont-forget-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.dont-forget-item.checked {
  text-decoration: line-through;
  color: var(--muted);
  background-color: #f0fdf4;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 0 -12px;
}

.dont-forget-item label {
  cursor: pointer;
  flex: 1;
}

/* Footer refinement - removed duplicate styles */

/* Cookie banner refinement */
.cookie-banner{ padding: 8px 0; }
.cookie-content{ max-width: 960px; }
.cookie-text p{ margin: 0; line-height: 1.4; }
.cookie-actions .btn{ padding: 6px 10px; font-size: 0.85rem; }

/* Inputs alignment */
.fields-2 > .field .fields-2{ grid-template-columns: 1fr 140px; align-items: center; }
#currency{ height: 44px; border:1px solid var(--border); border-radius:8px; background: var(--bg); }

@media (max-width: 768px){
  .footer-content{ grid-template-columns: 1fr; gap: 12px; }
  .cookie-content{ padding: 0 12px; }
  .cookie-actions{ width:100%; justify-content:center; }
  .fields-2 > .field .fields-2{ grid-template-columns: 1fr 1fr; }
}

/* ====== NEW FEATURES CSS ====== */

/* Language Selector */
.language-selector {
  margin-right: 16px;
}

.language-selector select {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* User Menu Button */
.user-menu-btn {
  cursor: pointer;
  margin-right: 16px;
}

.user-menu-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
}

/* Trip Type Selector */
.trip-type-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* Multi-Destination */
.multi-destinations {
  margin-top: 16px;
}

.destination-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
}

.destination-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.destination-number {
  background: var(--brand);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.btn-icon {
  background: #ef4444;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.destination-inputs {
  display: grid;
  gap: 12px;
}

.destination-inputs input,
.destination-inputs select,
.destination-inputs textarea {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.destination-inputs textarea {
  resize: vertical;
  min-height: 60px;
}

.add-destination-section {
  text-align: center;
  margin-top: 16px;
}

/* Priority Indicators */
.priority-must-see { border-left: 4px solid #dc2626; }
.priority-high { border-left: 4px solid #ea580c; }
.priority-medium { border-left: 4px solid #ca8a04; }
.priority-low { border-left: 4px solid #16a34a; }
.priority-optional { border-left: 4px solid #6b7280; }

/* Authentication Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.auth-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
}

.btn-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.auth-tab {
  background: none;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.auth-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.auth-tab-content {
  display: none;
}

.auth-tab-content.active {
  display: block;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-google {
  background: #4285f4;
  color: white;
}

.btn-facebook {
  background: #1877f2;
  color: white;
}

.btn-apple {
  background: #000;
  color: white;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  background: white;
  padding: 0 16px;
  color: var(--muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.auth-form input {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

.auth-links {
  text-align: center;
  margin-bottom: 24px;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-outline {
  background: white;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-demo {
  background: var(--brand-2);
  color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
}

/* User Menu */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  z-index: 100;
  border: 1px solid #e2e8f0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-details {
  flex: 1;
}

.user-name {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.user-email {
  font-size: 14px;
  color: var(--muted);
}

.user-menu-actions {
  padding: 8px;
}

.menu-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  transition: background 0.2s ease;
}

.menu-btn:hover {
  background: #f1f5f9;
}

.menu-btn i {
  width: 16px;
  color: var(--muted);
}

/* Personal Cabinet */
.personal-cabinet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.cabinet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white;
}

.cabinet-header h2 {
  margin: 0;
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.cabinet-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.cabinet-sidebar {
  width: 300px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid #e2e8f0;
  padding: 32px 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.sidebar-item {
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  border-radius: 12px;
  font-weight: 500;
  font-size: 16px;
}

.sidebar-item:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  transform: translateX(4px);
}

.sidebar-item.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transform: translateX(4px);
}

.sidebar-item i {
  width: 20px;
  font-size: 18px;
}

.cabinet-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  background: #ffffff;
}

.cabinet-tab {
  display: none;
}

.cabinet-tab.active {
  display: block;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 40px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recent-plans h3 {
  margin-bottom: 16px;
  color: var(--ink);
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-info h4 {
  margin: 0 0 4px 0;
  color: var(--ink);
}

.plan-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-status.draft {
  background: #fef3c7;
  color: #92400e;
}

.plan-status.paid {
  background: #d1fae5;
  color: #065f46;
}

.plan-status.completed {
  background: #dbeafe;
  color: #1e40af;
}

/* Referral Content */
.referral-content {
  max-width: 600px;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.referral-stat {
  text-align: center;
  padding: 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.referral-link-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}

.referral-link-input {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.referral-link-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  background: #f1f5f9;
  color: var(--ink);
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: #e2e8f0;
}

/* Billing Content */
.billing-summary {
  margin-bottom: 32px;
}

.billing-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.billing-card h4 {
  margin: 0 0 8px 0;
  color: var(--ink);
}

.billing-card p {
  margin: 0 0 16px 0;
  color: var(--muted);
}

.payment-list h4 {
  margin-bottom: 16px;
  color: var(--ink);
}

.no-payments {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

.credits-display {
  margin-top: 32px;
}

.credits-display h4 {
  margin-bottom: 16px;
  color: var(--ink);
}

.credits-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
}

/* Profile Content */
.profile-content {
  max-width: 500px;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-form label {
  font-weight: 600;
  color: var(--ink);
}

.profile-form input {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

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

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 450px;
  animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(10px);
}

.notification-success {
  border-left: 5px solid var(--success, #10b981);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.notification-error {
  border-left: 5px solid var(--error, #ef4444);
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.notification-warning {
  border-left: 5px solid var(--warning, #f59e0b);
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.notification-info {
  border-left: 5px solid var(--brand);
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.notification-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.notification-close:hover {
  color: #1e293b;
  background: #f1f5f9;
}

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

/* Purchase Section Styles */
.purchase-header {
  text-align: center;
  margin-bottom: 24px;
}

.purchase-header h3 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 24px;
}

.purchase-description {
  color: var(--muted);
  font-size: 16px;
}

.purchase-options {
  margin-bottom: 24px;
}

.purchase-option {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--brand);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.option-icon {
  font-size: 32px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.option-details {
  flex: 1;
}

.option-details h4 {
  margin: 0 0 4px 0;
  color: var(--ink);
  font-size: 20px;
}

.option-details p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.option-price {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 18px;
}

.option-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-features .feature {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.paypal-container {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.purchase-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
  .cabinet-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .cabinet-content {
    flex-direction: column;
  }
  
  .overview-stats {
    grid-template-columns: 1fr;
  }
  
  .referral-stats {
    grid-template-columns: 1fr;
  }
  
  .referral-link-input {
    flex-direction: column;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .auth-modal-content {
    margin: 20px;
    padding: 24px;
  }
  
  .social-auth {
    gap: 8px;
  }
  
  .social-auth .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* Paywall Preview - Simple & Converting */
.paywall-preview {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.paywall-preview h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.paywall-preview p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.paywall-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.paywall-features span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.paywall-cta {
  font-size: 1.4rem !important;
  margin-top: 2rem !important;
}

.paywall-cta strong {
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* PayPal Fallback */
.paypal-fallback {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: 12px;
  border: 2px dashed var(--border);
}

.paypal-fallback p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.paypal-fallback .btn {
  background: var(--brand);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.paypal-fallback .btn:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

/* Test User Notice */
.test-user-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.test-user-notice h3 {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.test-user-notice p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* Trip Planning Animation */
.trip-planning-animation {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.animation-container {
  position: relative;
  z-index: 2;
}

.plane-flying {
  font-size: 3rem;
  animation: fly 3s ease-in-out infinite;
  margin-bottom: 1rem;
}

.hotel-building {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite 0.5s;
  margin-bottom: 1rem;
}

.restaurant-icon {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite 1s;
  margin-bottom: 1rem;
}

.activity-icon {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite 1.5s;
  margin-bottom: 2rem;
}

.loading-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.loading-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin: 2rem 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  border-radius: 4px;
  animation: progress 4s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.loading-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.loading-steps .step {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.loading-steps .step.active {
  background: rgba(255, 215, 0, 0.3);
  border-color: #ffd700;
  transform: scale(1.05);
}

@keyframes fly {
  0%, 100% { transform: translateX(-50px) rotate(-5deg); }
  50% { transform: translateX(50px) rotate(5deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Get Back Section */
.get-back-section {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.get-back-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.get-back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.get-back-note {
  color: white;
  opacity: 0.9;
  font-size: 1rem;
  margin: 0;
}
/* Wayzo Report Theming Overrides per spec */

/* Professional Report Styling */
.trip-report, #preview {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.trip-report h1, #preview h1 {
  color: #2c5aa0;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 15px;
}

.trip-report h2, #preview h2 {
  color: #34495e;
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #3498db;
}

.trip-report h3, #preview h3 {
  color: #2c3e50;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.trip-overview {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.trip-overview h1 {
  color: white;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.overview-item {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #f39c12;
}

.overview-item strong {
  display: block;
  margin-bottom: 5px;
  color: #f39c12;
}

.trip-report p, #preview p {
  margin-bottom: 12px;
  text-align: justify;
}

.trip-report ul, #preview ul,
.trip-report ol, #preview ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.trip-report li, #preview li {
  margin-bottom: 8px;
}

.trip-report table, #preview table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.trip-report th, #preview th,
.trip-report td, #preview td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left;
}

.trip-report th, #preview th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.trip-report tr:nth-child(even), #preview tr:nth-child(even) {
  background-color: #f8f9fa;
}

.trip-report tr:hover, #preview tr:hover {
  background-color: #e3f2fd;
}

.budget-table th {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%) !important;
}

.budget-table td:nth-child(2) {
  text-align: right;
  font-weight: 600;
  color: #27ae60;
}

.budget-table td:nth-child(3) {
  text-align: center;
  color: #f39c12;
  font-weight: 500;
}

.section-widget {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.widget-header h4 {
  color: #2c5aa0;
  margin-top: 0;
  font-size: 18px;
}

.highlight {
  background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 4px solid #3498db;
}

.tip {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #f39c12;
}

.tip:before {
  content: "💡 ";
  font-weight: bold;
}

.trip-report blockquote, #preview blockquote {
  border-left: 4px solid #3498db;
  margin: 20px 0;
  padding: 15px 20px;
  background: #f8f9fa;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.trip-report a, #preview a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.trip-report a:hover, #preview a:hover {
  color: #764ba2;
  text-decoration: none;
}

/* Premium Booking Button Styles - Hotel, Flight, Car, Transfer */
.trip-report a[href*="#hotel-widget"],
.trip-report a[href*="#flight-widget"],
.trip-report a[href*="#car-widget"],
.trip-report a[href*="#airport-widget"],
#preview a[href*="#hotel-widget"],
#preview a[href*="#flight-widget"],
#preview a[href*="#car-widget"],
#preview a[href*="#airport-widget"] {
  display: inline-block;
  padding: 10px 20px !important;
  margin: 8px 4px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.trip-report a[href*="#hotel-widget"]:hover,
.trip-report a[href*="#flight-widget"]:hover,
.trip-report a[href*="#car-widget"]:hover,
.trip-report a[href*="#airport-widget"]:hover,
#preview a[href*="#hotel-widget"]:hover,
#preview a[href*="#flight-widget"]:hover,
#preview a[href*="#car-widget"]:hover,
#preview a[href*="#airport-widget"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
}

/* Map Links - Blue Bordered Style */
.trip-report a[href*="google.com/maps"],
#preview a[href*="google.com/maps"] {
  display: inline-block !important;
  padding: 6px 14px !important;
  margin: 4px 0 !important;
  background: #f7fafc !important;
  color: #4285f4 !important;
  border: 2px solid #4285f4 !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.trip-report a[href*="google.com/maps"]:hover,
#preview a[href*="google.com/maps"]:hover {
  background: #4285f4 !important;
  color: white !important;
  transform: scale(1.05) !important;
}

.day-section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid #3498db;
}

.weather-info {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  text-align: center;
}
h2 { color: #007BFF; font-family: Roboto, "Open Sans", system-ui, -apple-system, Segoe UI, Arial, sans-serif; }
a { color: #28A745; text-decoration: none; }
a:hover { text-decoration: underline; color: #FFC107; }
.section { padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.budget-table { border-collapse: collapse; width: 100%; }
.budget-table td, .budget-table th { border: 1px solid #ddd; padding: 10px; }
.budget-checkbox { display: flex; align-items: center; }
.budget-checkbox input:hover { transform: scale(1.1); }
.dont-forget-item { margin: 8px 0; }

/* Trip Report Image Styling - Enhanced */
.trip-report img,
#preview img {
  max-width: 400px !important;
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 20px auto !important;
  display: block !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  transition: all 0.3s ease !important;
  filter: blur(0px) !important;
  transform: scale(1) !important;
}

/* Loading state for images */
.trip-report img:not([src]), 
#preview img:not([src]),
.trip-report img[src=""], 
#preview img[src=""] {
  filter: blur(2px) !important;
  transform: scale(0.98) !important;
}

/* Image error handling */
.trip-report img:error,
#preview img:error {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* Image loading placeholder */
.trip-report img[src*="unsplash"],
#preview img[src*="unsplash"] {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
}

.trip-report img[src*="unsplash"]::before,
#preview img[src*="unsplash"]::before {
  content: "🖼️ Loading...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  z-index: 1;
}

/* Image placeholder for failed loads */
.image-placeholder {
  width: 400px;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

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

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.placeholder-content p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.trip-report img:hover,
#preview img:hover {
  transform: scale(1.02) translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
}

/* Responsive images for mobile */
@media (max-width: 768px) {
  .trip-report img,
  #preview img {
    max-width: 100% !important;
    height: 250px !important;
    margin: 15px auto !important;
  }

  /* Mobile-optimized booking buttons */
  .trip-report a[href*="#hotel-widget"],
  .trip-report a[href*="#flight-widget"],
  .trip-report a[href*="#car-widget"],
  .trip-report a[href*="#airport-widget"],
  .trip-report a[href*="getyourguide"],
  #preview a[href*="#hotel-widget"],
  #preview a[href*="#flight-widget"],
  #preview a[href*="#car-widget"],
  #preview a[href*="#airport-widget"],
  #preview a[href*="getyourguide"] {
    display: block !important;
    width: calc(100% - 8px) !important;
    text-align: center !important;
    margin: 8px 4px !important;
    padding: 12px 18px !important;
    font-size: 12px !important;
  }

  /* Mobile map links */
  .trip-report a[href*="google.com/maps"],
  #preview a[href*="google.com/maps"] {
    display: block !important;
    width: calc(100% - 8px) !important;
    text-align: center !important;
    margin: 6px 4px !important;
  }

  /* Mobile-friendly trip overview */
  .trip-overview {
    padding: 18px !important;
    border-radius: 10px !important;
  }

  .overview-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .overview-item {
    padding: 12px !important;
  }

  /* Mobile typography */
  .trip-report h1, #preview h1 {
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }

  .trip-report h2, #preview h2 {
    font-size: 20px !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
    padding: 10px 12px !important;
  }

  .trip-report h3, #preview h3 {
    font-size: 16px !important;
    margin-top: 18px !important;
  }

  /* Mobile table styling */
  .trip-report table, #preview table {
    font-size: 13px !important;
  }

  .trip-report th, #preview th,
  .trip-report td, #preview td {
    padding: 8px 10px !important;
  }
}

/* ====== Social Sharing Styles ====== */
.share-section {
  position: relative;
  display: inline-block;
}

.share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 24px;
  min-width: 320px;
  z-index: 1000;
  margin-top: 8px;
}

.share-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: white;
  border: 1px solid #e0e7ff;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.share-header h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.share-header p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #64748b;
}

.share-content-options {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.share-option {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.share-option:hover {
  background-color: #f8fafc;
}

.share-option input[type="radio"] {
  margin-right: 12px;
  margin-top: 2px;
}

.share-option span {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 2px;
}

.share-option small {
  display: block;
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.facebook:hover {
  background: #166fe5;
  transform: translateY(-1px);
}

.share-btn.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
}

.share-btn.instagram:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(193, 53, 132, 0.3);
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #1991da;
  transform: translateY(-1px);
}

.share-btn.linkedin {
  background: #0a66c2;
  color: white;
}

.share-btn.linkedin:hover {
  background: #095ba8;
  transform: translateY(-1px);
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.share-btn.email {
  background: #6b7280;
  color: white;
}

.share-btn.email:hover {
  background: #4b5563;
  transform: translateY(-1px);
}

.share-btn.copy {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.share-btn.copy:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

/* Mobile responsive for share dropdown */
@media (max-width: 768px) {
  .share-dropdown {
    right: -50px;
    min-width: 280px;
  }

  .share-platforms {
    grid-template-columns: 1fr;
  }
}

/* ====== Activity Customization Styles ====== */
.customize-mode-active .activity-item {
  position: relative;
  margin: 4px 0;
  padding: 8px 40px 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: transparent;
}

.customize-mode-active .activity-item:has(+ .activity-item) {
  margin-bottom: 2px;
}

.customize-mode-active .activity-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.activity-controls {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.customize-mode-active .activity-item:hover .activity-controls {
  opacity: 1;
}

.activity-controls button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.activity-controls .btn-remove {
  background: #fee2e2;
  color: #dc2626;
}

.activity-controls .btn-remove:hover {
  background: #fecaca;
  transform: scale(1.1);
}

.activity-controls .btn-replace {
  background: #dbeafe;
  color: #2563eb;
}

.activity-controls .btn-replace:hover {
  background: #bfdbfe;
  transform: scale(1.1);
}

.activity-controls .btn-add {
  background: #dcfce7;
  color: #16a34a;
}

.activity-controls .btn-add:hover {
  background: #bbf7d0;
  transform: scale(1.1);
}

.activity-controls .btn-calendar {
  background: #fef3c7;
  color: #d97706;
  font-size: 12px;
}

.activity-controls .btn-calendar:hover {
  background: #fde68a;
  transform: scale(1.1);
}

.customize-mode-notice {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: none;
  border-left: 4px solid #fbbf24;
}

.customize-mode-active .customize-mode-notice {
  display: block;
}

.customize-mode-notice h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
}

.customize-mode-notice p {
  margin: 0 0 4px 0;
  font-size: 13px;
  opacity: 0.95;
}

.customize-mode-notice small {
  font-size: 11px;
  opacity: 0.8;
  font-style: italic;
}

.replacement-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.replacement-modal-content {
  background: white;
  border-radius: 12px;
  padding: 24px;
  min-width: 400px;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.replacement-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.replacement-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
}

.btn-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.btn-close:hover {
  background: #f1f5f9;
}

.replacement-options {
  margin-bottom: 20px;
}

.replacement-option {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.replacement-option:hover {
  border-color: #3b82f6;
  background-color: #f8fafc;
}

.replacement-option input[type="radio"] {
  margin-right: 12px;
}

.replacement-option-content h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
}

.replacement-option-content p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.replacement-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Mobile responsive for replacement modal */
@media (max-width: 768px) {
  .replacement-modal-content {
    min-width: 320px;
    margin: 20px;
  }

  .replacement-options {
    max-height: 300px;
    overflow-y: auto;
  }
}

/* ====== Flight Time Styles ====== */
.flight-times {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
}

.flight-time-presets {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-preset {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #374151;
}

.btn-preset:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.btn-preset:active {
  background: #e5e7eb;
  transform: translateY(1px);
}

.flight-times input[type="time"] {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}

/* Mobile responsive for flight times */
@media (max-width: 768px) {
  .flight-time-presets {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .btn-preset {
    width: 100%;
    text-align: center;
  }
}


/* ====== Enhanced Preferences Interface ====== */
.preferences-field .preferences-container {
  margin-top: 8px;
}

.preference-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.preference-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  font-weight: 500;
  user-select: none;
}

.preference-tag:hover {
  border-color: var(--brand);
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.preference-tag input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.preference-tag:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.preferences-help {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

/* Mobile responsive for preferences */
@media (max-width: 768px) {
  .preference-tags {
    grid-template-columns: 1fr;
  }
}

/* ====== Disclaimer Styling ====== */
.disclaimer, 
.trip-report h2[id*="disclaimer"],
#preview h2[id*="disclaimer"] {
  font-size: 12px !important;
  color: #6b7280 !important;
  line-height: 1.4 !important;
  margin-top: 20px !important;
}

/* ====== Enhanced Daily Itinerary Styling ====== */
.day-section {
  margin-bottom: 24px;
  padding: 20px;
  background: #fafbfc;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
}

.day-header {
  color: var(--brand) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

/* Activity/Ticket Booking Links - GetYourGuide Premium Style */
.trip-report a[href*="getyourguide"],
#preview a[href*="getyourguide"] {
  display: inline-block !important;
  padding: 10px 20px !important;
  margin: 8px 4px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.trip-report a[href*="getyourguide"]:hover,
#preview a[href*="getyourguide"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
}

/* ====== Printable Version Improvements ====== */
@media print {
  /* Hide navigation and controls */
  nav, .user-menu, .floating-social, .btn, button {
    display: none !important;
  }

  /* Optimize layout for print */
  body {
    font-size: 11pt;
    line-height: 1.4;
    color: #000;
    background: white;
  }

  .trip-report, #preview {
    max-width: none;
    margin: 0;
    padding: 20pt;
    box-shadow: none;
    border: none;
  }

  /* Improve typography for print */
  h1 {
    font-size: 18pt;
    margin-bottom: 12pt;
    page-break-after: avoid;
  }

  h2 {
    font-size: 14pt;
    margin: 16pt 0 8pt 0;
    page-break-after: avoid;
  }

  h3 {
    font-size: 12pt;
    margin: 12pt 0 6pt 0;
    page-break-after: avoid;
  }

  /* Make disclaimer smaller in print */
  .disclaimer,
  h2[id*="disclaimer"] {
    font-size: 9pt !important;
    color: #666 !important;
  }

  /* Better spacing */
  p, li {
    margin-bottom: 6pt;
  }

  ul, ol {
    margin: 6pt 0;
    padding-left: 20pt;
  }

  /* Print-friendly booking buttons */
  .trip-report a[href*="#hotel-widget"],
  .trip-report a[href*="#flight-widget"],
  .trip-report a[href*="#car-widget"],
  .trip-report a[href*="#airport-widget"],
  .trip-report a[href*="getyourguide"],
  #preview a[href*="#hotel-widget"],
  #preview a[href*="#flight-widget"],
  #preview a[href*="#car-widget"],
  #preview a[href*="#airport-widget"],
  #preview a[href*="getyourguide"] {
    background: #667eea !important;
    color: white !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
    margin: 3px 2px !important;
    font-size: 9pt !important;
    display: inline-block !important;
    page-break-inside: avoid !important;
  }

  /* Print-friendly map links */
  .trip-report a[href*="google.com/maps"],
  #preview a[href*="google.com/maps"] {
    border: 1px solid #4285f4 !important;
    background: white !important;
    color: #4285f4 !important;
    padding: 4px 10px !important;
    font-size: 9pt !important;
    display: inline-block !important;
  }

  /* Prevent link URL printing (keeps buttons clean) */
  a[href]:after {
    content: none !important;
  }

  /* Hide widget iframes */
  .widget-content,
  .no-print {
    display: none !important;
  }

  /* Keep widget headers */
  .widget-header {
    page-break-inside: avoid !important;
  }

  /* Page breaks for sections */
  .trip-overview,
  .day-section,
  .section-widget {
    page-break-inside: avoid !important;
  }
}


/* ====== Mobile-First Trip Report Design ====== */
.trip-report {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 100%;
  margin: 0;
  padding: 16px;

  /* Mobile-first approach */
  font-size: 16px; /* Prevent zoom on iOS */
}

/* Desktop adaptation */
@media (min-width: 768px) {
  .trip-report {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    font-size: 15px;
  }
}

.trip-report h1 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1a365d !important;
  margin-bottom: 16px !important;
  border-bottom: 3px solid var(--brand) !important;
  padding-bottom: 8px !important;
}

.trip-report h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin: 32px 0 16px 0 !important;
  padding: 12px 16px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border-radius: 8px !important;
  border: none !important;
}

.trip-report h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--brand) !important;
  margin: 20px 0 12px 0 !important;
  padding-bottom: 4px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.trip-report p {
  margin-bottom: 12px !important;
  line-height: 1.6 !important;
}

.trip-report ul, .trip-report ol {
  margin: 12px 0 !important;
  padding-left: 24px !important;
}

.trip-report li {
  margin-bottom: 8px !important;
  line-height: 1.5 !important;
}

/* Clean up messy budget sections */
.trip-report div:contains("Budget"),
.trip-report div:contains("budget") {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
  border-left: 4px solid #28a745;
}

/* Remove excessive spacing and clean formatting */
.trip-report br + br {
  display: none;
}

.trip-report div[style*="margin"] {
  margin: 16px 0 !important;
}

/* Clean table formatting */
.trip-report table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 16px 0 !important;
  background: white !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.trip-report th {
  background: var(--brand) !important;
  color: white !important;
  padding: 12px !important;
  text-align: left !important;
  font-weight: 600 !important;
}

.trip-report td {
  padding: 12px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.trip-report tr:hover {
  background: #f8f9fa !important;
}

/* Fix weather table specifically */
.trip-report table:has(th:contains("Date")) {
  font-size: 14px;
}

.trip-report table:has(th:contains("Date")) th,
.trip-report table:has(th:contains("Date")) td {
  padding: 8px !important;
  text-align: center !important;
}

/* Better section spacing */
.trip-report > * {
  margin-bottom: 20px;
}

/* Clean up widget sections */
.trip-report .affiliate-widget {
  margin: 20px 0;
  padding: 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

/* Professional daily itinerary styling */
.trip-report h3:contains("Day ") {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border: none !important;
  margin: 24px 0 16px 0 !important;
}


/* ====== Mobile-Optimized Budget Section ====== */
.trip-report .budget-summary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.trip-report .budget-summary h2 {
  color: white !important;
  margin-bottom: 16px !important;
  font-size: 18px !important;
}

/* Mobile-first budget cards */
.budget-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .budget-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
}

.budget-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #f39c12;
}

.budget-card-title {
  font-weight: 600;
  color: #f39c12;
  font-size: 14px;
  margin-bottom: 8px;
}

.budget-card-amount {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.budget-card-note {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
}

/* ====== Mobile-Optimized Daily Itineraries ====== */
.day-card {
  background: white;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  border-left: 4px solid var(--brand);
}

.day-header {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 0 !important;
}

.day-content {
  padding: 20px;
}

.activity-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #e2e8f0;
}

.activity-time {
  font-weight: 700;
  color: var(--brand);
  font-size: 16px;
  min-width: 80px;
  margin-right: 16px;
}

@media (max-width: 767px) {
  .activity-block {
    flex-direction: column;
    align-items: stretch;
  }
  
  .activity-time {
    margin-right: 0;
    margin-bottom: 8px;
    min-width: auto;
  }
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.activity-description {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.4;
}

/* ====== Mobile-Optimized Action Buttons ====== */
.action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-ticket, .btn-map {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  min-height: 44px; /* Minimum touch target */
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.btn-ticket {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white !important;
}

.btn-map {
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white !important;
}

.btn-ticket:hover, .btn-map:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ====== Mobile-Optimized Tables ====== */
.trip-report table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 16px 0 !important;
  background: white !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  font-size: 14px;
}

/* Mobile: Stack table for better readability */
@media (max-width: 767px) {
  .trip-report table,
  .trip-report thead,
  .trip-report tbody,
  .trip-report th,
  .trip-report td,
  .trip-report tr {
    display: block;
  }

  .trip-report thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .trip-report tr {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .trip-report td {
    border: none !important;
    position: relative;
    padding: 8px 0 8px 40% !important;
    text-align: left !important;
  }

  .trip-report td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 0;
    width: 35%;
    font-weight: 600;
    color: var(--brand);
  }
}

/* Desktop table styling */
@media (min-width: 768px) {
  .trip-report th {
    background: var(--brand) !important;
    color: white !important;
    padding: 16px !important;
    text-align: left !important;
    font-weight: 600 !important;
  }

  .trip-report td {
    padding: 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .trip-report tr:hover {
    background: #f8f9fa !important;
  }
}

/* ====== Mobile-Optimized Sections ====== */
.section-header {
  display: flex;
  align-items: center;
  margin: 32px 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.section-icon {
  font-size: 24px;
  margin-right: 12px;
}

.section-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #2d3748 !important;
  margin: 0 !important;
}

/* ====== Improved Attractions List ====== */
.attractions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

@media (min-width: 768px) {
  .attractions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.attraction-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left: 4px solid #3498db;
}

.attraction-name {
  font-weight: 700;
  color: #2d3748;
  font-size: 16px;
  margin-bottom: 8px;
}

.attraction-details {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.attraction-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.attraction-hours, .attraction-price {
  background: #f7fafc;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #4a5568;
}

/* ====== Quick Access Navigation ====== */
.trip-nav {
  position: sticky;
  top: 0;
  background: white;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  z-index: 100;
  display: none; /* Show only on mobile scroll */
}

@media (max-width: 767px) {
  .trip-nav.show {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.nav-buttons {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: var(--brand);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* ====== Enhanced Typography for Mobile ====== */
@media (max-width: 767px) {
  .trip-report h1 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .trip-report h2 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 24px 0 12px 0 !important;
  }

  .trip-report h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .trip-report p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .trip-report li {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}

/* ====== Accessibility Improvements ====== */
.trip-report a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.trip-report a:hover,
.trip-report a:focus {
  text-decoration-color: currentColor;
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Focus styles for interactive elements */
.btn-ticket:focus,
.btn-map:focus {
  outline: 3px solid rgba(66, 153, 225, 0.5);
  outline-offset: 2px;
}


/* ====== Time-Blocked Daily Itinerary Styling ====== */
.day-container {
  background: white;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.day-header {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white !important;
  padding: 20px !important;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: none !important;
}

@media (max-width: 767px) {
  .day-header {
    padding: 16px !important;
    font-size: 18px !important;
  }
}

.day-content {
  padding: 0;
}

/* Time Block Styling */
.time-block {
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.time-block:last-child {
  border-bottom: none;
}

.time-block-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 16px 20px;
  border-left: 4px solid #3182ce;
  display: flex;
  align-items: center;
  gap: 12px;
}

.time-block-emoji {
  font-size: 24px;
}

.time-block-title {
  font-weight: 700;
  color: #2d3748;
  font-size: 16px;
  margin: 0;
}

.time-block-subtitle {
  color: #4a5568;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 767px) {
  .time-block-header {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .time-block-emoji {
    font-size: 20px;
  }
  
  .time-block-title {
    font-size: 14px;
  }
  
  .time-block-subtitle {
    font-size: 12px;
  }
}

.time-block-content {
  padding: 20px;
}

@media (max-width: 767px) {
  .time-block-content {
    padding: 16px;
  }
}

/* Activity Item Styling */
.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 12px;
  background: #fafbfc;
  border-radius: 12px;
  border-left: 3px solid #e2e8f0;
  transition: all 0.2s ease;
}

.activity-item:hover {
  background: #f1f5f9;
  border-left-color: #3182ce;
  transform: translateX(4px);
}

.activity-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .activity-item {
    flex-direction: column;
    padding: 12px;
  }
}

.activity-main {
  flex: 1;
}

.activity-name {
  font-weight: 700;
  color: #2d3748;
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.activity-location {
  color: #4a5568;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.activity-duration {
  color: #718096;
  font-size: 12px;
  font-style: italic;
  margin-bottom: 12px;
}

.activity-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .activity-name {
    font-size: 15px;
  }
  
  .activity-location {
    font-size: 13px;
  }
  
  .activity-actions {
    margin-top: 12px;
  }
}

/* Enhanced Action Buttons for Time Blocks */
.action-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 90px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

/* Minimum touch target for mobile */
@media (max-width: 767px) {
  .action-btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

.action-btn-ticket {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white !important;
}

.action-btn-map {
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white !important;
}

.action-btn-info {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white !important;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

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

/* Time Block Icons for Different Periods */
.morning-block .time-block-header {
  border-left-color: #ed8936;
}

.afternoon-block .time-block-header {
  border-left-color: #3182ce;
}

.evening-block .time-block-header {
  border-left-color: #805ad5;
}

/* Empty State for Time Blocks */
.time-block-empty {
  padding: 24px;
  text-align: center;
  color: #a0aec0;
  font-style: italic;
}

.time-block-empty::before {
  content: "🌴";
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

/* Responsive Design for Daily Itineraries */
@media (max-width: 480px) {
  .day-container {
    margin: 16px 0;
    border-radius: 12px;
  }
  
  .activity-item {
    padding: 12px;
    border-radius: 8px;
  }
  
  .activity-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .action-btn {
    width: 100%;
  }
}

/* Print Optimization for Time Blocks */
@media print {
  .day-container {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .time-block-header {
    background: #f0f0f0 !important;
    color: #000 !important;
  }
  
  .action-btn {
    display: none;
  }
}


/* ====== Progressive Disclosure Budget Section ====== */
.budget-overview-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.budget-overview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.budget-icon {
  font-size: 28px;
}

.budget-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: white !important;
  margin: 0 !important;
}

.budget-total {
  font-size: 24px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 8px;
  text-align: center;
}

.budget-summary {
  font-size: 14px;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

.budget-expand-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.budget-expand-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.budget-expand-icon {
  transition: transform 0.3s ease;
  font-size: 16px;
}

.budget-expand-btn.expanded .budget-expand-icon {
  transform: rotate(180deg);
}

/* Detailed Budget Breakdown */
.budget-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-top: 16px;
}

.budget-details.expanded {
  max-height: 800px;
  padding: 20px;
}

.budget-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

.budget-category:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}

.budget-category-info {
  flex: 1;
}

.budget-category-name {
  font-weight: 600;
  font-size: 16px;
  color: white;
  margin-bottom: 4px;
}

.budget-category-desc {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.3;
}

.budget-category-amount {
  font-weight: 700;
  font-size: 16px;
  color: #ffd700;
  text-align: right;
  min-width: 100px;
}

.budget-notes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.budget-notes-title {
  font-weight: 600;
  font-size: 14px;
  color: #ffd700;
  margin-bottom: 8px;
}

.budget-notes ul {
  margin: 0;
  padding-left: 16px;
}

.budget-notes li {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 4px;
  line-height: 1.4;
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .budget-overview-container {
    padding: 20px;
    margin: 16px 0;
    border-radius: 12px;
  }
  
  .budget-title {
    font-size: 18px !important;
  }
  
  .budget-total {
    font-size: 22px;
  }
  
  .budget-category {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }
  
  .budget-category-amount {
    margin-top: 4px;
    text-align: left;
    min-width: auto;
  }
  
  .budget-expand-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* Accessibility */
.budget-expand-btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Animation States */
.budget-details {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease,
              opacity 0.3s ease;
  opacity: 0;
}

.budget-details.expanded {
  opacity: 1;
}

/* Loading State */
.budget-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.budget-loading::before {
  content: "💰";
  margin-right: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}


/* ====== Context-Aware Booking Links (A+C Approach) ====== */
.booking-section {
  margin: 24px 0;
}

.booking-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-left: 4px solid #e2e8f0;
  transition: all 0.2s ease;
}

.booking-item:hover {
  border-left-color: var(--brand);
  transform: translateX(2px);
}

.booking-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

@media (max-width: 767px) {
  .booking-item-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.booking-item-info {
  flex: 1;
}

.booking-item-name {
  font-weight: 700;
  color: #2d3748;
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.booking-item-details {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.booking-item-price {
  font-weight: 600;
  color: #2b6cb0;
  font-size: 16px;
}

.booking-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 767px) {
  .booking-actions {
    margin-top: 12px;
    justify-content: stretch;
  }
  
  .booking-actions > * {
    flex: 1;
    min-width: 120px;
  }
}

/* Context-Aware Button Styles */
.btn-book-primary {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-book-secondary {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  font-size: 13px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-book-info {
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  font-size: 13px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-book-primary:hover,
.btn-book-secondary:hover,
.btn-book-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-book-primary:active,
.btn-book-secondary:active,
.btn-book-info:active {
  transform: translateY(0);
}

/* Section Footer Actions */
.section-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .section-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .section-actions .btn-book-secondary {
    width: 100%;
  }
}

/* Context Indicators */
.booking-context {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
}

.booking-context-icon {
  font-size: 14px;
}

.context-free::before {
  content: "🆓";
  margin-right: 4px;
}

.context-paid::before {
  content: "💳";
  margin-right: 4px;
}

.context-group::before {
  content: "👥";
  margin-right: 4px;
}

.context-popular::before {
  content: "🔥";
  margin-right: 4px;
}

/* Smart Link Types */
.smart-link-hotel {
  border-left-color: #4299e1 !important;
}

.smart-link-attraction {
  border-left-color: #ed8936 !important;
}

.smart-link-restaurant {
  border-left-color: #48bb78 !important;
}

.smart-link-transport {
  border-left-color: #805ad5 !important;
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 767px) {
  .btn-book-primary,
  .btn-book-secondary,
  .btn-book-info {
    min-height: 48px;
    font-size: 15px;
    padding: 12px 20px;
  }
}

/* Loading States for Dynamic Content */
.booking-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #a0aec0;
  font-style: italic;
}

.booking-loading::before {
  content: "🔄";
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

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

/* Accessibility Improvements */
.btn-book-primary:focus,
.btn-book-secondary:focus,
.btn-book-info:focus {
  outline: 3px solid rgba(66, 153, 225, 0.5);
  outline-offset: 2px;
}

/* Integration with Time Blocks */
.time-block .booking-actions {
  margin-top: 8px;
}

.time-block .btn-book-primary,
.time-block .btn-book-secondary {
  font-size: 12px;
  padding: 6px 12px;
  min-height: 36px;
}

@media (max-width: 767px) {
  .time-block .btn-book-primary,
  .time-block .btn-book-secondary {
    font-size: 13px;
    padding: 8px 14px;
    min-height: 40px;
  }
}


/* ====== Enhanced Visual Hierarchy for Long Trip Reports ====== */

/* Trip Navigation Overview */
.trip-overview-nav {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 2px solid #e2e8f0;
  padding: 12px 16px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.trip-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.trip-nav-scroll::-webkit-scrollbar {
  height: 4px;
}

.trip-nav-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.trip-nav-scroll::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 2px;
}

.day-nav-item {
  min-width: 80px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  text-decoration: none;
  color: #4a5568;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.day-nav-item:hover,
.day-nav-item.active {
  background: var(--brand);
  color: white;
  transform: translateY(-1px);
}

.day-nav-item.current {
  border-color: #ffd700;
  background: #fef5e7;
  color: #d69e2e;
}

/* Week Separators for Visual Grouping */
.week-separator {
  margin: 40px 0 32px 0;
  text-align: center;
  position: relative;
}

.week-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
}

.week-separator-content {
  display: inline-block;
  background: white;
  padding: 12px 24px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  font-weight: 700;
  color: #4a5568;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .week-separator-content {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Enhanced Day Cards with Better Hierarchy */
.day-container {
  margin-bottom: 32px;
  scroll-margin-top: 80px; /* Account for sticky nav */
  position: relative;
}

/* Day numbering for quick reference */
.day-container::before {
  content: attr(data-day-number);
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 12px;
  z-index: 10;
}

.day-header {
  position: relative;
  padding: 20px 24px !important;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
}

.day-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media (max-width: 767px) {
  .day-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.day-title {
  color: white !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.day-quick-info {
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

@media (max-width: 767px) {
  .day-quick-info {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.day-weather {
  display: flex;
  align-items: center;
  gap: 4px;
}

.day-activity-count {
  display: flex;
  align-items: center;
  gap: 4px;
}

.day-budget-estimate {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* Time Block Visual Improvements */
.time-block-header {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%) !important;
  border-left: 4px solid #3182ce !important;
  position: relative;
}

.time-block-header::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #3182ce;
  border-radius: 50%;
}

/* Activity Visual Hierarchy */
.activity-item {
  position: relative;
  border-left: 3px solid #e2e8f0 !important;
  transition: all 0.3s ease;
}

.activity-item:hover {
  border-left-color: #3182ce !important;
  background: #f7fafc !important;
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.activity-priority-high {
  border-left-color: #e53e3e !important;
}

.activity-priority-medium {
  border-left-color: #dd6b20 !important;
}

.activity-priority-low {
  border-left-color: #38a169 !important;
}

/* Quick Scan Indicators */
.scan-indicators {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.7;
}

.scan-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
}

.scan-indicator.has-booking {
  background: #48bb78;
}

.scan-indicator.has-cost {
  background: #ed8936;
}

.scan-indicator.popular {
  background: #e53e3e;
}

/* Enhanced Typography Scale */
.trip-report h1 {
  font-size: clamp(24px, 5vw, 32px) !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
}

.trip-report h2 {
  font-size: clamp(18px, 4vw, 22px) !important;
  line-height: 1.3 !important;
  margin: clamp(24px, 6vw, 40px) 0 16px 0 !important;
}

.trip-report h3 {
  font-size: clamp(16px, 3.5vw, 18px) !important;
  line-height: 1.4 !important;
}

/* Reading Progress Indicator */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(66, 153, 225, 0.2);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
  width: 0%;
  transition: width 0.3s ease;
}

/* Mobile-Specific Hierarchy Improvements */
@media (max-width: 767px) {
  .day-container {
    margin-bottom: 24px;
  }
  
  .day-container::before {
    top: -12px;
    left: 16px;
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .time-block-header {
    padding: 12px 16px !important;
  }
  
  .activity-item {
    margin-bottom: 8px;
  }
  
  /* Simplified indicators for mobile */
  .scan-indicators {
    right: 12px;
    top: 12px;
  }
  
  .day-quick-info {
    font-size: 12px;
  }
}

/* Accessibility and Focus States */
.day-nav-item:focus {
  outline: 3px solid rgba(66, 153, 225, 0.5);
  outline-offset: 2px;
}

.activity-item:focus-within {
  outline: 2px solid rgba(66, 153, 225, 0.5);
  outline-offset: 2px;
}

/* Print Optimization */
@media print {
  .trip-overview-nav,
  .reading-progress,
  .scan-indicators {
    display: none !important;
  }
  
  .day-container {
    break-inside: avoid;
    margin-bottom: 20pt;
  }
  
  .week-separator {
    margin: 20pt 0;
  }
}

/* Animation for Better UX */
.day-container {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Day animation delay for staggered effect */
.day-container:nth-child(1) { animation-delay: 0.1s; }
.day-container:nth-child(2) { animation-delay: 0.2s; }
.day-container:nth-child(3) { animation-delay: 0.3s; }
.day-container:nth-child(4) { animation-delay: 0.4s; }
.day-container:nth-child(5) { animation-delay: 0.5s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .day-container {
    animation: none;
  }

  .activity-item:hover {
    transform: none;
  }
}


/* ====== Activity-Specific Button Styling ====== */

/* Restaurant category buttons */
.btn-book-primary[data-category="restaurant"],
.btn-book-secondary[data-category="restaurant"] {
  border-left: 4px solid #f56565;
}

.btn-book-primary[data-category="restaurant"] {
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.btn-book-secondary[data-category="restaurant"] {
  background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
}

/* Museum category buttons */
.btn-book-primary[data-category="museum"],
.btn-book-secondary[data-category="museum"] {
  border-left: 4px solid #9f7aea;
}

.btn-book-primary[data-category="museum"] {
  background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
}

.btn-book-secondary[data-category="museum"] {
  background: linear-gradient(135deg, #b794f6 0%, #9f7aea 100%);
}

/* Activity category buttons */
.btn-book-primary[data-category="activity"],
.btn-book-secondary[data-category="activity"] {
  border-left: 4px solid #38a169;
}

.btn-book-primary[data-category="activity"] {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.btn-book-secondary[data-category="activity"] {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

/* Transport category buttons */
.btn-book-primary[data-category="transport"],
.btn-book-secondary[data-category="transport"] {
  border-left: 4px solid #ed8936;
}

.btn-book-primary[data-category="transport"] {
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.btn-book-secondary[data-category="transport"] {
  background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

/* Hotel category buttons */
.btn-book-primary[data-category="hotel"],
.btn-book-secondary[data-category="hotel"] {
  border-left: 4px solid #3182ce;
}

.btn-book-primary[data-category="hotel"] {
  background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
}

.btn-book-secondary[data-category="hotel"] {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

/* Enhanced button spacing and mobile optimization */
.booking-actions[data-has-categories="true"] {
  margin-top: 12px;
  gap: 10px;
}

.booking-actions[data-has-categories="true"] .btn-book-primary,
.booking-actions[data-has-categories="true"] .btn-book-secondary {
  font-weight: 600;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

/* Activity category hover effects */
.btn-book-primary[data-category]:hover,
.btn-book-secondary[data-category]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Category badge styling for better visual hierarchy */
.btn-book-primary[data-category]::before,
.btn-book-secondary[data-category]::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent rgba(255,255,255,0.2) transparent transparent;
}

@media (max-width: 767px) {
  .booking-actions[data-has-categories="true"] {
    flex-direction: column;
    gap: 8px;
  }

  .booking-actions[data-has-categories="true"] .btn-book-primary,
  .booking-actions[data-has-categories="true"] .btn-book-secondary {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 8px;
  }
}
