:root {
  --primary-color: #00ff95;
  --bg-color: #f5f6fa;
  --text-color: #000000;
  --card-bg: #fff;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --spacing: 1rem;
  --max-width: 1000px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg-color);
  font-family: 'Mukta Malar', sans-serif;
  color: var(--text-color);
}

.container {
  max-width: var(--max-width);
  width: 90%;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow-color);
}

h1, h2 {
  text-align: left;
  font-weight: 400;
  margin-bottom: var(--spacing);
  color: #22222294;
}

.painel-principal {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.coluna-form {
  flex: 1;
  min-width: 280px;
}

.coluna-resultado {
  /* display: none; */
  flex: 1;
  min-width: 320px;
  background: #f8f9fb;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  max-height: 560px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coluna-resultado.mostrar {
  display: block;
}

.formu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.gp-input {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #111111ba;
  font-size: 0.9rem;
}

input[type="text"],
input[type="search"],
input[type="tel"] {
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid #d0d3d8;
  border-radius: 10px;
  transition: all 0.2s ease;
  background: #fff;
  color: var(--text-color);
  outline: none;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 149, 0.15);
  transform: translateY(-1px);
}

button {
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 149, 0.533);
  background: #04cf73;
}

button:disabled {
  background: #a5c2f0;
  cursor: not-allowed;
}

.coluna-resultado.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
}

.endereco-item {
  padding: 12px;
  margin-bottom: 12px;
  border-left: 4px solid var(--primary-color);
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.endereco-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.endereco-item strong {
  color: var(--primary-color);
  display: inline-block;
  min-width: 105px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  animation: girar 1s linear infinite;
  margin: 28px auto;
}

@keyframes girar {
  100% {
    transform: rotate(360deg);
  }
}

.ui-autocomplete {
  background: #fff;
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  z-index: 1100;
}

.ui-menu-item-wrapper {
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ui-menu-item-wrapper:hover,
.ui-state-focus {
  background-color: #eaf9f0;
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

section {
  background-color: #00e680;;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .container {
    width: 96%;
    padding: 1.5rem;
  }

  .conteudo-principal {
    gap: 16px;
  }

  .coluna-resultado {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .conteudo-principal {
    flex-direction: column;
    align-items: center;
  }

  .coluna-form, .coluna-resultado {
    width: 100%;
    min-width: auto;
  }

  .coluna-resultado {
    max-height: 320px;
  }

  input, button {
    font-size: 14px;
  }
}

input[required]::placeholder {
  opacity: 0.6;

}
