/* 認証ページスタイル */

.auth-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 40px 0;
  background: #f8f9fa;
}

.auth-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.auth-container h1 {
  text-align: center;
  color: #2c5282;
  margin-bottom: 30px;
}

/* ステップインジケーター */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
}

.step.active {
  background: #3182ce;
  color: white;
}

.step.completed {
  background: #48bb78;
  color: white;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: #e2e8f0;
}

.step.completed:not(:last-child)::after {
  background: #48bb78;
}

/* フォームスタイル */
.auth-form {
  margin-top: 30px;
}

.step-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.form-input-large {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.form-input-large:focus {
  outline: none;
  border-color: #3182ce;
}

.form-input-large.readonly {
  background: #f7fafc;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group.half {
  margin-bottom: 0;
}

/* ボタンスタイル */
.btn-primary {
  width: 100%;
  background: #3182ce;
  color: white;
  border: none;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}

.btn-primary:hover {
  background: #2c5282;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.btn-primary:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  width: 100%;
  background: white;
  color: #3182ce;
  border: 2px solid #3182ce;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-secondary:hover {
  background: #ebf8ff;
}

/* 会社名サジェスト */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  display: none;
  z-index: 100;
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.suggestion-item:hover {
  background: #f7fafc;
}

.suggestion-item:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

/* その他の要素 */
.privacy-notice {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.privacy-notice a {
  color: #3182ce;
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

.forgot-password {
  text-align: center;
  margin-top: 20px;
}

.forgot-password a {
  color: #3182ce;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* 完了画面 */
.complete-icon {
  width: 80px;
  height: 80px;
  background: #48bb78;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 30px;
}

.auth-step h2 {
  text-align: center;
  color: #2c5282;
  margin-bottom: 20px;
}

.auth-step p {
  text-align: center;
  color: #666;
  line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .auth-container {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .step-indicator {
    gap: 20px;
  }
  
  .step {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}