/* APP app-common.css/app.css 에서 추출한 Sale 위저드 전용 스타일 (WEB-REACT용) */
.preview-uploaded-img {
    width: 220px;
    text-align: right;
}
.preview-uploaded-img figure {
    display: inline-block;
    width: 62px !important;
    height: 62px;
    margin: 10px 0 0 10px;
    overflow: hidden;
}
.preview-uploaded-img figure img {
    width: 100%;
    min-height: 100%;
    font-size: 0;
}
.preview-uploaded-img figcaption {
    display: none;
}
.preview-btn-group button {
    width: 100%;
    height: 57px;
    margin: 0;
    padding: 16px 0;
    border: none;
    background-color: #ebecf2;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}
.preview-btn-group .btn-preview-delete {
    margin-bottom: 10px;
    background-color: #dc3545;
    color: white;
}
.common-modal .modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px !important;
    border: none;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
    z-index: 1000;
    margin: 0 !important;
}
.common-modal .modal-header {
    margin: 0 25px;
    padding: 25px 0;
    border-bottom: 1px solid #ebecf2;
}
.common-modal .modal-header h3 {
    font-size: 20px;
}
.common-modal .modal-alert .modal-body {
    padding: 25px 25px 0 25px;
}
.common-modal .modal-alert .modal-body .input-wrapper {
    display: flex;
    margin-bottom: 10px;
}
.common-modal .modal-alert .modal-body .input-wrapper .tit {
    margin-right: 20px;
    width: 75px;
    line-height: 35px;
}
.common-modal .modal-alert .modal-body .input-wrapper .full-input {
    width: 100%;
}
.common-modal .modal-alert .modal-body .input-wrapper .full-input input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}
.common-modal .modal-alert .modal-footer {
    border: none;
    padding: 30px 25px 27px 25px;
}
.common-modal .modal-footer .btn-modal-submit {
    border-radius: 6px;
    font-size: 16px;
    height: 57px;
    display: block;
    width: 100%;
    margin: 0 0 9px;
    border: 2px solid #ff822e;
    background-color: #ff822e;
    color: white;
}
.common-modal .modal-footer .btn-modal-cancel {
    border-radius: 6px;
    font-size: 16px;
    height: 57px;
    margin: 0;
    width: 100%;
    display: block;
    padding: 12px 32px;
    border: 1px solid #c5ccd8;
    color: #34373c;
}
#Sale .guide-modal .modal-dialog,
#Sale-2 .guide-modal .modal-dialog {
    border-radius: 10px;
    box-shadow: 0 -1px 15px 0 rgba(70, 87, 154, 0.1);
    background-color: #ffffff;
    margin: 0 25px;
    padding: 30px 25px;
}
#Sale .guide-modal .modal-content .title img,
#Sale-2 .guide-modal .modal-content .title img {
    margin-right: 20px;
}
#Sale .guide-modal .modal-content .title .title-text,
#Sale-2 .guide-modal .modal-content .title .title-text {
    font-size: 20px; 
    margin-bottom: 5px;
}
#Sale .guide-modal .modal-content .title .title-text .icon-guide,
#Sale-2 .guide-modal .modal-content .title .title-text .icon-guide {
    background-color: #ff6369;
    border-radius: 60px;
    color: #fff;
    padding: 1px 10px;
    text-align: center;
    font-size: 11px;
    position: relative;
    top: -4px;
}
#Sale .guide-modal .modal-content .step-list,
#Sale-2 .guide-modal .modal-content .step-list {
    margin-top: 10px;
    margin-bottom: 24px;
}
#Sale .guide-modal .modal-content .step-list li,
#Sale-2 .guide-modal .modal-content .step-list li {
    font-size: 13px;
    margin-bottom: 7px;
}
#Sale .guide-modal .modal-content .step-list li b,
#Sale-2 .guide-modal .modal-content .step-list li b {
    min-width: 81px;
}
#Sale .guide-modal .modal-content .info-list,
#Sale-2 .guide-modal .modal-content .info-list {
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 13px;
}
#Sale .guide-modal .modal-content .info-list li,
#Sale-2 .guide-modal .modal-content .info-list li {
    margin-bottom: 7px;
}
#Sale .guide-modal .contact div.left,
#Sale-2 .guide-modal .contact div.left {
    width: 50%;
}
#Sale .guide-modal .contact b,
#Sale-2 .guide-modal .contact b {
    font-size: 13px;
    line-height: 36px;
    margin-left: 8px;
}
#Sale .guide-modal .modal-button,
#Sale-2 .guide-modal .modal-button {
    background-color: #ff822e;
    border-radius: 6px;
    padding: 18px;
    height: 60px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    width: 100%;
    margin-top: 30px;
}
@media screen and (max-width:320px) {
  #Sale .guide-modal.fade.in,
    #Sale-2 .guide-modal.fade.in {
        bottom: auto;
        overflow-y: scroll;
        height: 100%;
        background-color: #fff;
    }
  #Sale .guide-modal.fade.in .modal-content,
    #Sale-2 .guide-modal.fade.in .modal-content {
        margin: 0 !important;
        border-radius: 0;
        height: 100%;
    }
  #Sale .guide-modal .modal-button,
    #Sale-2 .guide-modal .modal-button {
        margin-bottom: 30px;
    }
}
#Sale-2 .chat-container {
    overflow: scroll;
    
}
#Sale-2 .chat-content {
    padding-top: 24px;
}
/* 원본(APP/css/app.css:3738 "#Sale-2 .modal-container:not(#frmState)")은 common.css의
   범용 ".modal-container:not(#frmState){opacity:0;visibility:hidden}" 규칙을 Sale-2 스코프에서
   강제로 뒤집어(opacity:1;visibility:visible) 상시 노출시킴 — 표시 여부는 오직 .display-none 토글로만 제어.
   이 오버라이드가 sale-wizard.css에 이식되지 않아 numberModalOpen이 true여도 모달이 opacity:0으로 숨겨져
   있었음(차량 조회 결과 모달 미노출 버그) — 원본 규칙 그대로 복제. */
