.captcha-challenge {
  margin-bottom: 1.25rem;
}

.captcha-challenge__label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #164194;
}

.captcha-challenge__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-challenge__canvas-wrap {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #f7f7f7;
}

#captcha-canvas {
  display: block;
  width: 100%;
  height: 56px;
}

.captcha-refresh {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #164194;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.captcha-refresh:hover {
  border-color: #164194;
  color: #e2001a;
}

.captcha-refresh svg {
  width: 22px;
  height: 22px;
}

.captcha-field {
  margin-bottom: 1rem;
}

.captcha-field.is-invalid .captcha-field__input,
.captcha-field.is-invalid .ei_appl_userid {
  border-color: #e2001a;
}

.captcha-field__input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.captcha-error {
  color: #e2001a;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.captcha-turnstile {
  margin: 1rem 0;
  min-height: 65px;
}

.captcha-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #666;
  margin-top: 1.25rem;
}

.captcha-trust svg {
  color: #164194;
  flex-shrink: 0;
}

.blocked-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.blocked-card {
  max-width: 460px;
  width: 100%;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
  background: #fff;
  box-shadow: 0 0 118px 16px rgba(15, 34, 139, 0.05);
}

.blocked-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(226, 0, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blocked-icon svg {
  width: 36px;
  height: 36px;
  color: #e2001a;
}

.blocked-reason {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e2001a;
  background: rgba(226, 0, 26, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.blocked-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #164194;
  margin-bottom: 0.75rem;
}

.blocked-subtitle {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 1.5rem;
}

.blocked-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blocked-btn {
  display: inline-block;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #164194;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.blocked-btn:hover {
  border-color: #164194;
}

.blocked-btn--primary {
  background: #164194;
  border-color: #164194;
  color: #fff;
}

.blocked-btn--primary:hover {
  background: #0f2a6e;
  border-color: #0f2a6e;
  color: #fff;
}
