
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #f2f4f7;
  color: #333;
}

#map {
  height: calc(100% - 140px);
  width: 100%;
  z-index: 1;
}

#topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.logo {
  height: 40px;
  object-fit: contain;
}

.logo.orbis {
  height: 32px;
}

/* Painel inferior fixo */
#info-panel {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

#info-panel p {
  margin: 0;
  font-size: 15px;
  flex: 1 1 auto;
}

#info-panel p strong {
  display: inline-block;
  min-width: 50px;
  font-weight: 600;
}

#info-panel input[type="text"] {
  flex: 2 1 200px;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

#info-panel button {
  padding: 10px 16px;
  font-size: 15px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

#info-panel button:hover {
  background-color: #004999;
}

.status-named {
  color: #2e7d32;
  font-weight: bold;
}

.status-pending {
  color: #c62828;
  font-weight: bold;
}

#rodape {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f2f4f7;
  text-align: center;
  font-size: 12px;
  padding: 6px;
  color: #666;
  z-index: 9998;
}

/* Mobile */
@media (max-width: 600px) {
  #info-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 16px;
  }

  #info-panel input[type="text"],
  #info-panel button {
    width: 100%;
  }

  #info-panel p {
    width: 100%;
  }
}
