/* 회원가입 전용 컨테이너 */
.auth-container {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background-color: #f9f9fb;
}

.auth-box {
  width: 100%;
  height: auto;
  margin-bottom: 50px; /* 하단 여백 추가 */
  max-width: 500px; /* 입력 필드가 많으므로 로그인보다 약간 넓게 설정 */
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 24px; /* 필드 간 간격을 로그인보다 넓게 조정 */
}

/* 입력 그룹 */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.required-star {
  color: #e74c3c;
  margin-left: 2px;
}

/* Django Form 기본 input 스타일링 */
.input-group input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}
.input-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.input-group input:focus {
  outline: none;
  border-color: #222; /* 밸류어블피플 톤에 맞춘 강조색 */
}

/* 회원가입 전용: 비밀번호 조건 등 도움말 텍스트 */
.help-text {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-top: 6px;
}

.help-text ul {
  margin: 5px 0;
  padding-left: 1.2rem;
}

/* 에러 메시지 */
.error-msg {
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
}

.error-msg span {
  display: block; /* 여러 에러가 있을 경우 줄바꿈 */
}

.error-msg ul {
  margin: 5px 0;
  padding-left: 1.2rem;
}

/* 가입 버튼 */
.btn-auth {
  width: 100%;
  height: 56px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.btn-auth:hover {
  background-color: #444;
}

/* 하단 로그인 이동 링크 */
.auth-links {
  margin-top: 25px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.auth-links a {
  margin-left: 8px;
  color: #222;
  text-decoration: underline;
  font-weight: 600;
}

/* 모바일 대응 */
@media (max-width: 480px) {
  .auth-box {
    padding: 30px 20px;
    box-shadow: none;
    border: 1px solid #eee;
  }
  .input-group label {
    font-size: 12px;
  }
}
