/* ================= GLOBAL STYLES ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 16px;
}

/* ================= CONTAINER UTAMA ================= */
.container {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eaeaea;
}

/* ================= HEADER / JUDUL ================= */
h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111111;
  text-align: left;
  border-bottom: 3px solid #ffc800;
  display: inline-block;
  padding-bottom: 4px;
}

/* ================= FORM ELEMEN ================= */
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #111111;
  background-color: #fff;
  transition: all 0.2s ease;
  outline: none;
}

input:focus, select:focus {
  border-color: #ffc800;
  box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.15);
}

input[readonly] {
  background-color: #f4f4f4;
  color: #666;
  border-color: #e0e0e0;
}

/* ================= BOX JAM CHECK IN ================= */
.input-box-time {
  background-color: #fcfcfc;
  border: 1.5px solid #e0e0e0;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.input-box-time:focus-within {
  border-color: #ffc800;
  box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.15);
}

.input-box-time input[type="time"] {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
  display: block;
  padding: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  border: none;
  background: transparent;
  color: #111;
  outline: none;
}

/* ================= KOTAK CHECKOUT ================= */
.checkout {
  background-color: #fffdf0;
  border: 1.5px dashed #ffc800;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  width: 100%;
}

.checkout span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  display: block;
  margin-top: 4px;
}

.checkout input[type="time"] {
  width: 100%;
  max-width: 160px;
  margin: 6px auto 0 auto;
  display: block;
  padding: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  border: 1.5px solid #ffc800;
  border-radius: 8px;
  background: #fff;
  color: #111;
  outline: none;
}

/* ================= TOMBOL UTAMA ================= */
button {
  width: 100%;
  padding: 14px;
  background-color: #ffc800;
  color: #111111;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(255, 200, 0, 0.3);
}

button:hover {
  background-color: #f3be00;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  background-color: #e0e0e0;
  color: #888;
  box-shadow: none;
  cursor: not-allowed;
}

/* ================= RESPONSIF ================= */
@media (max-width: 480px) {
  body {
    padding: 12px;
    align-items: flex-start;
  }

  .container {
    padding: 16px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #eaeaea;
  }
}