* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  background: #07172e;
  color: #ffffff;
}

header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  background: #07172e;
  border-bottom: 1px solid #1b3554;
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand span {
  color: #00bfff;
}

.subtitle {
  color: #a6bdd5;
  font-size: 13px;
}

main {
  display: flex;
  height: calc(100dvh - 70px);
}

.controls {
  width: 350px;
  flex-shrink: 0;
  padding: 25px;
  background: #0c203b;
  overflow-y: auto;
}

.controls h1 {
  font-size: 23px;
  margin: 0 0 25px;
}

input, select {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  background: #132f50;
  color: white;
  border: 1px solid #345475;
  border-radius: 12px;
  font-size: 15px;
}

input::placeholder {
  color: #c0d0e0;
}

button {
  width: 100%;
  padding: 16px;
  background: #008cff;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #0071d0;
}

#status {
  color: #b5cbe0;
  font-size: 13px;
  line-height: 1.5;
}

#map {
  flex: 1;
  min-width: 0;
  background: #dbe6ef;
}

@media (max-width: 700px) {
  header {
    height: 60px;
    padding: 0 15px;
  }

  .brand {
    font-size: 23px;
  }

  main {
    height: calc(100dvh - 60px);
    flex-direction: column;
  }

  .controls {
    width: 100%;
    padding: 15px;
    max-height: 45%;
  }

  .controls h1 {
    font-size: 19px;
    margin-bottom: 15px;
  }

  input, select {
    padding: 12px;
    margin-bottom: 10px;
  }

  #map {
    min-height: 250px;
  }
}
