/**
 * /trial/apply/ — 公開試用申請（沿用 eai-public-dark-shell）
 */
body.eai-public-dark-shell .eai-trial-apply-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.75rem 1rem 2rem;
  box-sizing: border-box;
}

body.eai-public-dark-shell .eai-trial-apply-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

body.eai-public-dark-shell .eai-trial-apply-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fbbf24;
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

body.eai-public-dark-shell .eai-trial-apply-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  margin: 0 0 1rem;
  line-height: 1.55;
}

body.eai-public-dark-shell .eai-trial-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

body.eai-public-dark-shell .eai-trial-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.3;
  padding: 0.5rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

body.eai-public-dark-shell .eai-trial-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
}

body.eai-public-dark-shell .eai-trial-form .eai-trial-field {
  margin-bottom: 0.85rem;
}

.eai-trial-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.eai-public-dark-shell .eai-trial-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0.3rem;
}

body.eai-public-dark-shell .eai-trial-form .form-control {
  width: 100%;
  font-size: 1rem;
  min-height: 2.75rem;
  box-sizing: border-box;
}

body.eai-public-dark-shell .eai-trial-field--check .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

body.eai-public-dark-shell .eai-trial-field--check .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

body.eai-public-dark-shell .eai-trial-field--check .form-check-label {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82) !important;
}

body.eai-public-dark-shell .eai-trial-field-error {
  color: #f8a5a5;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

body.eai-public-dark-shell .eai-trial-submit {
  width: 100%;
  min-height: 2.85rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

body.eai-public-dark-shell .eai-trial-preview-banner {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.82rem;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
  text-align: center;
  line-height: 1.45;
}

body.eai-public-dark-shell .eai-trial-footnote {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 1.15rem;
  line-height: 1.5;
}

body.eai-public-dark-shell .eai-trial-footnote a {
  color: #fbbf24;
}

body.eai-public-dark-shell .alert-success {
  background-color: rgba(40, 167, 69, 0.18);
  border-color: rgba(40, 167, 69, 0.45);
  color: #d4edda;
  font-size: 0.9rem;
  line-height: 1.45;
}

body.eai-public-dark-shell .eai-trial-register-tabs {
  margin: 0 0 0.85rem;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.eai-public-dark-shell .eai-trial-register-tabs .nav-link {
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
}

body.eai-public-dark-shell .eai-trial-privacy-box {
  max-height: 10rem;
  overflow-y: auto;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

body.eai-public-dark-shell .eai-trial-privacy-title {
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

body.eai-public-dark-shell .eai-trial-privacy-box p {
  margin-bottom: 0.4rem;
}

@media (max-width: 767px) {
  body.eai-public-dark-shell .eai-trial-apply-wrap {
    padding: 0.5rem 0.65rem 1.5rem;
  }

  body.eai-public-dark-shell .eai-trial-apply-card {
    padding: 1rem 0.85rem 1.25rem;
  }

  body.eai-public-dark-shell .eai-trial-apply-subtitle {
    text-align: left;
    font-size: 0.88rem;
  }

  body.eai-public-dark-shell .eai-trial-steps {
    grid-template-columns: 1fr;
  }

  body.eai-public-dark-shell .eai-trial-step {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.55rem 0.65rem;
    gap: 0.55rem;
  }

  body.eai-public-dark-shell .eai-trial-form .form-control {
    font-size: 16px;
    min-height: 2.85rem;
  }
}

@media (max-width: 1199px) {
  body.eai-public-dark-shell .eai-public-mobile-quicknav {
    flex-wrap: wrap;
  }

  body.eai-public-dark-shell .eai-public-mobile-quicknav-link {
    flex: 1 1 calc(33.333% - 0.3rem);
    min-width: 0;
  }
}