#Sale-2 .modal-container:not(#frmState) {
    display: flex;
    opacity: 1;
    visibility: visible;
    padding: 0 25px;
    flex-direction: column;
    justify-content: center;
}
#Sale-2 .modal-content .number-info {
    background-color: #f3f4f9;
    border-radius: 6px;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 14px;
}
#Sale-2 .modal-content .number-info li {
    display: flex;
}
#Sale-2 .modal-content .number-info span:first-child {
    color: #89909d;
    width: 22%;
    margin-right: 23px;
}
#Sale-2 .modal-content .number-info b {
    font-weight: normal;
}
#Sale-2 .modal-content .number-button,
#MypageBuy .modal-content button,
#MypageSale .modal-content button,
#Dashboard .modal-content button {
    height: 60px;
    background-color: #ff822e;
    color: white;
    border-radius: 6px;
    font-size: 16px;
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 29px;
}
#Sale-2 .modal-content .number-button:first-child,
#MypageBuy .modal-content button:first-child,
#MypageSale .modal-content button:first-child,
#Dashboard .modal-content button:first-child {
    background-color: white;
    border: solid 1px #c5ccd8;
    margin-right: 9px;
    color: #34373c;
}
#Sale-2 .modal-content .modal-result .number-button {
    width: 50%;
}
.step-submit {
    position: relative;
}
#Sale-2 .upload-box {
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
}
#Sale-2 .upload-box .upload-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}
#Sale-2 .upload-text {
    background-color: white;
    font-weight: bold;
    font-size: 13px;
    color: #ff6369;
    text-align: center;
    border: solid 1px #ff6369;
    border-radius: 50px;
    padding: 7px 20px;
    width: 85.8%;
    margin: 0 auto;
    margin-bottom: 18px;
    position: relative;
}
.upload-text:after, .upload-text:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.upload-text:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
    border-width: 6px;
	margin-left: -6px;
}
.upload-text:before {
	border-color: rgba(66, 102, 245, 0);
	border-top-color: #ff6369;
    border-width: 7px;
	margin-left: -7px;
}
#Sale-2 .info .info-button {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 66px 25px 26px 25px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
}
#Sale-2 .info .info-button button:disabled {
    background-color: #c5ccd8;
}
#Sale-2 .info .info-button button {
    width: 100%;
    background-color: #ff822e;
    border-radius: 6px;
    height: 60px;
    color: white;
    font-size: 16px;
    padding: 0;
}
#Sale-2 .modal-content-frame {
    background-color: white;
    width: 100%;
    position: fixed;
    top: 74px;
    left: 0;
    bottom: 0;
    padding: 30px 25px 35px 25px;
    border-radius: 10px 10px 0 0;
    overflow-y: scroll;
    margin: 0 !important;
}
#Sale-2 #frmFrame .frame-info {
    margin-top: 4px;
}
#Sale-2 #frmFrame .frame-info span.afterline span {
    margin-right: 4px;
}
#Sale-2 #frmFrame .frame-info span.afterline:after {
    height: 12px;
}
#Sale-2 #frmFrame .frame-info span {
    font-size: 14px;
    color: #89909d;
}
#Sale-2 #frmFrame .frame-skin {
    margin-top: 43px;
}
#Sale-2 #frmFrame .frame-skeleton {
    margin-top: 36px;
}
#Sale-2 #frmFrame .frame-skin > b,
#Sale-2 #frmFrame .frame-skeleton > b {
    font-size: 16px;
}
#Sale-2 #frmFrame .frame-skin > span,
#Sale-2 #frmFrame .frame-skeleton > span {
    font-size: 12px;
    color: #89909d;
    position: relative;
    top: -2px;
    margin-left: 8px;
}
#Sale-2 .result-number {
    font-size: 15px;
}
#Sale-2 .result-number > b,
#Sale-2 .result-number > span {
    display: block;
    text-align: center;
    width: 100%;
}
#Sale-2 .result-number b {
    color: #89909d;
    margin-top: 6px;
    margin-bottom: 8px;
}
#Sale-2 .result-number span {
    margin-bottom: 10px;
    margin-top: 8px;
}
#Sale-2 .result-number .spinner-box {
    width: 100%;
}
#Sale-2 .result-number .spinner {
    animation: rotator 1.4s linear infinite;
    display: block;
    margin: 0 auto;
  }
