/* *:not([class*="leading-"]) {
    line-height: 1.5;
} */

#popParent {
    display: none;
}
.pop-parent {
    z-index: 9999;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding-bottom: 40px;
    background-color: rgba(0, 0, 0, 0.35);
}
.pop-parent .pop {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
}
.pop-parent .m-ratioBox-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.pop-parent .m-ratioBox-wrap .m-ratioBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--sub_color01);
}
.pop-parent .m-ratioBox-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .m-ratioBox-wrap iframe {
    width: 105%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .pop .btn-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background-color: black;
    cursor: pointer;
}
.pop-parent .pop .btn-toggle img {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: all 0.3s;
}
.pop-parent .pop-btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    background-color: #3c3c3c;
}
.pop-parent .pop-btns a {
    color: #fff;
    padding: 7px 14px;
}
.pop-parent .pop-btns #oneday_check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.pop-parent .pop-btns #oneday_check + label {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}
.pop-parent .pop-btns #oneday_check + label:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border: 1px solid #fff;
}
.pop-parent .pop .swiper-btn-control {
    width: 8px;
    height: 11px;
    margin-left: 16px;
    position: relative;
    top: 2px;
}
.pop-parent .popupSwiper {
    background-color: #fff;
}
.pop-parent .swiper-pagination {
    pointer-events: none;
    top: 21px;
    left: auto;
    right: 20px;
    width: fit-content;
}
.pop-parent .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 0;
    border: 1px solid white;
    opacity: 0.5;
    background-color: transparent;
}
.pop-parent .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}
.pop-parent .active {
    right: -400px;
}
.pop-parent .active .btn-toggle {
    transform: rotate(180deg);
}
.pop-parent .pop .btn-close {
    width: 40px;
    height: 40px;
    background-color: black;
}
.pop-parent .pop .btn-close > i {
    color: #fff;
}

/* Type Card Hover States */
.type-card:not(.type-card-ai):hover {
    background-size: 100% 100% !important;
}

/* Type Card Active States */
.type-card:not(.type-card-ai).active {
    background-image: url('/images/card-on.png') !important;
    background-size: 100% 100% !important;
}

.type-card.active.group {
    border-color: #C2AC85 !important;
}

.type-card.active img:first-of-type {
    display: none !important;
}

.type-card.active img:nth-of-type(2) {
    display: block !important;
}

.type-card.active .text-white {
    color: #C2AC85 !important;
}

/* 첫 번째 카드 (div가 부모인 경우) - Hover */
.type-card > div:not(.type-card-ai):hover {
    background-size: 100% 100% !important;
}

/* 첫 번째 카드 (div가 부모인 경우) - Active */
.type-card > div:not(.type-card-ai).active {
    background-image: url('/images/card-on.png') !important;
    background-size: 100% 100% !important;
}

.type-card > div.active img:first-of-type {
    display: none !important;
}

.type-card > div.active img:nth-of-type(2) {
    display: block !important;
}

.type-card > div.active .text-white {
    color: #C2AC85 !important;
}






.font-daeojamjil {
    font-family: 'Daeojamjil', sans-serif;
}




/* 드라이빙 */
/* === 공통 라디오 버튼 스타일 === */

/* 숨김 input */
.common-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* 라벨 기본 */
.common-radio-label {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255,255,255,0.4);
}

/* 선택 효과 */
.common-radio-input:checked + span,
.common-radio-label.active span {
    color: #C2AC85 !important;
}

/* active 라벨 스타일 */
.common-radio-label.active {
    background: #222 !important;
    border-color: #C2AC85 !important;
    border-width: 2px !important;
}

/* 비활성(미선택) 라벨 */
.common-radio-label:not(.active) {
    background: transparent !important;
    border-color: rgba(255,255,255,0.25) !important;
    border-width: 2px !important;
}
.common-radio-label:not(.active) span {
    color: #fff !important;
}



/* ICVFX */
.scene-status-label {
    transition: all 0.15s;
}

.scene-status-label:hover {
    border-color: #fff !important;
}

/* 라디오 버튼이 선택되었을 때 label 스타일 */
.scene-status-radio:checked + img,
.scene-status-radio:checked ~ span,
.scene-status-label:has(.scene-status-radio:checked) {
    background: #fff !important;
    border-color: #fff !important;
    color: #333 !important;
    font-weight: bold;
}

