* { box-sizing: border-box; }

:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182230;
  background: #f4f7fb;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #e8f0ff 0, #f4f7fb 45%, #f4f7fb 100%);
}

.shell {
  width: min(92%, 520px);
  margin: 0 auto;
  padding: 8vh 0 4vh;
}

.card {
  background: rgba(255,255,255,.96);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 60px rgba(20, 35, 60, .10);
}

.icon {
  font-size: 44px;
  margin-bottom: 10px;
}

h1, h2 { margin-top: 0; }

label {
  display: block;
  font-weight: 700;
  margin: 20px 0 8px;
}

input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 18px;
  outline: none;
}

input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102,126,234,.12);
}

button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: #182230;
  color: white;
}

button:hover { opacity: .92; }
button:disabled { opacity: .55; cursor: wait; }

.danger { background: #b42318; width: auto; }

.muted { color: #64748b; line-height: 1.55; }

.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px;
  line-height: 1.5;
}

.message {
  min-height: 24px;
  color: #b42318;
  margin-top: 15px;
  line-height: 1.45;
}

.success {
  text-align: center;
  padding-top: 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #dcfce7;
  font-size: 32px;
}

footer {
  text-align: center;
  color: #64748b;
  padding: 20px;
  font-size: 13px;
}

.hidden { display: none !important; }

.admin-shell {
  width: min(1100px, 94%);
  margin: 0 auto;
  padding: 4vh 0;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
}

.location-list {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
}

.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.location-row:last-child { border-bottom: 0; }

.location-row a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 650px) {
  .card { padding: 25px; }
  .admin-header { align-items: flex-start; }
  .location-row { align-items: flex-start; flex-direction: column; }
  #map { height: 400px; }
}