#Sale-2 .result-number .path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}
#Sale-2 .modal-content .modal-number > div:first-child {
    margin-top: 30px;
}
#Sale-2 .modal-content .modal-number > div:first-child > span.right {
    color: #ff822e;
    font-size: 14px;
    text-decoration: underline;
    position: relative;
    top: 5px;
}
#Sale-2 #frmDistance .distance-check {
    position: absolute;
    right: 0;
    top: -6px;
}
#Sale-2 #frmDistance .distance-check ul li {
    font-size: 13px;
    border: 1px solid #c5ccd8;
    padding: 4px 10px;
    width: auto;
}
#Sale-2 #frmDistance .distance-check ul li.active {
    border: 1px solid #ff822e;
}
#Sale-2 #frmDistance .distance-check ul li:first-child.active {
    border-right: 1px solid #ff822e;
}
#Sale-2 #frmDistance .distance-check ul li:last-child.active {
    border-left: 1px solid #ff822e;
}
#Sale-2 #frmDistance .distance-check ul li:first-child {
    border-right: 0;

}
#Sale-2 #frmDistance .distance-check ul li:last-child {
    border-left: 0;
}
#Sale-2 #frmDistance .distance-check ul li.radio-box .radio-icon {
    background-image: none;
    width: auto;
    height: auto;
    margin-right: 0;
}
#Sale-2 #frmDistance .distance-check ul li.radio-box input[type=radio]:checked + .radio-icon {
    background-image: none;
}
#Sale-2 #frmDistance .distance-check ul li.radio-box input[type=radio]:checked + .radio-icon + span {
    font-weight: bold;
}
#Sale-2 #frmDistance .distance-check ul li.radio-box > label {
    height: auto;
}
#Sale-2 #frmDistance .distance-check ul li.radio-box > label > span {
    top: 0;
}
#Sale-2 .manager .chat-comment:first-child {
    margin-top: 0 !important;
}
#Sale-2 .manager .chat-comment:last-child {
    margin-top: 12px;
}
.chat-comment .title {font-weight: bold;}
#Sale-2 .nav-modal.fade {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding-right: 0 !important;
    background-color: rgba(52,55,60,.85);
    overflow: hidden;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
}
#Sale-2 .nav-modal.fade.in {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}
#Sale-2 .nav-modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
#Sale-2 .nav-modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}
#Sale-2 .nav-modal .modal-content {
    width: 100%;
    margin: 25px !important;
    box-shadow: none;
    background-color: #fff;
    border-radius: 10px !important;
}
#Sale-2 .nav-modal .modal-content div {
    padding: 20px;
    text-align: center;
}
#Sale-2 .nav-modal .modal-content div:first-child {
    border-bottom: 1px solid #ebecf2;
}
#Sale-2 .submit-warning .check-box input[type=checkbox]:checked + .check-icon + span {
    color: #34373c;
}
@media screen and (max-width:360px) {
  #Sale-2 .modal-content .number-info {
        font-size: 13px;
    }
  #Sale-2 .upload-text {
        font-size: 12px;
    }
}

/* ===================================================================
 * 내차팔기 3옵션 선택 모달 (SaleOptionsModal)
 * 원본: WEB-BIZ의 openSale()이 iziModal(iframe)로 모바일(APP) pages#/newSale을 띄우던 것을
 * React SPA에서는 그 iframe 콘텐츠(APP/view/Products/Sale.html)를 직접 모달로 재현.
 * 아래 iziModal-* 규칙은 원본 iziModal.min.css(headerColor #ff822e, width 600, setFullscreen)를
 * 근사 재현한 것이고, #newSale .sale-section-list 이하는 APP/css/app.css 원본 그대로 이식.
 * =================================================================== */
