body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f4f7fb;
  color: #111;
}

.top-bar {
  background: #1e40af;
  color: white;
  padding: 16px;
  text-align: center;
}

.container {
  max-width: 420px;
  margin: auto;
  padding: 16px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

select,
input {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.price-box {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
  font-size: 16px;
}

#total {
  color: #1e40af;
  font-weight: 700;
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #1e40af;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.info-box {
  margin-top: 14px;
  background: #eef2ff;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  font-family: Arial, sans-serif;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  font-weight: bold;
}

.modal-content input {
  width: 80%;
  padding: 10px;
  font-size: 18px;
  margin: 15px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
}

.modal-buttons button {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#pinSubmit {
  background-color: #4caf50;
  color: white;
}

#pinCancel {
  background-color: #f44336;
  color: white;
}

.error-message {
  color: red;
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
}

.limit-note {
  margin-top: 6px;
  font-size: 12px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 8px 10px;
  border-radius: 8px;
}
