* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #2796f1;
  height: 100%;
  overflow: hidden;
}

.scrollable {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100dvh;
  overflow-y: auto;
  padding-bottom: 60px; /* Ruang ekstra untuk tombol */
  -webkit-overflow-scrolling: touch;
  transition: padding-bottom 0.3s ease;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 30px 24px 0;
  background-color: #2796f1;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.logo {
  text-align: center;
  margin-bottom: 0px;
}

.logo img {
  width: 120px;
}

.title {
  color: white;
  font-size: 18px;
  text-align: center;
  margin-bottom: 24px;
}

.input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.input-box {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 12px;
  padding: 14px 16px;
  flex: 1;
}

.flag img {
  width: 24px;
  height: 16px;
  margin-right: 6px;
}

.country-code-input, 
.input-box input[type="tel"], 
.input-box input[type="text"] {
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: black;
  width: 100%;
}

.info-text {
  font-size: 12px;
  color: white;
  text-align: center;
  line-height: 1.6;
  padding: 0 10px;
  margin-bottom: 24px;
}

.info-text a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.btn {
  width: 100%;
  padding: 16px;
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  color: #008CFF;
  cursor: pointer;
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 320px;
  transition: bottom 0.2s ease;
  z-index: 10;
}

.spacer {
  flex: 1;
}

.btn-positioned {
  position: fixed;
  bottom: 20px; /* Menyesuaikan posisi tombol saat input fokus */
  left: 0;
  right: 0;
}

#phone-error, #error-message {
  color: #ffdddd;
  background-color: #ce3a3a;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

.angka-page {
  display: none;
  background-color: white;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 70px 24px 24px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
}

.angka-header {
  background-color: #008CFF;
  color: white;
  padding: 16px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
}

.angka-title {
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: 18px;
  color: black;
  text-align: center;
}

.angka-dots {
  display: flex;
  justify-content: center;
  margin: 24px 0 40px;
}

.angka-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #000;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  opacity: 0.3;
}

.angka-help {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size: 14px;
  color: #008CFF;
  font-weight: bold;
}

.angka-help img {
  width: 20px;
  vertical-align: middle;
  margin-right: 4px;
}

#angka-input {
  position: absolute;
  opacity: 0.01;
  width: 1px;
  height: 1px;
}