.izimodal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.izimodal-box {
    width: 600px;
    max-width: 100%;
    height: 90vh;
    max-height: 812px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.izimodal-header {
    background-color: #ff822e;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
}
.izimodal-header-title {
    font-size: 18px;
    font-weight: bold;
}
.izimodal-header-subtitle {
    display: block;
    font-size: 13px;
    font-weight: normal;
    margin-top: 2px;
}
.izimodal-close {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
.izimodal-body {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}
.izimodal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#newSale .container{
    overflow: auto;
    padding: 16px 18px 10px 18px;
}
#newSale .container div.clear{
    margin-bottom: 4px;
}
#newSale .container div.clear > h2{
    font-size: 24px;
    display: flex;
}
#newSale .container .sale-section-list {
    margin-top: 20px;
}
#newSale .container .sale-section-list .sale-section {
    padding: 24px;
    border-radius: 20px;
    background-color: #f7f8fd;
    margin: 10px 0;
    position: relative;
    cursor: pointer;
}
#newSale .container .sale-section-list .sale-section .sell_icon{
    position: absolute;
    top: 20px;
    right: 20px;
}
#newSale .container .sale-section-list .sale-section h3 {
    font-size: 17px;
}
#newSale .container .sale-section-list .sale-section .info{
    font-size: 12px;
    padding: 5px 0;
    color: #585a5e;
}
#newSale .container .sale-section-list .sale-section .buttons{
    padding-top: 18px;
}
#newSale .container .sale-section-list .sale-section .buttons .icon-btn{
    display: inline-flex;
    padding: 6px 15px 3px 8px;
    background: #fff;
    border-radius: 15px;
    margin-right: 5px;
}
#newSale .container .sale-section-list .sale-section .buttons .icon-btn .label{
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}

/* ===== APP/css/app.css #Sale-2(내차팔기 위저드) 전체 이식 — 일부만 이식돼 있던 것 보강 =====
   (원본 #Dashboard/#MypageBuy/#MypageSale/#Cart 등 다른 페이지 공용 선택자는 #Sale-2 범위만 남기고 제거) */
#Sale-2 .guide-modal .modal-dialog{
    border-radius: 10px;
    box-shadow: 0 -1px 15px 0 rgba(70, 87, 154, 0.1);
    background-color: #ffffff;
    margin: 0 25px;
    padding: 30px 25px;
}


#Sale .guide-modal .modal-content .title img,
#Sale-2 .guide-modal .modal-content .title img{
    margin-right: 20px;
}

#Sale .guide-modal .modal-content .title .title-text,
#Sale-2 .guide-modal .modal-content .title .title-text{
    font-size: 20px; 
    margin-bottom: 5px;
}

#Sale .guide-modal .modal-content .title .title-text .icon-guide,
#Sale-2 .guide-modal .modal-content .title .title-text .icon-guide{
    background-color: #ff6369;
    border-radius: 60px;
    color: #fff;
    padding: 1px 10px;
    text-align: center;
    font-size: 11px;
    position: relative;
    top: -4px;
}

#Sale .guide-modal .modal-content .step-list,
#Sale-2 .guide-modal .modal-content .step-list{
    margin-top: 10px;
    margin-bottom: 24px;
}

#Sale .guide-modal .modal-content .step-list li,
#Sale-2 .guide-modal .modal-content .step-list li{
    font-size: 13px;
    margin-bottom: 7px;
}

#Sale .guide-modal .modal-content .step-list li b,
#Sale-2 .guide-modal .modal-content .step-list li b{
    min-width: 81px;
}

#Sale .guide-modal .modal-content .info-list,
#Sale-2 .guide-modal .modal-content .info-list{
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 13px;
}

#Sale .guide-modal .modal-content .info-list li,
#Sale-2 .guide-modal .modal-content .info-list li{
    margin-bottom: 7px;
}

#Sale .guide-modal .contact div.left,
#Sale-2 .guide-modal .contact div.left{
    width: 50%;
}

#Sale .guide-modal .contact b,
#Sale-2 .guide-modal .contact b{
    font-size: 13px;
    line-height: 36px;
    margin-left: 8px;
}

#Sale .guide-modal .modal-button,
#Sale-2 .guide-modal .modal-button{
    background-color: #ff822e;
    border-radius: 6px;
    padding: 18px;
    height: 60px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

@media screen and (max-width:320px){
    #Sale .sale-speech-bubble{
        font-size: 14px;
    }
    
    #Sale .sale-speech-bubble{
        padding: 10px;
    }

    #Sale .guide-modal.fade.in,
    #Sale-2 .guide-modal.fade.in{
        bottom: auto;
        overflow-y: scroll;
        height: 100%;
        background-color: #fff;
    }
    
    #Sale .guide-modal.fade.in .modal-content,
    #Sale-2 .guide-modal.fade.in .modal-content{
        margin: 0 !important;
        border-radius: 0;
        height: 100%;
    }

    #Sale .guide-modal .modal-button,
    #Sale-2 .guide-modal .modal-button{
        margin-bottom: 30px;
    }
}
/* Sale */

