body {
  background: #f7f7fb;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2c;
  min-height: 100vh;
  margin: 0;
}
.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-wrapper img {
  width: 140px;
  height: auto;
}
.id-illustration {
  width: 100%;
  margin: 40px 0 24px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #e8f1ff, #ffeef1);
  padding: 24px;
}
.id-illustration img {
  width: 100%;
  height: auto;
}
.hero-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-description {
  font-size: 16px;
  color: #55556b;
  margin-bottom: 32px;
}
.cta-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  background: #4462ED;
  color: #fff;
  /*box-shadow: 0 10px 20px rgba(11, 107, 255, 0.35);*/
  margin-bottom: 5px;
}
.cta-btn:disabled {
  background: #98b7ff;
  box-shadow: none;
}
#statusMessage {
  margin-top: 16px;
  font-size: 14px;
  color: #55556b;
}
#result {
  width: 100%;
  margin-top: 32px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  text-align: left;
}
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ececf2;
}
.data-cell:first-child {
  font-weight: 500;
  color: #1a1a2c;
  padding-right: 12px;
}
.data-cell:last-child {
  color: #4b4b63;
  text-align: right;
  max-width: 60%;
}
#errorBox {
  width: 100%;
  margin-top: 16px;
}
.data-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.portrait-container {
  text-align: center;
  margin-bottom: 16px;
}
.portrait-container img {
  max-width: 120px;
  border-radius: 50%;
  border: 4px solid #e8f1ff;
}
.data-row:last-child {
  border-bottom: none;
}
.data-header {
  display: none; /* Hide the header row as it's self-explanatory */
}
.loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 20, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1050;
}
.loading-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.loading-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e6f5;
  border-top-color: #4462ed;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loading-text {
  font-size: 15px;
  color: #2b2b45;
  font-weight: 600;
}
.modal-open {
  overflow: hidden;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.section-title {
  margin-bottom: 8px;
}
@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-description {
    font-size: 15px;
  }
}
