* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f5f7;
  margin: 0;
  padding: 40px 16px;
  color: #1f2430;
}

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

h1 {
  font-size: 22px;
  margin-bottom: 20px;
}

h2 {
  font-size: 16px;
  margin: 0 0 16px;
  color: #444;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

.input-row {
  display: flex;
  gap: 8px;
}

input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dcdfe4;
  border-radius: 8px;
  font-size: 14px;
}

input[type="text"]:focus {
  outline: none;
  border-color: #5b6cff;
}

button {
  background: #5b6cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: #4855d6; }
button:disabled { background: #b3b8d6; cursor: not-allowed; }

#btn_submit { width: 100%; margin-top: 8px; }

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.detail-row:last-of-type { border-bottom: none; }

.error {
  color: #d33;
  font-size: 13px;
  margin-top: 8px;
}

.success {
  color: #128a4a;
  font-size: 13px;
  margin-top: 12px;
}

.hidden { display: none; }