/* Sale-2 */   
.state-Sale2{
    /*overflow: hidden !important;*/
}

#Sale-2 header{
    border-bottom: solid 1px #ebecf2;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9) !important;
    top: 0;
}

#Sale-2 .chat-container{
    overflow: scroll;
    /*margin-bottom: 100px;*/
}

#Sale-2 .container > progress{
    position: fixed;
    top: 60px;
}

#Sale-2 .chat-content{
    padding-top: 24px;
}

#Sale-2 .consulting{
    padding: 0 18px;
}

#Sale-2 .container > .line{
    width: 0%;
    background-color: #ff822e;
    height: 3px;
}

#Sale-2 .container progress{
    border: none;
    width: 100%;
    height: 3px;
    display: block;
}

#Sale-2 .container progress::-webkit-progress-bar {
    background:white;
}

#Sale-2 .container progress[value]::-webkit-progress-value {
    transition: all .3s;
    -webkit-transition: all .3s; 
    -moz-transition: all .3s; 
    -ms-transition: all .3s; 
    -o-transition: all .3s; 
    background-color: #ff822e;
}

#Sale-2 .number-progress{
    margin: 20px 7px;
}

#Sale-2 .number-progress div{
    margin-bottom: 7px;
    color: #ff822e;
    font-size: 22px;
}

#Sale-2 .number-progress progress{
    border: none;
    border-radius: 60px;
    width: 100%;
    height: 5px;
    display: block;
}

#Sale-2 .number-progress progress::-webkit-progress-bar {
    background:white;
}

#Sale-2 .number-progress progress[value]::-webkit-progress-value {
    border-radius: 60px;
    background-color: #ff822e;
}

#Sale-2 .number-select{
    display: none;
}

#Sale-2 .modal-container:not(#frmState){
    display: flex;
    opacity: 1;
    visibility: visible;
    padding: 0 25px;
    flex-direction: column;
    justify-content: center;
}

#Sale-2 .modal-result .modal-content{
    border-radius: 10px;
    background-color: white;
    padding: 0 25px;
    margin: 0 !important;
}

#Sale-2 .modal-content .number-info{
    background-color: #f3f4f9;
    border-radius: 6px;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 14px;
}

#Sale-2 .modal-content .number-info li{
    display: flex;
}

#Sale-2 .modal-content .number-info span:first-child{
    color: #89909d;
    width: 22%;
    margin-right: 23px;
}

#Sale-2 .modal-content .number-info b{
    font-weight: normal;
}

#Sale-2 .modal-content .modify-button{
    font-size: 16px;
    padding: 0;
    color: #ff822e;
    text-decoration: underline;
    width: 100%;
    margin-bottom: 26px;
    margin-top: 0;
}

#Sale-2 .modal-content .number-button{
    height: 60px;
    background-color: #ff822e;
    color: white;
    border-radius: 6px;
    font-size: 16px;
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 29px;
}

#Sale-2 .modal-content .modal-result{
    padding-top: 30px;
}

#Sale-2 .modal-content .modal-result b.color-green{
    position: relative;
    top: 5px;
    margin-left: 6px;
}

#Sale-2 .modal-content .modal-result > span{
    line-height: 22px;
}

#Sale-2 .modal-content .modal-result > div:last-child{
    margin-top: 34px;
}

#Sale-2 .modal-content .modal-result .result-step{ 
    font-size: 12px;
    padding-bottom: 16px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

#Sale-2 .modal-content .modal-result .result-step li{ 
    float: left;
}

#Sale-2 .modal-content .modal-result .result-step li.active{ 
    color: #ff822e;
    font-weight: bold;
}

#Sale-2 .modal-content .modal-result .result-step li img{
    margin: 0 6px;
}

#Sale-2 .modal-content .number-button:first-child{
    background-color: white;
    border: solid 1px #c5ccd8;
    margin-right: 9px;
    color: #34373c;
}

#Sale-2 .modal-content .modal-result .number-button{
    width: 50%;
}

#Sale-2 .consulting > li{
    font-size: 15px;
}

#Sale-2 .number-content .consulting > li:last-child{
    margin-bottom: 0 !important;
}

#Sale-2 .consulting > li .chat-box{
    width: calc(100% - 61px);
}

#Sale-2 .consulting > li .chat .title{
    letter-spacing: -0.7px;
}

#Sale-2 .consulting > li .chat .content{
    padding-top: 10px;
    padding-bottom: 12px;
}

#Sale-2 .consulting > li .content ul li{
    margin-bottom: 2px;
}

#Sale-2 .consulting > li:not(:first-child){
    /* 주석 풀어야 함 */
   /* display: none; */
}

#Sale-2 .consulting > li:not(:first-child).active{
    opacity: 1;
    visibility: visible;
    display: block;
}

