/* =========================
   투컬럼 래퍼 (외부 CSS 영향 최소화)
   ========================= */
.login {
  align-items: center;
}

.login-container {
  height: 100%;
  padding: 0 clamp(1.6rem, 3vw, 4rem);
}

.auth-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dual-auth {
  --gold: #b48b5a;
  --line: rgba(255, 255, 255, 0.18);
  --text: #d7d7d7;
  --white: #fff;
  font-family: "Pretendard", "Noto Sans KR", "sans-serif";
  position: relative;
  display: grid;
  grid-template-columns: 1fr 11rem 1fr;
  /* 좌 | 구분선 | 우 */
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 140rem;
  height: 100%;
  /* margin: 14rem auto 12rem; */
  padding: 0 6.4rem;
  box-sizing: border-box;
}

.dual-auth * {
  box-sizing: border-box;
  color: var(--white);
  /*text-align: left;*/
}

/* 타이틀 */
.dual-auth__title {
  /*font-size: 40px;*/
  /*font-weight: 800;*/
  /*margin: 0 0 28px;*/
  /*  font-size: clamp(4.8rem, 5vw, 6.4rem);*/
  /*font-family: "Modern No. 20", sans-serif;*/
  /*font-family: "Inter", sans-serif;*/
  /*font-family: 'Pretendard', 'Noto Sans KR', sans-serif;;*/
  /* 회원가입 */

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 3.9rem;
  color: #ffffff;

  /*color: #c7a574; !* 골드톤 *!*/
  margin-bottom: 3rem;
}

/* 왼쪽 폼 */
.dual-auth__form {
  /* width: 540px; */
  /* 스샷처럼 적당히 넓게 */
  width: 100%;
}

.dual-auth__label {
  display: block;
  color: var(--text);
  margin: 18px 0 6px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: var(--white);
}

.dual-auth__input {
  font-family: "Inter", sans-serif;
  width: 100%;
  height: 4.4rem;
  background: transparent;
  border: 0.1rem solid var(--line);
  border-color: #634d32;
  outline: none;
  padding: 0 1.2rem;
  font-size: 1.4rem;
}

.dual-auth__btn {
  width: 100%;
  height: 4.4rem;
  margin-top: 3.3rem;
  background: var(--gold);
  border: none;
  color: var(--white);
  font-weight: 300;
  cursor: pointer;
  transition: filter 0.2s ease;
  font-size: 1.7rem;
  font-family: "Pretendard", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.7rem;
  text-align: center;
  color: var(--white);
}

.dual-auth__btn:hover {
  filter: brightness(1.08);
}

.dual-auth__btn--wide {
  /* width: 560px; */
  width: 100%;
  margin-top: 6.1rem;
}

/* 오른쪽 설명/라디오 */
.dual-auth__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 스샷처럼 타이틀/내용이 가운데에 모이게 */
}

.dual-auth__desc {
  /*color: var(--text);*/
  opacity: 0.9;
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 4rem 0 2rem;
  text-align: center;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5rem;
  text-align: center;
  color: var(--white);
}

.dual-auth__desc span {
  color: #8f8f8f;
  font-size: clamp(1rem, 1vw, 1.2rem);
  font-weight: 100;
  font-family: "Inter", sans-serif;
  text-align: center;
  color: var(--white);
}

.dual-auth__radios {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8rem;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2.4rem;
  font-weight: 100;
}

.dual-auth__radios input {
  accent-color: #c7a574;
  transform: scale(1.2);
  margin-right: 0.6rem;
}

/* 회원가입 버튼 래퍼 */
.dual-auth__cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* 구분선(세로 + 곡선) */
.dual-auth__divider {
  position: relative;
  width: 0.1rem;
  height: 60rem;
  /* 세로선 길이 */
  margin: 0 auto;
  /*background: rgba(255, 255, 255, 0.15);  !* 연한 흰색 톤 *!*/
  background: #634d32;
}

.dual-auth__divider::before {
  content: "";
  position: absolute;
  top: -15rem;
  /* 곡선 시작점 위로 올리기 */
  right: -24rem;
  /* 곡선 오른쪽으로 밀기 (곡선 위치 조정 포인트) */
  left: 0;
  width: 20rem;
  /* 곡선의 가로 반경 */
  height: 15rem;
  /* 곡선의 세로 반경 */
  border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
  border-left: 0.1rem solid rgba(255, 255, 255, 0.15);
  border-top-left-radius: 48rem;
  border-color: #634d32;
}

@media (max-width: 768px) {
  .dual-auth {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
  }

  .dual-auth__right {
    padding: clamp(10rem, 3vw, 50vw) 0;
  }

  .dual-auth__right:nth-child(1) {
    padding-top: 0;
  }

  .dual-auth__divider {
    position: relative;
    width: 100%;
    height: 0.1rem;
    /* 세로선 길이 */
    margin: 0 auto;
    background: #634d32;
  }

  .dual-auth__divider::before {
    content: "";
    display: none;
  }
}
