.base-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-b2);
  border-radius: 1000px;
  cursor: pointer;
}

.auth {
  background-color: white;
  padding: 78px 20px 0;
}

.auth-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-page.main {
  margin: 232px 0;
}

.auth-logo-section {
  margin-bottom: 40px;
}

.auth-logo-section img {
  width: auto;
  height: 60px;
}

.auth-main-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-form-section {
  width: 100%;
}

.title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-main-title {
  font-size: var(--font-h2);
  font-weight: var(--font-weight-bold);
  text-align: center;
  line-height: 1.33;
  color: var(--brand-tertiary);
}

.auth-sub-title {
  font-size: var(--font-h2);
  font-weight: var(--font-weight-bold);
  text-align: center;
  line-height: 1.33;
}

.auth-sub-title-32 {
  font-size: var(--font-h3);
  font-weight: var(--font-weight-bold);
  text-align: center;
  line-height: 1.33;
  color: #222222;
}

.auth-description {
  margin: 20px 0px 40px;
  font-size: var(--font-b2);
  line-height: 30px;
  text-align: center;
  color: #777777;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-description.no-margin {
  margin: 40px 0 0;
}

.auth-description.without-mobile {
  display: none;
}

.signup-login-btn {
  width: 336px;
  height: 60px;
  background-color: var(--brand-primary);
}

.signup-login-btn:hover {
  background-color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.auth-footer {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
  font-size: var(--font-b2);
  line-height: 30px;
  color: #383838;
}

.text-btn {
  text-decoration: underline;
  color: #4076ff;
}

/* 메인 제외 css*/
.auth-page.others {
  margin: 80px 0;
}

.signup-login-btn.others {
  margin: 40px 0px;
}

.divide-section {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.line {
  position: relative;
  height: 30px;
  flex-grow: 1;
}

.line::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #e8e8e8;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
}

.or {
  width: 48px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  border-radius: 100px;
  color: #848484;
  font-size: var(--font-b4);
}

.auth-btn-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.kakao-btn {
  width: 336px;
  height: 60px;
  background-color: #ffe402;
  gap: 5px;
}

.kakao-btn:hover {
  background-color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.google-btn {
  width: 336px;
  height: 60px;
  background-color: white;
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
  margin-top: 40px;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.submin-btn-section {
  display: flex;
  justify-content: center;
}

.submit-btn {
  width: 215px;
  height: 60px;
  background-color: var(--brand-primary);
  color: #000;
  cursor: pointer;
}

.submit-btn.disabled {
  background-color: #c8c8c8;
  color: white;
  opacity: 0.82;
}

.submit-btn.disabled:hover {
  background-color: #c8c8c8;
  transform: none;
  box-shadow: none;
}

.submit-btn:hover {
  background-color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* form */
.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  gap: 40px;
}

/* Input 그룹 */

.input-group-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.input-group {
  width: 100%;
}

.input-group.short {
  width: 215px;
}

.input-group input {
  width: 100%;
  height: 66.66px;
  padding: 0 22.48px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
}

.input-group input::placeholder {
  color: #777777;
}

.input-group input:focus {
  outline: 1px solid #ffd122;
  outline-offset: 0;
}

/* 체크박스 그룹 */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* 체크박스 커스텀 스타일 */
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #e8e8e8;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* 선택 안 했을 때 회색 체크 */
.checkbox-item input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B7B7B7" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 체크박스 체크됐을 때 */
.checkbox-item input[type="checkbox"]:checked {
  background-color: var(--brand-primary);
}

/* 선택 했을 때 검정 체크 */
.checkbox-item input[type="checkbox"]:checked::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

.checkbox-label {
  font-size: var(--font-b2);
  color: #777777;
  line-height: 30px;
}

/* 에러 메시지 기본은 숨김 */
.validation-message {
  display: none;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

/* error 클래스 붙으면 보임 */
.validation-message.error {
  display: block;
  color: var(--warning);
}

/* Input 에러 상태 */
.input-group input.error {
  border: 1px solid #f11d1d;
}

.input-group input.error:focus {
  outline: 1px solid #f11d1d;
  outline-offset: 0;
}

.find-password-form-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

@media (min-width: 800px) {
  .auth {
    padding: 88px 80px 0;
    display: flex;
    justify-content: center;
  }

  .auth-page {
    height: 1063px;
  }

  .auth-page.main {
    margin: 0px;
  }

  .auth-page.others {
    margin: 0;
  }

  .auth-inner {
    width: 100%;
  }

  .auth-logo-section img {
    width: auto;
    height: 125.43px;
  }

  .auth-sub-title-32 {
    margin: 60px 0;
  }

  .title-section {
    margin: 60px 0;
  }

  .auth-main-title {
    font-size: 70px;
  }

  .auth-description.without-mobile {
    display: flex;
  }

  .auth-description.is-mobile {
    display: none;
  }

  .submit-btn {
    width: 100%;
  }

  .input-group.short {
    width: 100%;
  }

  .input-group-section {
    width: 100%;
  }
}

/* 데스크탑 (1280px 이상) - 가로 레이아웃 */
@media (min-width: 1280px) {
  .auth-inner {
    width: 100%;
    max-width: 1200px;
  }

  .auth-page {
    flex-direction: row;
  }

  .auth-page.main {
    margin: 0px;
  }

  .auth-logo-section {
    width: 50%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ebf8fe;
  }

  .auth-main-section {
    width: 50%;
    height: 100%;
  }

  .title-section {
    margin: 0;
  }

  .auth-sub-title-32 {
    margin: 0;
  }

  .auth-form {
    padding: 0px 80px;
  }
}