#Sale-2 .container{
    /*padding-bottom: 150px;*/
}

#Sale-2 .distance-content{
    /* 주석 풀어야 함 */
    /* display: none; */
}

#Sale-2 .number-content .sale-input-container{
    padding-bottom: 26px;
    height: 209px;
}

#Sale-2 .number-content .sale-input-container #frmNumber{
    display: none;
}

#Sale-2 .distance-content .sale-input-container{
    display: none;
}

#Sale-2 .consulting .right .title:nth-child(3){
    margin-top: 12px;
}

#Sale-2 .change-content .consulting li:last-child .right{
    width: 63.72%;
}

#Sale-2 .state-content > .consulting li:last-child > .right li{
    margin-bottom: 2px;
    display: flex;
}

#Sale-2 .state-content > .consulting li:last-child > .right li::after{
    content: '';
    display: block;
    clear: both;
}

#Sale-2 .state-content > .consulting li:last-child > .right li b{
    width: 64%;
    display: inline-block;
    float: left;
}

#Sale-2 .state-content > .consulting .right{
    width: 53.1%;
}

#Sale-2 .photo-content > .consulting > li:nth-child(2) .content{
    padding-top: 10px;
}

#Sale-2 .photo-content > .consulting > li:nth-child(2) .content li{
    margin-bottom: 2px !important;
}

#Sale-2 #frmOption .input-title{
    margin-bottom: 24px;
}

#Sale-2 #frmChange .input-title{
    margin-bottom: 26px;
}

#Sale-2 #frmChange .sale-button-box{
    margin-top: 32px;
}

#Sale-2 #frmOption .check-box input[type=checkbox]:checked + .check-icon + span,
#Sale-2 #frmChange .check-box input[type=checkbox]:checked + .check-icon + span{
    font-weight: normal;
}

#Sale-2 #frmChange ul li{
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

#Sale-2 #frmState section{
    margin-bottom: 45px;
}

#Sale-2 #frmState section h3{
    font-size: 20px;
    font-weight: normal;
}

#Sale-2 #frmState section:first-child h3{
    margin-top: 5px;
}

#Sale-2 #frmState section h3 + span{
    color: #89909d;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

#Sale-2 #frmState section ul{
    margin-top: 16px;
}

#Sale-2 #frmState section ul li{
    border: 1px solid #c6ccd8;
    border-radius: 3px;
    float: left;
    width: 50%;
    padding: 11px;
    font-size: 14px;
}

#Sale-2 #frmState section ul li.active{
    border: 1px solid #ff822e;
}

#Sale-2 #frmState section ul li.active span{
    color: #ff822e;
    font-weight: bold;
}

#Sale-2 #frmState section ul li .radio-icon{
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    margin-right: 14px;
}

#Sale-2 #frmState section .radio-box input[type=radio]:checked + .radio-icon + span{
    font-weight: bold;
}

#Sale-2 #frmState .radio-box > label > span{
    top: -7px;
}

#Sale-2 #frmState section ul li.radio-box > label{
    height: 24px;
}

#Sale-2 #frmState section ul li:first-child{
    margin-right: 9px;
}

#Sale-2 #frmState section:nth-child(3) ul li{
    float: none;
    width: 100%;
}

#Sale-2 #frmState{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52,55,60,0.85);
    z-index: 1111111;
}

#Sale-2 #frmState > div{ 
    background: white;
    border-radius: 6px 6px 0 0;
    padding: 25px;
    bottom: 0;
    width: 100%;
    height: calc(100% - 74px);
    position: fixed;
    overflow: scroll;
    margin: 0 !important;
    z-index: 1111;
}

#Sale-2 #frmState .sale-button-box{
    position: relative;
    bottom: auto;
    margin-top: 0;
}

.step-submit{
    position: relative;
}

#Sale-2 .upload-box{
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
}

#Sale-2 .upload-box .upload-input{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}

#Sale-2 .upload-text{
    background-color: white;
    font-weight: bold;
    font-size: 13px;
    color: #ff6369;
    text-align: center;
    border: solid 1px #ff6369;
    border-radius: 50px;
    padding: 7px 20px;
    width: 85.8%;
    margin: 0 auto;
    margin-bottom: 18px;
    position: relative;
}

.upload-text:after, .upload-text:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.upload-text:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
    border-width: 6px;
	margin-left: -6px;
}
.upload-text:before {
	border-color: rgba(66, 102, 245, 0);
	border-top-color: #ff6369;
    border-width: 7px;
	margin-left: -7px;
}

#Sale-2 .info{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: white;
    z-index: 9999;
    padding: 73px 25px 151px 25px;
    overflow-y: scroll;
}

#Sale-2 .info > h3{
    font-size: 22px;
}

