@charset 'utf-8'; /* ----------------------- common ----------------------- */
/* @import url("//news.chosun.com/dhtm/css/css_reset_2018.css"); */
@import url("/membership/common/common.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
/* styles.css */

body {
  box-sizing: border-box;
  background-color: var(--Color-White) !important;
}

body,
input,
button,
textarea,
select {
  font: 16px/1.56 "Noto Sans KR", AppleSDGothicNeo-Regular, "맑은 고딕",
    "Malgun Gothic", 나눔고딕, 돋움, Dotum, 굴림, Gulim, "Apple SD Gothic Neo",
    sans-serif;
  font-weight: 400;
  letter-spacing: -0.05px;
  font-style: normal;
  color: var(--Color-Black);
  word-break: break-all;
}

* {
  box-sizing: border-box;
}

.font-primary {
  font-weight: 400;
}

.font-secondary {
  font-weight: 500;
}

.font-tertiary {
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

input::-webkit-calendar-picker-indicator {
  display: none !important;
}

.mobile-hidden {
  display: inline-block;
}

.pc-hidden {
  display: none !important;
}

button {
  border: none;
}

.svg-fill-black {
  fill: var(--Color-Black);
}

.svg-fill-white {
  fill: var(--Color-White);
}

.svg-fill-static-white {
  fill: var(--ETC-White-Static);
}

.svg-fill-grey40 {
  fill: var(--Color-Grey-40);
}

.svg-fill-grey60 {
  fill: var(--Color-Grey-60);
}

.svg-stroke-grey60 {
  stroke: var(--Color-Grey-60);
}

.svg-fill-grey60-hover {
  fill: var(--Color-Grey-60);
}

.svg-fill-grey60-hover:hover {
  fill: var(--Color-Black);
}

.svg-fill-grey80 {
  fill: var(--Color-Grey-80);
}

.svg-fill-grey80-hover {
  fill: var(--Color-Grey-80);
}

.svg-fill-grey80-hover:hover {
  fill: var(--Color-Black);
}

.svg-fill-red {
  fill: var(--Color-Red);
}

.svg-storke-black {
  stroke: var(--Color-Black);
}

.svg-storke-grey80 {
  stroke: var(--Color-Grey-80);
}

.svg-stroke-fg60 {
  stroke: var(--Membership-FG-60);
}

.highlight-color {
  color: var(--Membership-FG-60) !important;
}

.show {
  display: flex;
}

.hidden {
  display: none !important;
}

.member-badge {
  position: relative;
  overflow: hidden;
  width: 52px;
  height: 22px;
  border-radius: 100px;
}

.member-badge::before {
  position: absolute;
  top: -50%;
  left: -50%;
  display: block;
  content: "";
  width: 200%;
  height: 250%;
  z-index: 1;
  background: conic-gradient(
    transparent 0deg,
    transparent 180deg,
    rgba(196, 64, 64, 0.5) 190deg,
    #c44040 210deg,
    #c44040 330deg,
    rgba(196, 64, 64, 0.5) 350deg,
    transparent 360deg
  );
  animation: rotate 4s infinite linear;
}

.member-badge::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  content: "이용중";
  border-radius: 100px;
  width: 49px;
  height: 19px;
  color: var(--Membership-FG-80);
  font-family: "Noto Sans KR";
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.06px;
  background-color: var(--Color-White);
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.animated-border {
  animation: rotate-gradient 2s linear infinite;
}

@keyframes rotate-gradient {
  0% {
    stroke-dasharray: 150;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
  }
}

.subscribe-management-top-inner {
  width: 100%;
  max-width: 892px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 40px;
}

.subscribe-management-top-normal-box {
  position: relative;
  width: 100%;
  height: 351px;
  border-radius: 16px;
  content: "";
  background: url("https://image.chosun.com/mypage/img/member-banner-bg.jpg") 0
    0 no-repeat;
  background-size: cover;
}

.subscribe-management-top-normal-box .top-img {
  padding-top: 32px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.subscribe-management-top-normal-box .top-img img {
  position: absolute;
  width: 38%;
  bottom: 0;
}

.subscribe-management-top-normal-box .top-img .text1 {
  color: #222;
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  margin-bottom: 4px;
  word-break: break-all;
}

.subscribe-management-top-normal-box .top-img .text2 {
  color: #222;
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.1px;
  word-break: break-all;
}

.subscribe-management-top-normal-box .top-img .link-btn {
  text-decoration: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 100px;
  background-color: #222;
  color: var(--ETC-White-Static);
  font-family: "Noto Sans KR";
  font-size: 16px;
  text-align: center;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  position: absolute;
  z-index: 2;
  bottom: 24px;
  min-width: 132px;
}

.dropdown-wrapper {
  border: none;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.dropdown-wrapper .title {
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.dropdown-wrapper .dropdown-box {
  width: 120px;
  height: 120px;
  position: absolute;
  z-index: 10;
  top: 20px;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--Surface-Surface-30);
  border-radius: 4px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-wrapper .dropdown-box .select-item {
  padding: 8px 16px;
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 16px;
  text-align: center;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.dropdown-wrapper .dropdown-box .select-item:hover {
  background: var(--Color-Grey-10);
}

.mypage-date-picker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  right: 0;
  top: 85px;
  border-radius: 4px;
  background: var(--Surface-Surface-10);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 16px 16px 0;
  height: auto;
}

.mypage-date-picker-wrapper .mypage-date-input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.mypage-date-picker-wrapper .mypage-date-input-box {
  display: flex;
  position: relative;
  align-items: center;
}

.mypage-date-picker-wrapper .mypage-date-input-box .mypage-date-input {
  width: 180px;
  height: 46px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
}

.mypage-date-picker-wrapper .mypage-date-input-box .mypage-date-input:focus {
  border: 1px solid var(--Color-Black);
  outline: none;
}

.mypage-date-picker-wrapper .mypage-date-input-box .icon {
  position: absolute;
  right: 12px;
  z-index: 5;
  cursor: pointer;
}

.mypage-date-picker-wrapper .seperate {
  color: var(--Color-Grey-60);
  font-family: "Noto Sans KR";
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: -0.09px;
  margin-left: 15px;
  margin-right: 13px;
}

#nav2020-head #nav2020-login.show {
  visibility: hidden;
}

@media screen and (max-width: 985px) {
  .member-badge {
    margin-bottom: 4px;
  }

  .subscribe-management-top-inner {
    padding-top: 24px;
  }
}

@media only screen and (min-width: 690px) and (max-width: 985px) {
  .customer-nav .nav_inner {
    width: 100%;
    max-width: inherit;
    padding: 0 16px;
  }

  .subscribe-management-top-inner {
    padding-top: 24px;
    max-width: 642px;
  }
}

@media screen and (max-width: 689px) {
  .mobile-hidden {
    display: none;
  }

  .pc-hidden {
    display: flex !important;
  }

  .subscribe-management-top-inner {
    max-width: none;
    width: calc(100% - 32px);
  }

  .mypage-date-picker-wrapper {
    width: calc(100vw - 32px);
  }

  .mypage-date-picker-wrapper .mypage-date-input-box {
    min-width: 132px;
    width: auto;
  }

  .mypage-date-picker-wrapper .mypage-date-input-wrapper {
    width: 100%;
  }

  .mypage-date-picker-wrapper .mypage-date-input-box .mypage-date-input {
    width: auto;
    min-width: 132px;
  }

  .subscribe-management-top-normal-box .top-img .link-btn {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.08px;
    bottom: 20px;
  }
}

/* 페이지네이션 css */

/* 페이지네이션 컨테이너 스타일 */
.pagination-container {
  margin: 0 0 36px;
}

/* 페이지네이션 목록 스타일 */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

/* 페이지네이션 항목 스타일 */
.pagination li {
  margin: 0 6px;
}

/* 모든 버튼에 대한 기본 스타일 */
.pagination button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  cursor: pointer;
  outline: none;
  color: var(--Color-Grey-60);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.07px;
}

/* 버튼 호버 상태 */
.pagination button:hover:not(:disabled):not(.active) {
}

/* 활성화된 버튼 스타일 */
.pagination button.active {
  background: var(--Color-Grey-20);
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
}

/* 비활성화된 버튼 스타일 */
.pagination button:disabled {
  cursor: not-allowed;
}

/* SVG 아이콘 스타일 */
.pagination button svg {
  width: 20px;
  height: 20px;
}

/* 활성화된 버튼의 SVG 아이콘 색상 */
.pagination button.active svg {
}

/* 이전/다음 버튼 스타일 (필요한 경우 별도 스타일링) */
.pagination button.prev-button,
.pagination button.next-button {
  /* 필요한 경우 추가 스타일 */
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
}

.pagination button.prev-button:hover,
.pagination button.next-button:hover {
  border: 1px solid var(--Color-Black);
}

.pagination button.prev-button:hover svg path,
.pagination button.next-button:hover svg path {
  fill: var(--Color-Black);
}

.membership-data-null {
  width: 100%;
  margin: 0 auto;
  color: var(--Color-Black);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.1px;
  padding: 100px 0 100px;
}

.membership-data-null.margin-bottom {
  /* margin-bottom: 192px; */
}

.toast-message-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 956px;
  padding: 8px 12px 8px 16px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 1001;
}

.toast-message-box.success {
  background-color: var(--Color-Blue);
}

.toast-message-box.error {
  background-color: var(--Color-Red);
}

.toast-message-box .left-box {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.toast-message-box .left-box .title {
  color: var(--Color-White);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.08px;
  margin-left: 4px;
}

.toast-message-box .right-box {
  cursor: pointer;
}

.common-move-find-mem-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 4px 0 4px;
}

.common-move-find-mem-wrapper .seperate-line-mem {
  width: 1px;
  height: 10px;
  background: var(--Color-Grey-40);
  margin: 0 8px;
}

.common-move-find-mem {
  width: fit-content;
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.grace-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 8px 0;
  width: calc(100% + 80px);
}

.grace-section.hidden {
  display: none;
}

.grace-section .grace-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 8px;
}

.grace-section .grace-left .fail-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  padding-top: 1px;
}

