/* pages/sso-login/sso-login.content.css — 페이지 전용 스타일, scope: .sso */
.sso {
  width: 100%;
  padding: 48px 0 80px;
  color: #222222;
}
.sso .sso__content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.sso .sso__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.48px;
}
.sso .sso__lead {
  margin: 40px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.33px;
}
.sso .sso__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.sso .sso__option {
  display: flex;
  min-width: 0;
  height: 316px;
  padding: 80px 20px;
  flex-direction: column;
  align-items: center;
  color: #222222;
  font: inherit;
  text-align: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  cursor: pointer;
}
.sso .sso__option:focus-visible {
  outline: 3px solid #0065b5;
  outline-offset: 4px;
}
.sso .sso__icon {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}
.sso .sso__icon::before,
.sso .sso__icon::after {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  content: "";
}
.sso .sso__icon::before {
  right: 0;
  bottom: 0;
  background: #e7eaef;
}
.sso .sso__icon::after {
  top: 0;
  left: 0;
}
.sso .sso__icon--phone::after {
  background: #0065b5;
}
.sso .sso__icon--portal::after {
  background: #008953;
}
.sso .sso__icon--naver::after {
  background: #03c75a;
}
.sso .sso__icon img {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sso .sso__icon--naver img {
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
}
.sso .sso__copy {
  display: flex;
  height: 84px;
  margin-top: 16px;
  flex-direction: column;
  justify-content: space-between;
}
.sso .sso__option-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}
.sso .sso__description {
  color: #808080;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}
.sso .sso__notice {
  margin: 40px 0 0;
  color: #696969;
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  letter-spacing: -0.24px;
}
.sso-popup {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  overflow: auto;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}
.sso-popup.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.is-sso-popup-open {
  overflow: hidden;
}
.sso-popup__panel {
  position: relative;
  box-sizing: border-box;
  width: 480px;
  height: 376px;
  padding: 48px 40px 40px;
  color: #222222;
  text-align: left;
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.sso-popup.is-open .sso-popup__panel {
  opacity: 1;
  transform: translateY(0);
}
.sso-popup__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 12px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sso-popup__close img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sso-popup__tabs {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 544px;
  height: 64px;
  padding: 4px;
  grid-template-columns: repeat(2, 268px);
  background: #c2e3da;
  border-radius: 32px;
}
.sso-popup__tab {
  display: flex;
  height: 56px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #696969;
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  border-radius: 36px;
}
.sso-popup__tab.is-active {
  color: #ffffff;
  background: #3aa687;
  border-radius: 32px;
}
.sso-popup__tab img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sso-popup__head {
  display: flex;
  width: 100%;
  height: 48px;
  gap: 16px;
  align-items: center;
}
.sso-popup__head-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  background: #008953;
  border-radius: 16px;
}
.sso-popup__head-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sso-popup__head-copy {
  display: flex;
  height: 43px;
  flex-direction: column;
  gap: 8px;
}
.sso-popup__head-copy strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}
.sso-popup__head-copy span {
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
}
.sso-popup__fields {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.sso-popup__field {
  box-sizing: border-box;
  display: flex;
  width: 400px;
  height: 48px;
  padding: 0 16px;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}
.sso-popup__field > img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}
.sso-popup__field input {
  min-width: 0;
  height: 46px;
  padding: 0;
  flex: 1 1 auto;
  color: #222222;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  background: transparent;
  border: 0;
  outline: 0;
}
.sso-popup__field input::placeholder {
  color: #666666;
  opacity: 1;
}
.sso-popup__field:focus-within {
  outline: 3px solid #0065b5;
  outline-offset: 2px;
}
.sso-popup__field .sso-popup__eye {
  margin-left: auto;
}
.sso-popup__submit {
  display: flex;
  width: 400px;
  height: 48px;
  margin-top: 40px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 29px;
  background: #297660;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.sso-popup__submit img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sso-popup__close:focus-visible,
.sso-popup__submit:focus-visible {
  outline: 3px solid #0065b5;
  outline-offset: 3px;
}
@media (max-width: 1024px) {
  .sso {
    padding: 40px 0 64px;
  }
  .sso .sso__options {
    gap: 24px;
  }
  .sso .sso__option {
    padding-right: 16px;
    padding-left: 16px;
  }
  .sso .sso__description {
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .sso {
    padding: 32px 0 48px;
  }
  .sso .sso__title {
    font-size: 28px;
    line-height: 32px;
  }
  .sso .sso__lead {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
  }
  .sso .sso__options {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .sso .sso__option {
    height: auto;
    min-height: 220px;
    padding: 40px 20px;
  }
  .sso .sso__notice {
    margin-top: 32px;
    text-align: left;
  }
  .sso-popup {
    padding: 20px;
  }
  .sso-popup__panel {
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 376px;
    padding-right: 24px;
    padding-left: 24px;
  }
  .sso-popup__tabs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sso-popup__tab {
    gap: 8px;
    font-size: 16px;
  }
  .sso-popup__field,
  .sso-popup__submit {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sso-popup,
  .sso-popup__panel {
    transition-duration: 0.01ms;
  }
}