html, body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1115;
  color: #e6e6e6;
}

#app {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

h1 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

button:hover {
    opacity: 0.9;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.custom-marker .marker {
  background: #4ea1ff;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid #0f1115;
}

.panel {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;

    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;

    background: rgba(15,17,21,0.9);
    backdrop-filter: blur(10px);

    border-radius: 16px;
    padding: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.panel label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a0a0a0;
  white-space: nowrap;
}

.panel input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #1a1d24;
  color: #e6e6e6;
}

.panel input:focus {
  outline: 2px solid #4ea1ff;
  outline-offset: 1px;
}

.panel button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #4ea1ff;
  color: white;
  font-weight: 500;
  cursor: pointer;
}

#info {
    font-size: 0.9rem;
    color: #a0a0a0
}

.watermark {
  position: absolute;
  z-index: 20;
  bottom: 12px;
  right: 12px;
  font-size: 0.75rem;
  color: rgba(230,230,230,0.35);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 600px) {
    .panel {
        top: auto;
        bottom: 16px;
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
    }

    h1 {
        font-size: 1.2rem;
    }

    .controls {
        flex-wrap: wrap;
    }

    .input-group {
        flex: 1 1 100%;
    }

    button {
        width: 100%;
    }
}