/* has() 지원하지 않는 브라우저를 위한 대체 */
.scene-status-label.active {
    background: #fff !important;
    border-color: #fff !important;
    color: #333 !important;
    font-weight: bold;
}

/* 커스텀 스크롤바 */

.scene-cut-table-container {
    scrollbar-gutter: stable;
}

.scrollbar-custom::-webkit-scrollbar {
    width: 4px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 24px 0;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: rgba(194, 172, 133, 0.6);
    border-radius: 2px;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 172, 133, 0.8);
}



.input-disabled {
    background-color: rgba(255,255,255,0.6) !important;
    cursor: not-allowed !important;
}



.join-form .tab-btn {
    height: 36px;
    padding: 10px 16px;
    border-radius: 18px;
    background-color: transparent;
    color: rgba(225, 225, 225, 0.4);
    font-size: 16px;
    font-weight: semiBold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 18px;
}

.join-form .tab-btn.active {
    background-color: #C2AC85;
    color: #000;
}



/* 네모 체크박스 스타일 (기본 네모, 체크시 작은 네모 표시, 체크시 배경 #c2ac85 아니고 테두리만, 라벨 흰색) */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 16px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.15s;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

/* 체크되면 내부에 작은 네모 */
.custom-checkbox:checked {
    background: transparent;
    border-color: #c2ac85;
}
.custom-checkbox::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: transparent;
    border-radius: 2px;
    transition: background 0.15s;
}
.custom-checkbox:checked::after {
    background: #c2ac85;
    display: block;
}

/* 체크 시 라벨 글자색 변경 */
.terms-checkbox:checked + .terms-label {
    color: #fff !important;
    font-weight: bold;
}

.custom-select-trigger {
    background: rgba(255,255,255,0.20);
    position: relative;
    text-align: left;
}



.custom-select-trigger[aria-expanded="true"] svg {
    transform: rotate(-180deg);
}

.custom-select-options {
    border-radius: 4px;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    z-index: 30;
}

.custom-select-option {
    transition: background 0.15s, color 0.15s;
}


button {
    cursor: pointer !important;
}

/* Fade-in 애니메이션 */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

nav.lg\:overflow-x-hidden::-webkit-scrollbar,
nav.overflow-x-scroll::-webkit-scrollbar {
    display: none !important;
}


    @media (max-width: 1023px) {
        .scene-cut-table-tooltip-mobile button {
            min-width: 36px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            padding: 0;
            justify-content: center;
            overflow: hidden;
            z-index: 41;
        }
        .scene-cut-table-tooltip-mobile .mobile-tooltip-text {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            width: 0;
            transition: opacity 0.2s, width 0.3s;
        }
        .scene-cut-table-tooltip-mobile .mobile-tooltip-collapsed .mobile-tooltip-text {
           visibility: hidden;
        }
        .scene-cut-table-tooltip-mobile .mobile-tooltip-expanded {
            min-width:148px;
            width: auto;
            height: 36px;
            border-radius: 16px 16px 0px 16px;
            padding-left: 8px;
            padding-right: 14px;
            justify-content: center;
            overflow: visible;
        }
        .scene-cut-table-tooltip-mobile .mobile-tooltip-expanded .mobile-tooltip-text {
            opacity: 1;
            visibility: visible;
            width: auto;
            transition: opacity 0.2s, width 0.3s;
            margin-left: 8px;
            pointer-events: auto;
        }
    }

      #imgContainer {
        position: relative;
      }

      /* 레이어 리스트 아이템 구분선 (마지막 제외) */
      #layer-list > div:not(:last-child) {
        border-bottom: 1px dashed white;
      }

      /* extract-depth-btn-2 버튼이 disabled일 때 hover 효과 제거 */
      #extract-depth-btn-2:disabled:hover {
        background-color: rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
      }


      .overlay {
        position:absolute;
        top:0;
        left:0;
        width:100%;
        opacity:0;
        transition:opacity 0.3s;
        pointer-events:none;
      }

