/* 글씨 이펙트 START */
.effect_gradient {
  background: #222;
  color: transparent;
  -webkit-background-clip: text;
}
.effect_gradient[class*="bundledplanEffect"] {
  background: linear-gradient(
    90deg,
    var(--color-sub),
    var(--color-main),
    var(--color-sub)
  );
  background-clip: text;
  background-size: 200% auto;
  animation: gradientFlow 2s linear infinite;
}
.effect_gradient[class*="rentalEffect"] {
  background: linear-gradient(90deg, #5419a2, #dc5158, #5419a2);
  background-clip: text;
  background-size: 200% auto;
  animation: gradientFlow 2s linear infinite;
}
.effect_gradient[class*="remove"] {
  background: unset;
  font-weight: inherit;
  background-size: unset;
  color: unset;
  -webkit-background-clip: unset;
  background-clip: unset;
  animation: unset;
}
@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* 퀵메뉴 START */
.quick_menu_area {
  display: none;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .quick_menu_area {
    display: block;
    padding-bottom: 16px;
  }
  .quick_menu_area.none {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .quick_menu_area {
    padding-top: 48px;
    padding-bottom: 8px;
  }
}
.quick_menu_area .c_inner {
  width: unset;
  padding: 0 32px;
}
@media screen and (max-width: 480px) {
  .quick_menu_area .c_inner {
    padding: 0 20px;
  }
}
.quick_menu_area .quick_menu_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media screen and (max-width: 480px) {
  .quick_menu_area .quick_menu_list {
    gap: 20px;
  }
}
@media screen and (max-width: 440px) {
  .quick_menu_area .quick_menu_list {
    gap: 16px;
  }
}
.quick_menu_area .quick_menu_list .list_item .link_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media screen and (max-width: 520px) {
  .quick_menu_area .quick_menu_list .list_item .link_area {
    gap: 8px;
  }
}
.quick_menu_area .quick_menu_list .list_item .img_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1/1;
  padding: 22px;
  border-radius: 9999px;
  box-sizing: border-box;
}
@media screen and (max-width: 520px) {
  .quick_menu_area .quick_menu_list .list_item .img_wrap {
    padding: 18px;
  }
}
@media screen and (max-width: 440px) {
  .quick_menu_area .quick_menu_list .list_item .img_wrap {
    padding: 16px;
  }
}
@media screen and (max-width: 380px) {
  .quick_menu_area .quick_menu_list .list_item .img_wrap {
    padding: 12px;
  }
}
.quick_menu_area .quick_menu_list .list_item .img_wrap img {
  width: 100%;
  max-width: 80px;
}
@media screen and (max-width: 520px) {
  .quick_menu_area .quick_menu_list .list_item .menu {
    font-size: 14px;
    font-weight: 500;
  }
}
@media screen and (max-width: 380px) {
  .quick_menu_area .quick_menu_list .list_item .menu {
    font-size: 13px;
  }
}
@media screen and (max-width: 330px) {
  .quick_menu_area .quick_menu_list .list_item .menu {
    font-size: 12px;
  }
}

.btn_wrap.none {
  display: none;
}

/* 팝업 UI START */
.modal_area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal_area.show {
  display: flex;
}

.modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal_inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal_wrap {
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0 20px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .modal_header {
    padding: 16px 16px 0 16px;
  }
}

.modal_title {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.modal_close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal_close img {
  width: 100%;
  height: 100%;
  display: block;
}

.modal_close:hover {
  opacity: 0.7;
}

.modal_main {
  flex: 1;
  padding: 20px 0 20px 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .modal_main {
    padding: 20px 0;
  }
}

.modal_content {
  overflow-y: auto;
  flex: 1;
  padding-right: 12px;
}
@media screen and (max-width: 768px) {
  .modal_content {
    padding-right: unset;
  }
}

.modal_content .img_wrap img {
  width: 100%;
}

.modal_footer {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.modal_footer .modal_btn.none {
  display: none;
}
@media screen and (max-width: 768px) {
  .modal_footer {
    flex-direction: column;
  }
}

.modal_btn {
  padding: 8px 12px;
  min-height: 48px;
  background-color: var(--color-sub);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  flex: 1;
  box-sizing: border-box;
}
.modal_btn.popup_btn_cancel {
  background-color: #999999;
}
.modal_btn:hover {
  opacity: 0.9;
}

.modal_footer .modal_btn:only-child {
  width: 100%;
}
.modal_footer.hide_cancel .popup_btn_cancel {
  display: none;
}

.modal_footer.hide_confirm .popup_btn_confirm {
  display: none;
}

.modal_footer.hide_cancel .popup_btn_confirm,
.modal_footer.hide_confirm .popup_btn_cancel {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .modal_inner {
    max-width: 100%;
    margin: 0;
    max-height: 100svh;
    padding: unset;
  }

  .modal_wrap {
    max-height: 100svh;
    height: 100svh;
    border-radius: unset;
    max-width: 100%;
  }
  .modal_title {
    font-size: 18px;
  }

  .modal_btn {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
}

/* 공용 탭 메뉴 스타일 START */
.tab_list {
  display: none;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.tab_list.add {
  display: flex;
}

.tab_item {
  padding: 8px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: 1px;
}

.tab_item:hover {
  color: #222;
}

.tab_item.active {
  color: var(--color-sub);
  border-bottom-color: var(--color-sub);
}

.modal_content .img_wrap .ios_img,
.modal_content .img_wrap .android_img {
  display: none;
}

@media screen and (max-width: 768px) {
  .tab_list {
    margin-bottom: 16px;
  }

  .tab_item {
    padding: 10px 20px;
    font-size: 15px;
  }
}
