/* 컨테이너 */
.form-container {
  width: 44rem;
  margin: 0 auto;
  padding: 6rem 0 0rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* 헤더 */
.form-header {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.form-title {
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 5.4rem;
}

.form-subtitle-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.icon-box-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  border: var(--border-width-thin) solid #3a3a3c;
  width: 3rem;
  height: 2.2rem;
}

.icon-box img {
  width: 1.8rem;
  height: 1.8rem;
}

.form-subtitle1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 3rem;
  color: rgba(50, 48, 53, 0.88);
}

.form-subtitle2 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: rgba(50, 48, 53, 0.88);
}

/* 인증 패널 */
.form-methods {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.form-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.form-btn {
  width: 16rem;
  padding: 0;
}

/* 인증수단 */
.auth-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 인증 카드 공통 */
.auth-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 8px;
  background: rgba(111, 110, 119, 0.05);
  border: none;
  cursor: pointer;
  padding: 1.2rem 1.6rem;
  height: 5.6rem;
}

.auth-card:hover {
  background: rgba(111, 110, 119, 0.08);
}

.auth-card__icon {
  width: 2rem;
  height: 2rem;
}

.auth-card__label {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.6rem;
  color: #3a3a3c;
}

/* 모바일 반응형 */
@media (max-width: 1023px) {
  .form-container {
    width: 100%;
    padding: 4rem 2rem 0;
    gap: 2.5rem;
  }

  .form-header {
    gap: 3.2rem;
  }

  .form-title {
    font-size: 2.8rem;
    line-height: 3.6rem;
    font-weight: 400;
    line-height: 3.6rem;
  }

  .icon-box {
    width: 2.8rem;
    height: 2rem;
  }

  .icon-box img {
    width: 1.6rem;
    height: 1.6rem;
  }

  .form-subtitle1 {
    font-size: 1.8rem;
    line-height: 2.8rem;
  }

  .form-subtitle2 {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .form-btn {
    width: 100%;
  }

  .auth-methods {
    gap: 0.5rem;
  }

  .auth-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    background: rgba(111, 110, 119, 0.05);
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 1.2rem 1.6rem;
    width: 100%;
    height: 4.8rem;
  }

  .auth-card__label {
    font-size: 1.6rem;
  }

  .auth-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
}