#Sale-2 .info strong{
    margin-top: 30px;
    font-size: 16px;
    padding-bottom: 4px;
    border-bottom: 2px solid #34373c;
    width: 100%;
    display: block;
}

#Sale-2 .info p{
    margin-top: 16px;
    font-size: 14px;
}

#Sale-2 .info > a{
    width: 28px;
    height: 28px;
    position: absolute;
    top: 16px;
    right: 18px;
}

#Sale-2 .info .info-box{
    background-color: #f3f4f9;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    margin-top: 60px;
}

#Sale-2 .info .info-box > b{
    font-size: 16px;
}

#Sale-2 .info .info-box ul{
    margin-top: 16px;
}

#Sale-2 .info .info-box ul li{
    font-size: 14px;
    margin-bottom: 12px;
}

#Sale-2 .info .check-box input[type=checkbox]:checked + .check-icon + span{
    font-weight: normal;
}

#Sale-2 .info .check-box{
    margin-top: 16px;
}

#Sale-2 .info .info-button{
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 66px 25px 26px 25px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
}

#Sale-2 .info .info-button button:disabled{
    background-color: #c5ccd8;
}

#Sale-2 .info .info-button button{
    width: 100%;
    background-color: #ff822e;
    border-radius: 6px;
    height: 60px;
    color: white;
    font-size: 16px;
    padding: 0;
}

#Sale-2 .result-content .sale-button-box,
#Sale-2 .state-content .sale-button-box{
    padding: 66px 25px 26px 25px;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
}

#Sale-2 .frmState-button{
    padding: 66px 25px 26px 25px;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 51%, rgba(255, 255, 255, 0.7));
    position: fixed;
}

#Sale-2 #frmState > div > section:nth-child(4) ul{
    display: block;
}

#Sale-2 #frmState > div > section:nth-child(4) li{
    width: 100%;
    float: none;
    margin-right: 0;
}

#Sale-2 #frmState > div > section:nth-child(4) li:first-child{
    margin-bottom: 10px;
}

#Sale-2 #frmState > div > section:nth-child(4) ul li:last-child > div{
    margin-top: 16px;
}

#Sale-2 #frmState > div > section:nth-child(4) ul li:last-child > div > div{
    margin-bottom: 10px;
}

#Sale-2 #frmState > div > section:nth-child(4) ul li:last-child > div > textarea::placeholder{
    color: #89909d;
}

#Sale-2 #frmState > div > section:nth-child(4) ul li:last-child > div > textarea{
    padding: 15px;
    height: 102px;
    width: 100%;
    background-color: #f3f4f9;
    border-radius: 3px;
    border: none;
    font-size: 14px;
    resize: none;
    color: #34373c;
}

#Sale-2 .modal-content-frame{
    background-color: white;
    width: 100%;
    position: fixed;
    top: 74px;
    left: 0;
    bottom: 0;
    padding: 30px 25px 35px 25px;
    border-radius: 10px 10px 0 0;
    overflow-y: scroll;
    margin: 0 !important;
}

#Sale-2 #frmFrame h3{
    font-size: 20px;
    font-weight: normal;
}

#Sale-2 #frmFrame .frame-info{
    margin-top: 4px;
}

#Sale-2 #frmFrame .frame-info span.afterline span{
    margin-right: 4px;
}

#Sale-2 #frmFrame .frame-info span.afterline:after{
    height: 12px;
}

#Sale-2 #frmFrame .frame-info span{
    font-size: 14px;
    color: #89909d;
}

#Sale-2 #frmFrame .frame-skin{
    margin-top: 43px;
}

#Sale-2 #frmFrame .frame-skeleton{
    margin-top: 36px;
}

#Sale-2 #frmFrame .frame-skin > b,
#Sale-2 #frmFrame .frame-skeleton > b{
    font-size: 16px;
}

#Sale-2 #frmFrame .frame-skin > span,
#Sale-2 #frmFrame .frame-skeleton > span{
    font-size: 12px;
    color: #89909d;
    position: relative;
    top: -2px;
    margin-left: 8px;
}

#Sale-2 #frmFrame .frame-select{
    border: 1px solid #ebecf2;
    border-radius: 6px;
    padding: 8px 4px;
    margin-top: 16px;
}
.frame-select{
    position: relative;
}
.frame-select .check-area{
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
}

.frame-select .check-area .checker{
    position: absolute;
    border: 2px solid #ffc49c;
    font-size: 0.6rem;
    font-weight: bold;
    color:#fff;
    padding-top: 6%;
    width: 11%;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-select .check-area .checker span{
    width: 100%;
    text-align: center;
    top:8%;
    position: absolute;
}

.frame-select .check-area .checker.X{
    background: #0088ff;
    border: 2px solid #0088ff;
}

.frame-select .check-area .checker.W{
    background: #6459c8;
    border: 2px solid #6459c8;
}

#Sale-2 #frmFrame .frame-select img{
    width: 100%;
    display: block;
    margin: 0 auto;
}

