* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #f7faf8 0%, #eef7f1 100%);
  color: #17221b;
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 16px 28px;
  position: relative;
  overflow: hidden;
}

.hero {
  padding-top: 12px;
}

.municipality {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f5ec;
  border: 2px solid #18723a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18723a;
  font-size: 28px;
  flex: 0 0 auto;
}

.municipality h1 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.municipality p {
  margin: 3px 0 0;
  font-size: 0.88rem;
  color: #334155;
}

.truck-illustration {
  height: 150px;
  margin-top: 20px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.city-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 70%, #b8e3c4 0 18px, transparent 19px),
    radial-gradient(circle at 84% 42%, #d7efe0 0 34px, transparent 35px),
    linear-gradient(180deg, #effaf3 0%, #dff1e6 100%);
  opacity: 0.95;
}

.truck {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 190px;
  height: 76px;
  transform: translateX(-50%);
}

.truck-box {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 105px;
  height: 58px;
  border-radius: 10px 8px 6px 6px;
  background: linear-gradient(135deg, #0b6b2c, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(15, 95, 42, 0.22);
}

.truck-cabin {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 66px;
  height: 48px;
  background: #f8fafc;
  border: 4px solid #1f2937;
  border-radius: 8px 14px 6px 4px;
}

.truck-cabin::before {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 24px;
  height: 18px;
  background: #bde3ef;
  border-radius: 3px;
}

.wheel {
  position: absolute;
  bottom: 6px;
  width: 24px;
  height: 24px;
  background: #111827;
  border-radius: 50%;
  border: 5px solid #4b5563;
}

.wheel-left {
  left: 28px;
}

.wheel-right {
  right: 26px;
}

.search-card {
  margin-top: 8px;
  padding: 28px 18px 22px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.search-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e3f4e9;
  color: #0f7a35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.search-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.description {
  margin: 10px 0 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
}

.search-form {
  text-align: left;
}

.search-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #374151;
  font-weight: 600;
}

.search-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #d6dde2;
  border-radius: 10px;
  background: #ffffff;
  font-size: 1rem;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input::placeholder {
  color: #9ca3af;
}

.search-form input:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.12);
}

.helper-text {
  margin: 8px 0 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}

.search-form button {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b6b2c, #08752f);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(8, 117, 47, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.search-form button:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(8, 117, 47, 0.2);
}

.security-box {
  margin-top: 16px;
  padding: 16px 14px;
  border-radius: 14px;
  background: #ecf8f1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shield {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #355342;
}

.bottom-info {
  margin-top: 54px;
  text-align: center;
  color: #18723a;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.7;
}

.history-link {
  margin-top: 28px;
  padding-bottom: 10px;
}

.history-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.history-link span {
  color: #15803d;
  font-size: 1.25rem;
}

@media (max-width: 360px) {
  .app {
    padding-left: 12px;
    padding-right: 12px;
  }

  .municipality h1 {
    font-size: 1.02rem;
  }

  .municipality p {
    font-size: 0.8rem;
  }

  .search-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .search-card h2 {
    font-size: 1.2rem;
  }

  .truck {
    transform: translateX(-50%) scale(0.9);
  }
}
.truck-illustration {
  height: 150px;
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.truck-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.municipality {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agency-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.agency-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.agency-text {
  min-width: 0;
}

.agency-text h1 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.agency-text p {
  margin: 3px 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #334155;
}
.helper-text {
  margin: 8px 0 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}

.helper-text.is-error {
  color: #dc2626;
  font-weight: 600;
}

.search-form input.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.search-form button.is-loading {
  opacity: 0.75;
  pointer-events: none;
}