
/* Небольшая косметика поверх Tailwind */
:root { --card: 1 1 1; }
body { font-feature-settings: "liga" 1, "calt" 1; }
.logo { font-weight: 800; letter-spacing: .5px; }
.btn-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(30, 41, 59, 0.75);
  color: rgba(248, 250, 252, 0.9);
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-tab:hover {
  background-color: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.35);
}
.btn-tab.is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.45), rgba(14, 165, 233, 0.3));
  border-color: rgba(125, 211, 252, 0.6);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}
.btn-tab.is-active:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.55), rgba(14, 165, 233, 0.4));
}
.weather-icon {
  display: block;
}

.autocomplete-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 20;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.autocomplete-panel.hidden {
  display: none;
}

.autocomplete-option {
  display: flex;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #f8fafc;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  text-align: left;
  gap: 0.5rem;
}

.autocomplete-option:last-child {
  border-bottom: none;
}

.autocomplete-option:hover,
.autocomplete-option:focus {
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
  outline: none;
}

.autocomplete-option span {
  display: block;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.7);
}

input#search {
  color: #f8fafc;
}

input#search::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

input#search:-webkit-autofill,
input#search:-webkit-autofill:hover,
input#search:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.95) inset;
}