.grace-section .grace-left .fail-title {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.grace-section .grace-right {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.07px;
  word-break: keep-all;
}

/* .common-move-find-mem:after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj48cGF0aCBkPSJNNi4wMDI3OCA0LjE3OTY2TDYuNjIwNjMgMy42NjY1TDEwIDcuOTUxODVMNi42MjM0MSAxMi4zMzMyTDYgMTEuODI3Mkw4Ljk4MTU2IDcuOTU3NTdMNi4wMDI3OCA0LjE3OTY2WiIgZmlsbD0iIzIyMjIyMiIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-size: contain;
} */

.common-move-find-mem:visited {
  color: var(--Color-Grey-80);
}

/* 태블릿 + 모바일 공통 */
@media screen and (max-width: 985px) {
  .common-move-find-mem-wrapper {
    justify-content: center;
    padding: 12px 20px 0 20px;
  }

  .common-move-find-mem {
    padding: 6px 0;
    /* text-decoration: underline;
    text-underline-offset: 2px; */
  }

  .grace-section {
    flex-direction: column;
    width: 100% !important;
  }

  .grace-section .grace-left {
    margin-bottom: 4px;
  }

  .grace-section .grace-right {
    text-align: center;
  }
}

/* 태블릿 해상도만 */
@media only screen and (min-width: 690px) and (max-width: 985px) {
  .subscribe-management-top-normal-box .top-img img {
    width: 53%;
  }

  .membership-data-null {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -0.09px;
    padding: 80px 0 80px;
  }
}

/* 모바일 해상도만 */
@media screen and (max-width: 689px) {
  .toast-message-box {
    width: calc(100% - 32px);
    z-index: 100000;
  }

  .subscribe-management-top-normal-box .top-img img {
    position: absolute;
    width: 300px;
    bottom: 0;
  }

  .subscribe-management-top-normal-box .top-img .text1 {
    width: 205px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.07px;
  }

  .subscribe-management-top-normal-box .top-img .text2 {
    width: 200px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.1px;
  }

  .membership-data-null.margin-bottom {
    /* margin-bottom: 64px; */
  }
}

/* 화살표 회전 애니메이션 */
#more-btn svg {
  transition: transform 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .common-move-find-mem:after {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj48cGF0aCBkPSJNNi4wMDI3OCA0LjE3OTY2TDYuNjIwNjMgMy42NjY1TDEwIDcuOTUxODVMNi42MjM0MSAxMi4zMzMyTDYgMTEuODI3Mkw4Ljk4MTU2IDcuOTU3NTdMNi4wMDI3OCA0LjE3OTY2WiIgZmlsbD0iI2ZmZmZmZiIvPjwvc3ZnPg==");
  }
}

body.scroll-lock {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  touch-action: none;
}

@media (hover: hover) and (pointer: fine) {
  .common-move-find-mem {
    text-decoration: none;
  }

  .common-move-find-mem:hover {
    color: var(--Color-Black);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
