* {
    box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-image: url('bg.JPG'); /* arahkan ke lokasi file fotomu */
  background-size: cover;     /* biar gambar memenuhi layar */
  background-position: center; /* biar fokus di tengah */
  background-repeat: no-repeat; /* biar tidak berulang */
  margin: 0;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}


.card {
    width: 100%;
    max-width: 520px;
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(8, 20, 40, 0.06);
}

h1 {
    margin: 0 0 14px 0;
    font-size: 20px;
}

h2 {
    font-size: 16px;
    margin: 6px 0 12px 0;
}

select,
input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d6dae0;
}

.actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

button {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #2b7cff;
    color: white;
}

button[disabled] {
    opacity: 0.6;
    cursor: default;
}

.hidden {
    display: none;
}

.msg {
    margin-top: 8px;
    color: #b00020;
}

.tujuan-item {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e6e9ee;
    cursor: pointer;
}

.tujuan-item.selected {
    background: #eef5ff;
    border-color: #bcd7ff;
}
/* ✨ Animasi transisi antar-step */
.step {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hidden {
  display: none !important;
}

#home {
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#home.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