/* 입력 필드 기본 스타일 (PC: 16px) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  font-size: 16px;
}

input::placeholder,
textarea::placeholder {
  font-size: 16px;
}

/* 1024px 이하에서 이미지 비율 유지 (좌우는 꽉 채움) */
@media (max-width: 1023px){
/* 섹션 높이를 auto로 변경 */
  #screenDefault,
  #imgContainer,
  #imgContainer2,
  #imgContainer3 {
    height: auto !important;
    min-height: 100vh;
  }

  #screenDefault img,
  #imgContainer img,
  #imgContainer canvas,
  #imgContainer2 img,
  #imgContainer3 img {
    object-fit: cover !important;
    height: auto !important;
  }

  /* 모바일 컨트롤 표시 */
  /* .mobile-control-top,
  .mobile-control-btm {
    display: block;
  } */

  /* 상단 버튼 고정 */
  .mobile-control-top > div {
    /* position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important; */
  }

  /* 이미지 컨테이너 */
  .mobil-mask-container {
    position: relative;
  }

  /* baseImg 또는 첫번째 이미지는 relative로 높이 결정 */
  .mobil-mask-container #baseImg,
  #imgContainer2 .mobil-mask-container > img:first-child,
  #imgContainer3 .mobil-mask-container > img:first-child {
    position: relative !important;
    top: 0 !important;
  }

  /* 오버레이 이미지들은 baseImg 위에 겹침 */
  .mobil-mask-container .overlay,
  .mobil-mask-container canvas,
  #imgContainer2 .mobil-mask-container > img:not(:first-child),
  #imgContainer3 .mobil-mask-container > img:not(:first-child) {
    position: absolute !important;
    top: 0 !important;
  }

  /* 레이어 리스트는 이미지 컨테이너 다음에 배치 */
  .mobile-control-btm {
    position: relative !important;
  }

  /* 모든 화면의 이미지를 상단에 정렬 */

  #screenDefault img {
    object-position: top center !important;
  }

  #imgContainer img,
  #imgContainer canvas,
  #imgContainer2 img,
  #imgContainer3 img {
    top: 0px !important;
    object-position: top center !important;
  }


  /* 2번 안내문구 위치 조정 */


  /* 모든 안내문구 모바일에서 공통 스타일 */
  #guide-message-1 {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    width: 100%;
    max-width: 70%;
    text-align: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position:absolute !important;
    transform: translateX(-50%) !important;
    left: 50% !important;
    bottom: 76px !important;
    max-width: 90% !important;
  }


  #guide-message-2-mobile,
  #guide-message-3-mobile {
    position: absolute;
    top: unset !important;
    bottom: 76px !important;
  }

  #guide-message-3-mobile {
     padding: 10px 12px;
     left: 50% !important;
     transform: translateX(-50%) !important;
     transition: opacity 0.5s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    bottom: 126px !important;

  }

  /* 플레이스홀더 및 입력 필드 모바일 스타일 */
  input::placeholder,
  textarea::placeholder {
    font-size: 14px !important;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  textarea,
  select {
    font-size: 14px !important;
  }
}

/* Scene Cut Table - 버튼 클릭 비활성화 */
#sceneCutTableContainer .scroll-inner {
  pointer-events: auto;
}

/* Scene Cut Table - 높이 제한 */
.scene-cut-table-container .scroll-inner {
  max-height: 800px;
}

@media (max-width: 820px) {
.scene-cut-table-container .scroll-inner {
    max-height: 700px;
}
}

@media (max-width: 420px) {
  .scene-cut-table-container .scroll-inner {
    max-height: 430px;
  }
}

#sceneCutTableContainer .image-toggle-btn {
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}




@media (max-width: 1280px) {
.flex-1280 {
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.px-1280 {
    padding-left: 20px;
    padding-right: 20px;
}

.justify-start-1280 {
    justify-content:start;
}

}

@media (max-width: 1024px) {

    #screenDefault,
    #imgContainer,
    #imgContainer2,
    #imgContainer3 {
      min-height: calc(100vh - 100px);
    }

    .px-1280 {
        padding-left: 0;
        padding-right: 0;
    }
}

/* [최신화] */

/* project-icvfx (STEP4 ICVFX) */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.env-card {
    width: 242px;
    min-height: 56px;
    flex-shrink: 0;
}

.env-card-scroll-bleed {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .env-card-scroll-bleed {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1440px) {
    .env-card-scroll-bleed {
        margin: 0;
        padding: 0;
    }

    .icvfx-left-panel {
        min-height: 0;
    }

    .icvfx-shot-list-section {
        min-height: 0;
        flex: 1;
    }
}

.ledwall-slider__fill {
    width: var(--ledwall-slider-pct, 0%);
    min-width: 12px;
}
