@charset "utf-8";

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/***
customer_center
***/
.modal-wrapper {position: fixed;z-index: 9999;left: 0;top: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5);display: flex;justify-content: center;align-items:center;}
.modal-content {background-color: #fff;padding: 20px;border-radius: 5px;max-width: 600px;width: 80%;display: flex;flex-direction: column;}
.modal-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 15px;}
.modal-header .modal-title {margin: 0;font-size: 24px;font-weight: bold;}
.modal-body {margin-bottom: 15px;}
.modal-footer {display: flex;justify-content: center;margin-top: 15px;}
.modal-footer .close {margin-left: auto;}
.modal-header .close {font-size: 24px;}

.btn_red {padding: 0 16px; background-color: #fff; border: 1px solid #9d153f; font-color: #7064fe;}

.radio2 {display: flex; align-items: center; flex-wrap: wrap; gap: 12px;}
.radio2 .radio_item label {display: flex; align-items: center; gap: 2px; line-height: 16px; background-color: #F3F3F5; color: #A6A6B3; padding: 10px 14px; font-size: 14px; border-radius: 8px; }
.radio2 .radio_item label:before {content: ''; width: 12px; height: 8px; background: url('../images/common_sub/ico_checkbox.svg') no-repeat 0 0 / 100% 100%;}
.radio2 .radio_item input:checked + label {background-color: #0A0A0C; color: #fff;}

.w-80 {width: 80%;}
.w-70 {width: 70%;}
.w-60 {width: 60%;}
.w-50 {width: 50%;}
.w-40 {width: 40%;}
.w-30 {width: 30%;}
.w-20 {width: 20%;}
.w-10 {width: 10%;}

/*
견적문의 항목
Hide all steps by default:
*/
.step {
    display: none;
}

.btn_wrap.supply a {
    display: block;
    margin-top: 10px;
}

.valign-center {display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 16px;}

div.mark_wrap.supply {
    display: block;
}

.hand {
    cursor: pointer;
}

.mypage .review_detail_wrap .info_detail.supply_qna dt {width: 120px;}
/* Make circles that indicate the steps of the form:
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

/* Mark the active step:
.step.active {
    opacity: 1;
}

/* Mark the steps that are finished and valid:
.step.finish {
    background-color: #04AA6D;
}
*/

.ql-editor.banner_data{
    white-space:nowrap;
    /*background-color : #ffffff;*/
}

/*회원가입동의 화살표 제거*/
.ico_agree_next:after {content: ''; width: 0px; height: 0px;}


.radio_grade .radio_grade--item:nth-child(4) input:checked + label {color: #9C8AFD;}
.radio_grade .radio_grade--item:nth-child(4) input:checked + label:after {background-image: url('../images/common/ico_radio_color_active5.svg');}

table.type01 {
    border-collapse: collapse;
    text-align: left;
    line-height: 1.5;
    margin : 20px 10px;
}
table.type01 th {
    width: 150px;
    padding: 10px;
    font-weight: bold;
    vertical-align: top;
    border: 1px solid #ccc;
}
table.type01 td {
    width: 350px;
    padding: 10px;
    vertical-align: top;
    border: 1px solid #ccc;
}

/* 회원탈퇴 페이지 */
.widthdraw_info {margin-top: 24px; padding: 16px 12px; border: 1px solid #efeff2; border-radius: 8px; }
.widthdraw_info p {margin-top: 16px; font-size: 14px; color: #68687a; }
.widthdraw_info p.txt_tit{font-size: 14px; font-weight: 700; color: #68687a;}
.widthdraw_info p.txt_indent {text-indent: -12px; padding-left: 20px;}
.withdraw_item.error {border-color: #F65858;}
.error-message-agree {display: none; font-size: 14px; color: #F65858; }
.error-message-reason {display: none; font-size: 14px; color: #F65858; }

/* 모달 스타일링 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* 스피너 스타일링 */
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin-bottom: 10px;
}

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

/* 사이드 배너 스타일 */
.side-banner-container {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: none; /* 기본적으로 모든 화면 크기에서 숨김 */
}

.side-banner-container.left {
  left: 25px;
  transform: translateY(-50%) translateX(-20px);
}

.side-banner-container.right {
  right: 25px;
  transform: translateY(-50%) translateX(20px);
}

.side-banner {
  width: 160px;
  height: 600px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-banner a {
  display: block;
  width: 100%;
}

.side-banner img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.side-banner .close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.side-banner .close-btn:before,
.side-banner .close-btn:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: #333;
}

.side-banner .close-btn:before {
  transform: rotate(45deg);
}

.side-banner .close-btn:after {
  transform: rotate(-45deg);
}

/* 반응형 미디어 쿼리 */
@media all and (min-width: 1280px) {
  .side-banner-container {
    display: block; /* 1280px 이상인 경우에만 표시 */
  }
  
  .side-banner-container.left {
    left: 50%;
    margin-left: -750px; /* 콘텐츠 가로 1200px/2 + 배너 가로 160px/2 + 여백 50px */
  }
  
  .side-banner-container.right {
    right: 50%;
    margin-right: -750px; /* 콘텐츠 가로 1200px/2 + 배너 가로 160px/2 + 여백 50px */
  }
}

/* 태블릿 및 모바일에서 완전히 숨김 처리를 위한 추가 미디어 쿼리 */
@media all and (max-width: 1279px) {
  .side-banner-container {
    display: none !important; /* !important로 다른 스타일보다 우선 적용 */
  }
}

@media all and (min-width: 1600px) {
  .side-banner {
    width: 160px;
  }
  
  .side-banner-container.left {
    margin-left: -750px; /* 콘텐츠 가로 1200px/2 + 배너 가로 160px/2 + 여백 50px */
  }
  
  .side-banner-container.right {
    margin-right: -750px; /* 콘텐츠 가로 1200px/2 + 배너 가로 160px/2 + 여백 50px */
  }
}

/* 왼쪽 사이드 배너 슬라이더 */
.left-banner-slider,
.right-banner-slider {
  position: relative;
  width: 160px;
  height: 600px;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
}