* {
  margin: 0;
  padding: 0;
  font-family: Pretendard;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.signup-container {
  display: flex;
  max-width: 402px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  padding: 45px 29px;
  flex-direction: column;
  justify-content: center;
}

.signup-content {
  display: flex;
  width: 100%;
  max-width: 344px;
  flex-direction: column;
  gap: 36px;
}

/* 상단 헤더 영역 */
.signup-header {
  display: flex;
  width: 309px;
  flex-direction: column;
  gap: 18px;
}
.main-title {
  color: #000;
  font-size: 28px;
  font-weight: 700;
}
.sub-title {
  color: #000;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  white-space: nowrap;
}

/* 입력 폼 */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.input-label {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.input-container {
  position: relative;
  width: 100%;
}
.input-field {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: 2px solid #d5d6d7;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  color: #686866;
}

.input-field:focus {
  border: 2px solid #fe332e;
}

/* 비밀번호 토글 버튼 */
.password-toggle-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.password-toggle-btn img {
  width: 26px;
  height: 26px;
  opacity: 0.4;
}

/* 하단 조건 체크리스트 */
.status-message-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.status-item {
  display: flex;
  font-size: 12px;
  color: #686866;
  align-items: center;
}
.status-item img {
  width: 16px;
  height: 16px;
}
.status-item.is-success {
  color: #fe332e;
}
/* 에러 */
.input-container.is-error .input-field {
  border-color: #fe332e;
}
.status-message-box.is-error .status-item {
  color: #fe332e;
}
.status-item.single-msg {
  color: #fe332e;
}

/* 회원가입 완료 버튼 */
.submit-btn {
  width: 100%;
  height: 52px;
  background-color: #fdced0;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: not-allowed;
  transition: background-color 0.2s;
}

.submit-btn.is-active {
  background-color: #ff4d4d;
  cursor: pointer;
}

.footer-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 20px;
}
.footer-text {
  font-size: 14px;
  color: #666666;
}
.footer-link {
  font-size: 14px;
  font-weight: bold;
  color: #fe332e;
  text-decoration: none;
}
.footer-link:hover {
  text-decoration: underline;
}

/* 기본 상태: 회색 */
.status-message-box .status-item {
  color: #686866;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.status-message-box .status-item.active {
  color: #fe332e;
  font-weight: 500;
}

/*회원가입 버튼*/
.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  border: none;

  background-color: #fdced0;
  color: #fff;
  cursor: not-allowed;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
    margin: 60px 0 80px 0;
}

.submit-btn:not(:disabled) {
  background-color: #fe332e;
  color: #ffffff;
  cursor: pointer;
}
