* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container { max-width: 700px; margin: 0 auto; }

.card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 { color: #2d3748; font-size: 32px; margin-bottom: 8px; }
.subtitle { color: #718096; margin-bottom: 30px; }

.input-group { display: flex; gap: 12px; margin-bottom: 20px; }

input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  text-transform: uppercase;
}

input:focus { outline: none; border-color: #667eea; }

button {
  padding: 14px 28px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

button:hover:not(:disabled) { background: #5568d3; }
button:disabled { background: #cbd5e0; cursor: not-allowed; }

.error {
  background: #fed7d7;
  color: #c53030;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-box {
  background: #ebf8ff;
  border: 2px solid #bee3f8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.info-box h2 { color: #2c5282; font-size: 24px; margin-bottom: 8px; }
.info-box p { color: #2a4365; }

h3 { color: #2d3748; font-size: 20px; margin: 24px 0 16px 0; }

.status-grid { display: grid; gap: 12px; margin-bottom: 24px; }

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  border: 2px solid;
}

.status-item.allowed { background: #f0fff4; border-color: #9ae6b4; }
.status-item.denied { background: #fff5f5; border-color: #feb2b2; }
.status-item .city { font-weight: 600; color: #2d3748; text-transform: capitalize; }
.status-item .status { text-align: right; }
.status-item .status-text { font-weight: 700; font-size: 14px; }
.status-item.allowed .status-text { color: #22543d; }
.status-item.denied .status-text { color: #c53030; }
.status-item .reason { font-size: 12px; color: #718096; margin-top: 4px; }

ul { list-style: none; margin-bottom: 24px; }

ul li {
  padding: 12px 0 12px 24px;
  position: relative;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
}

ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

ul li:last-child { border-bottom: none; }

#pdfBtn {
  width: 100%;
  background: #2d3748;
  margin-top: 20px;
}

#pdfBtn:hover { background: #1a202c; }

@media (max-width: 600px) {
  .card { padding: 24px; }
  .input-group { flex-direction: column; }
  h1 { font-size: 24px; }
}