/* 新規登録ウィザード（users/registrations/new）— signin.css と併用 */

.signup-wizard-shell .signup-wizard-card.signin-form {
  padding: 22px 18px 20px;
}

@media (min-width: 781px) {
  .signup-wizard-shell .signup-wizard-card.signin-form {
    padding: 28px 28px 24px;
  }
}

.signup-wizard-shell .registration-container {
  margin: 0;
  padding: 0;
  max-width: none;
}

.signup-wizard-shell .edit-form {
  margin: 0;
}

.signup-wizard-shell .form-steps {
  margin: 0;
}

.signup-wizard-shell .step-content {
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
}

.signup-wizard-shell .mascot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  text-align: center;
}

@media (min-width: 781px) {
  .signup-wizard-shell .mascot-container {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }
}

.signup-wizard-shell .mascot-image {
  width: 88px;
  height: auto;
  flex-shrink: 0;
  margin: 0;
}

@media (min-width: 781px) {
  .signup-wizard-shell .mascot-image {
    width: 120px;
  }
}

.signup-wizard-shell .speech-bubble {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signup-wizard-shell .speech-bubble:before {
  display: none;
}

.signup-wizard-shell .speech-bubble p {
  margin: 0 0 10px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.signup-wizard-shell .speech-bubble p:last-of-type {
  margin-bottom: 4px;
}

.signup-wizard-shell .speech-bubble .field {
  margin-top: 12px;
  margin-bottom: 0;
  display: block;
  width: 100%;
  padding: 0;
}

.signup-wizard-shell .speech-bubble .field input[type="text"],
.signup-wizard-shell .speech-bubble .field input[type="email"],
.signup-wizard-shell .speech-bubble .field input[type="password"] {
  width: 100%;
  max-width: none;
  margin: 0;
}

.signup-wizard-shell .step-navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 22px;
}

.signup-wizard-shell .step-counter-container {
  display: flex;
  justify-content: center;
}

.signup-wizard-shell .step-counter {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
}

.signup-wizard-shell .next-btn,
.signup-wizard-shell .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(3, 105, 161, 0.25);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.signup-wizard-shell .next-btn:hover,
.signup-wizard-shell .submit-btn:hover {
  background: linear-gradient(180deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 4px 14px -4px rgba(3, 105, 161, 0.45);
}

.signup-wizard-shell .next-btn:active,
.signup-wizard-shell .submit-btn:active {
  transform: translateY(1px);
}

.signup-wizard-shell .button-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.signup-wizard-shell .button-group .prev-btn {
  flex: 1 1 100px;
  min-width: 0;
}

.signup-wizard-shell .button-group .next-btn,
.signup-wizard-shell .button-group .submit-btn {
  flex: 1 1 100px;
  min-width: 0;
  width: auto;
}

.signup-wizard-shell .prev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.signup-wizard-shell .prev-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.signup-wizard-shell .signup-wizard-footer-links {
  margin-top: 20px;
  padding-top: 20px;
}
