body {
  font-family: sans-serif;
  background: #f3f3f3;
  text-align: center;
  padding: 40px;
}
#xanda-age-check-landing {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh !important;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  overflow: auto !important; /* allow scrolling if needed */
}
.card {
  background: white;
  padding: 40px 24px 96px 24px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  margin: 20px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 90dvh !important;
  overflow-y: auto !important; /* always allow vertical scroll */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
input[type="file"], input[type="date"], input[type="text"], input[type="tel"] {
  margin-top: 20px;
  font-size: 16px;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}
.result {
  margin-top: 20px;
  font-weight: bold;
  white-space: pre-line;
}
#loader {
  display: none;
  margin-top: 20px;
  font-style: italic;
}
#image-preview {
  margin-top: 20px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #012169;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background-color: #0b2c89;
}
.verification-method {
  margin: 10px 0;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}
.verification-method:hover {
  background: #f9f9f9;
}
.verification-method.selected {
  background: #e3f2fd;
  border-color: #2196f3;
}
.privacy-policy {
  font-size: 12px;
  margin-top: 20px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}
.privacy-policy h4 {
  color: #000;
}
@media (max-width: 600px) {
  .card {
    padding: 16px 8px 120px 8px;
    max-width: 98vw;
    min-width: 0;
    border-radius: 6px;
    font-size: 15px;
    max-height: 96dvh !important;
    overflow-y: auto !important;
  }
  #xanda-age-check-landing {
    align-items: flex-start;
    padding: 0;
    height: 100dvh !important;
    overflow: auto !important;
  }
  .privacy-policy, .verification-method, input[type="file"], input[type="date"], input[type="text"], input[type="tel"] {
    max-width: 100vw;
    width: 100%;
  }
}