/* LaoWay Custom Styles & Multilingual Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Lao:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #0d9488; /* Emerald Teal */
  --primary-hover: #0f766e;
  --secondary-color: #6366f1; /* Indigo */
  --accent-amber: #f59e0b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #f8fafc;
  color: #1e293b;
}

/* MANDATORY REQUIREMENT: Lao & Thai line-height: 1.6 & native font rendering */
html[lang="lo"], 
body.lang-lo, 
.lang-lo {
  font-family: 'Noto Sans Lao', 'Inter', sans-serif !important;
  line-height: 1.6 !important;
}

html[lang="th"], 
body.lang-th, 
.lang-th {
  font-family: 'Noto Sans Thai', 'Inter', sans-serif !important;
  line-height: 1.6 !important;
}

/* Enhanced typography for Lao/Thai elements */
.lang-lo p, .lang-lo span, .lang-lo div, .lang-lo label, .lang-lo button,
.lang-th p, .lang-th span, .lang-th div, .lang-th label, .lang-th button {
  line-height: 1.65 !important;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Card hover animation */
.trip-card {
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.12);
}

/* Route connector line with pulse */
.route-line {
  position: relative;
}

.route-dot-start {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.route-dot-end {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* WhatsApp action button pulse */
.btn-whatsapp {
  background-color: #25D366;
  color: white;
  transition: all 0.2s ease-in-out;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Smooth modal transitions */
.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
  transform: scale(0.96);
}

/* Interactive Map pin container */
#map-picker-container {
  height: 320px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #cbd5e1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