#Sale-2 #frmFrame .sale-button-box{
    position: static;
    padding: 0;
    margin-top: 45px;
}

#Sale-2 .result-number{
    font-size: 15px;
}

#Sale-2 .result-number > b,
#Sale-2 .result-number > span{
    display: block;
    text-align: center;
    width: 100%;
}

#Sale-2 .result-number b{
    color: #89909d;
    margin-top: 6px;
    margin-bottom: 8px;
}

#Sale-2 .result-number span{
    margin-bottom: 10px;
    margin-top: 8px;
}

#Sale-2 .result-number .spinner-box{
    width: 100%;
}

#Sale-2 .result-number .spinner{
    animation: rotator 1.4s linear infinite;
    display: block;
    margin: 0 auto;
  }
  
@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

#Sale-2 .result-number .path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}


@keyframes colors {
    0% {
        stroke: #ff822e;
    }
    25% {
        stroke: #ffc02e;
    }
    50% {
        stroke: #ff822e;
    }
    75% {
        stroke: #ffc02e;
    }
    100% {
        stroke: #ff822e;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}

#Sale-2 .modal-content .modal-number > div:first-child{
    margin-top: 30px;
}

#Sale-2 .modal-content .modal-number > div:first-child > span.right{
    color: #ff822e;
    font-size: 14px;
    text-decoration: underline;
    position: relative;
    top: 5px;
}

#Sale-2 #frmDistance{
    position: relative;
}

#Sale-2 #frmDistance .distance-check{
    position: absolute;
    right: 0;
    top: -6px;
}

#Sale-2 #frmDistance .distance-check ul li{
    font-size: 13px;
    border: 1px solid #c5ccd8;
    padding: 4px 10px;
    width: auto;
}

#Sale-2 #frmDistance .distance-check ul li.active{
    border: 1px solid #ff822e;
}

#Sale-2 #frmDistance .distance-check ul li:first-child.active{
    border-right: 1px solid #ff822e;
}

#Sale-2 #frmDistance .distance-check ul li:last-child.active{
    border-left: 1px solid #ff822e;
}

#Sale-2 #frmDistance .distance-check ul li:first-child{
    border-right: 0;

}
#Sale-2 #frmDistance .distance-check ul li:last-child{
    border-left: 0;
}

#Sale-2 #frmDistance .distance-check ul li.radio-box .radio-icon{
    background-image: none;
    width: auto;
    height: auto;
    margin-right: 0;
}

#Sale-2 #frmDistance .distance-check ul li.radio-box input[type=radio]:checked + .radio-icon{
    background-image: none;
}

#Sale-2 #frmDistance .distance-check ul li.radio-box input[type=radio]:checked + .radio-icon + span{
    font-weight: bold;
}

#Sale-2 #frmDistance .distance-check ul li.radio-box > label{
    height: auto;
}

#Sale-2 #frmDistance .distance-check ul li.radio-box > label > span{
    top: 0;
}

#Sale-2 .manager .chat-comment:first-child{
    margin-top: 0 !important;
}

#Sale-2 .manager .chat-comment:last-child{
    margin-top: 12px;
}

.chat-comment .title{font-weight: bold;}

#Sale-2 .nav-modal.fade{
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding-right: 0 !important;
    background-color: rgba(52,55,60,.85);
    overflow: hidden;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
}

#Sale-2 .nav-modal.fade.in{
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

#Sale-2 .nav-modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

#Sale-2 .nav-modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

#Sale-2 .nav-modal .modal-content{
    width: 100%;
    margin: 25px !important;
    box-shadow: none;
    background-color: #fff;
    border-radius: 10px !important;
}

#Sale-2 .nav-modal .modal-content div{
    padding: 20px;
    text-align: center;
}

#Sale-2 .nav-modal .modal-content div:first-child{
    border-bottom: 1px solid #ebecf2;
}

#Sale-2 .submit-warning .check-box input[type=checkbox]:checked + .check-icon + span{
    color: #34373c;
}

@media screen and (max-width:320px){
    #Sale-2 .consulting > li{
        font-size: 14px;
    }
}

@media screen and (max-width:360px){
    #Sale-2 .modal-content .number-info{
        font-size: 13px;
    }
    
    #Sale-2 .consulting > li{
        font-size: 14px;
    }

    #Sale-2 .upload-text{
        font-size: 12px;
    }
}

/* 데스크톱 모달 셸(izimodal-box) 안에서는 #Sale-2 header가 뷰포트 전체가 아니라
   모달 박스 안에서만 상단 고정되도록 보정 (원본은 앱 전체화면 기준 position:fixed) */
.izimodal-box #Sale-2 header {
    position: sticky;
    top: 0;
}
