/**
 * WENTO TRAVEL - Design System
 *
 * Principles: Quiet confidence, editorial over interface, material honesty, time-resistant.
 * Feels like Moleskine, Kodak, Polaroid — considered, calm, tactile.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444648;
  background: #f9f8f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #5d6b78;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #4d5a66;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  font-family: 'Aleo', 'Georgia', serif;
  font-weight: 500;
  line-height: 1.3;
  color: #444648;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
p {
  margin: 0 0 16px;
}
.text-muted {
  color: #7c7e82;
}
.text-small {
  font-size: 0.875rem;
}
.text-editorial {
  font-family: 'Aleo', 'Georgia', serif;
  font-size: 1.125em;
  font-weight: 500;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.layout-map {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
}
.layout-map .main-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}
@media (max-width: 900px) {
  .layout-map .main-content {
    overflow: visible;
    overflow-y: auto;
  }
}
.main-nav {
  height: 60px;
  background: #f9f8f7;
  border-bottom: 1px solid rgba(68, 70, 72, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Aleo', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #444648;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5d5f62;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #444648;
}
.nav-link--primary {
  background: #5d6b78;
  color: #f9f8f7;
  padding: 8px 16px;
  border-radius: 9999px;
}
.nav-link--primary:hover {
  background: #4d5a66;
  color: #f9f8f7;
}
.nav-user {
  position: relative;
}
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: none;
  border: none;
  border-radius: 9999px;
  transition: background 0.2s ease;
}
.nav-user-btn:hover {
  background: #e6e7e8;
}
.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5d6b78;
  color: #f9f8f7;
  font-weight: 600;
  font-size: 0.875rem;
}
.nav-user-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #444648;
}
@media (max-width: 768px) {
  .nav-user-name {
    display: none;
  }
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 180px;
  background: #f9f8f7;
  border: 1px solid rgba(68, 70, 72, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(68, 70, 72, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  font-size: 0.9375rem;
  color: #444648;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-dropdown-item:hover {
  background: #e6e7e8;
}
.nav-dropdown-item--danger {
  color: #6b5454;
}
.nav-dropdown-divider {
  margin: 4px 0;
  border: none;
  border-top: 1px solid rgba(68, 70, 72, 0.1);
}
.nav-dropdown-form {
  margin: 0;
}
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  max-width: 100%;
  pointer-events: none;
}
.toast {
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f9f8f7;
  box-shadow: 0 8px 40px rgba(68, 70, 72, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}
.toast.toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.toast--success {
  background: #4d5c52;
}
.toast--error {
  background: #6b5454;
}
.toast--warning {
  background: #6b6458;
}
.toast--info {
  background: #5d6b78;
}
.flash {
  padding: 16px 24px;
  margin: 16px auto;
  max-width: 600px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.flash--success {
  background: rgba(77, 92, 82, 0.1);
  color: #364039;
  border: 1px solid rgba(77, 92, 82, 0.2);
}
.flash--error {
  background: rgba(107, 84, 84, 0.1);
  color: #4e3e3e;
  border: 1px solid rgba(107, 84, 84, 0.2);
}
.flash-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.5;
  cursor: pointer;
}
.flash-close:hover {
  opacity: 1;
}
.card {
  background: #f9f8f7;
  border: 1px solid rgba(68, 70, 72, 0.1);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(68, 70, 72, 0.06);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn--primary {
  background: #5d6b78;
  color: #f9f8f7;
}
.btn--primary:hover:not(:disabled) {
  background: #4d5a66;
}
.btn--secondary {
  background: #e6e7e8;
  color: #444648;
  border: 1px solid rgba(68, 70, 72, 0.18);
}
.btn--secondary:hover:not(:disabled) {
  background: #d9dadc;
}
.btn--ghost {
  background: transparent;
  color: #5d5f62;
}
.btn--ghost:hover:not(:disabled) {
  background: #e6e7e8;
  color: #444648;
}
.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.btn--sm {
  padding: 4px 16px;
  font-size: 0.875rem;
}
.btn--block {
  display: flex;
  width: 100%;
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444648;
}
.form-input {
  width: 100%;
  padding: 8px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #444648;
  background: #f9f8f7;
  border: 1px solid rgba(68, 70, 72, 0.18);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #5d6b78;
  box-shadow: 0 0 0 3px rgba(93, 107, 120, 0.15);
}
.form-input::placeholder {
  color: #7c7e82;
}
.form-input--error {
  border-color: #6b5454;
}
.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(107, 84, 84, 0.15);
}
.form-error {
  margin-top: 4px;
  font-size: 0.875rem;
  color: #6b5454;
}
.form-hint {
  margin-top: 4px;
  font-size: 0.875rem;
  color: #7c7e82;
}
.btn-google {
  background: #f9f8f7;
  border: 1px solid rgba(68, 70, 72, 0.18);
  color: #444648;
}
.btn-google:hover {
  background: #e6e7e8;
}
.btn-google img {
  width: 18px;
  height: 18px;
}
.map-container {
  flex: 1;
  position: relative;
  min-height: 400px;
}
#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-panel {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: 360px;
  background: rgba(249, 248, 247, 0.95);
  border: 1px solid rgba(68, 70, 72, 0.1);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(68, 70, 72, 0.1);
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.map-panel-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
}
#anno-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.anno-text {
  font-family: 'Aleo', 'Georgia', serif;
  font-size: 18px;
  fill: rgba(68, 70, 72, 0.92);
  paint-order: stroke;
  stroke: rgba(249, 248, 247, 0.9);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.anno-line {
  fill: none;
  stroke: rgba(68, 70, 72, 0.9);
  stroke-width: 3.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anno-line.alt {
  stroke-width: 2.6px;
  stroke: rgba(68, 70, 72, 0.65);
}
.anno-circle {
  fill: transparent;
  stroke: rgba(68, 70, 72, 0.9);
  stroke-width: 3px;
}
.anno-circle.alt {
  stroke-width: 2.4px;
  stroke: rgba(68, 70, 72, 0.65);
}
.main-footer {
  background: #e6e7e8;
  border-top: 1px solid rgba(68, 70, 72, 0.1);
  padding: 32px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .logo-text {
  font-size: 1.5rem;
}
.footer-tagline {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: #7c7e82;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.875rem;
  color: #7c7e82;
}
.footer-links a:hover {
  color: #444648;
}
.footer-copy {
  font-size: 0.875rem;
  color: #7c7e82;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-sm {
  margin-top: 8px;
}
.mt-md {
  margin-top: 16px;
}
.mt-lg {
  margin-top: 24px;
}
.mt-xl {
  margin-top: 32px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-sm {
  margin-bottom: 8px;
}
.mb-md {
  margin-bottom: 16px;
}
.mb-lg {
  margin-bottom: 24px;
}
.mb-xl {
  margin-bottom: 32px;
}
