@charset "utf-8";
@font-face {
    font-family: 'SamsungOneKorean';
    src: url('../../../../../static/fonts/SamsungOneKorean-400.ttf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'SamsungOneKorean-700';
    src: url('../../../../../static/fonts/SamsungOneKorean-700.ttf');
    font-weight: 700;
    font-style: normal;
}
*{
    margin: 0;
    padding: 0;
}
ul,li{
    list-style: none;
}
h1, input[placeholder]{
    font-family: 'SamsungOneKorean';
    font-weight: 500;
    /* color: #1f1f1f; */
    font-size: 16px;
}
.search-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
input::placeholder{
    color: #c2c2c2;;
}
/* 모달 스타일링 */
.window_search {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    display: none;
    
}
.window_search:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: -1;
}
.window_search.active{
    display: flex;
}
.search-window {
    width:604px;
    /* height: 328px; */
    background: linear-gradient(247.22deg, 
    rgba(255, 119, 119, 0) 64.99%, 
    rgba(255, 119, 119, 0.1) 81.97%), 
    radial-gradient(80.8% 222.27% at 16.28% 29.9%, 
    rgba(255, 240, 188, 0.3) 0%, rgba(255, 240, 188, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, radial-gradient(73.22% 125.26% at 75.22% 8.14%, rgba(42, 76, 255, 0.25) 0%, rgba(42, 76, 255, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, rgba(255, 255, 255, 0.8);
    box-shadow: inset 8px 8px 16px rgba(255, 255, 255, 0.4);
    position: relative;
    border-radius: 8px;
    /* padding: 20px 60px ; */
}
.close-button {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.src_tit{
    margin-top: 40px;
    text-align: center;
}
.search_tt{
    font-size: 36px;
}
.search-bar {
    width: 483px;
    height: 51px;
    border: none;
    border-radius: 26px;
    padding: 0;
    font-size: 16px;
    margin: 32px auto 0;
    display: block;
    padding-inline: 0;
    padding-block: 0;
    padding-left: 22px;
    background: rgba(255, 255, 255, 0.8);
}
.search-bar:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}
/* .search-bar::placeholder{
    padding-left: 22px;
} */
.search_input{
    position: relative;
    width: 483px;
    margin: 0 auto;
}
.search-button-inside {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}
.reco_tit{
    padding:30px 30px 12px ;
    display: none;
    grid-template-columns: 318px 250px;
    justify-content: center;
    gap: 30px;
    /* margin-top: 30px; */
}
.reco_tit p{
    font-size: 20px;
    font-family: 'SamsungOneKorean';
    font-weight: 500;
    color: #1f1f1f;
    width:auto;
    position:relative;
}
.reco_tit p::after{
    content:"";
    display:block;
    width:100%;
    height:1px;
    position:absolute;
    bottom:-2px;
    left:0;
    border-bottom:1px solid #fff;
    box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.25);
}

.result_box{
    margin:3%;
    background-color:rgba(255, 255, 255, 0.4);
    
}


.recommendation {
    margin: 14px 0 40px 65px;
    /* margin: 14px 0 40px; */
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-family: 'SamsungOneKorean';
    font-weight: 400;
    color: #1f1f1f;
    flex-direction: row;
}

.recommendation span {
    font-size: 14px;
    cursor: pointer;
}
.recommendation span:hover{
    color: #2189FF;
    font-weight: 700;
}

.results-container {
    display: grid;
    grid-template-columns: 47.89% 37.65%;
    margin: 0 auto;
    margin-top: 19px;
    gap: 30px;
    justify-content: center;
}
.issues-list{
    font-size: 16px;
    font-family: 'SamsungOneKorean';
    font-weight: 400;
    color: #1f1f1f;
}
.issues-list li{
    margin-bottom: 2px;
    width: 96%;
    letter-spacing: -1px;
}
.products-list {
    overflow-x: hidden;
}
.products-list > div{
    width: 250px;
    /* height: 62px; */
    display: grid;
    grid-template-columns: 60px 1fr;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 8px 0 8px 10px ;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25), inset 4px 4px 4px rgba(97, 73, 248, 0.05);
    border-radius: 4px;
    cursor: pointer;
}
.products-list > div:hover{
    background: #fff;
}
.issues-list .tit {
    color:#5C49D0;
    font-size:16px;
    margin-bottom:6px;
    font-weight:700;
}
.issues-list > ul {
    margin-bottom: 20px;
}
.products-list > div .naming{
    
}
.products-list > div .naming h2{
    /* font-family: 'SamsungOneKorean'; */
    font-weight: 600;
    font-size: 16px;
    color: #1f1f1f;
}
.products-list > div .naming p{
    font-family: 'SamsungOneKorean';
    font-weight: 400;
    font-size: 12px;
    color: #696E82;
}
.issues-list, .products-list {
    /* width: 50%; */
    overflow-y: auto;
    max-height: 340px;
}
.issues-list::-webkit-scrollbar-track,
.products-list::-webkit-scrollbar-track
{
  background-color: transparent;
}

.issues-list::-webkit-scrollbar,
.products-list::-webkit-scrollbar
{
  width: 4px;
  background-color: #F5F5F5;
}

.issues-list::-webkit-scrollbar-thumb,
.products-list::-webkit-scrollbar-thumb
{
  background-color: #DADADA;
  border-radius: 10px;
}
.issues-list{
    margin-right:0;
    padding-left:10px;
}
.products-list{
    width:280px;
    margin-left:0;
}

.modal_check{
    content:"";
    background-color: rgba(31,31,31,0.4);
    width:100vw;
    height:100vh;
    position:absolute;
    left:calc(50% - 50vw);
    top:calc(50% - 50vh);
    z-index: 11;
}

.modal_check .modal_inner{
    padding: 40px;
    text-align: center;
    position: absolute;
    width: 400px;
    height: 208px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
        /* small_bg */
    background: linear-gradient(247.22deg, rgba(255, 119, 119, 0) 64.99%, rgba(255, 119, 119, 0.1) 81.97%), radial-gradient(80.8% 222.27% at 16.28% 29.9%, rgba(255, 240, 188, 0.3) 0%, rgba(255, 240, 188, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, radial-gradient(73.22% 125.26% at 75.22% 8.14%, rgba(42, 76, 255, 0.15) 0%, rgba(42, 76, 255, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, rgba(255, 255, 255, 0.8);
    box-shadow: inset 8px 8px 16px rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    
}
.modal_check .modal_inner:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.modal_check .modal_inner > p{
    color:#303030;
    /* filter:drop-shadow(1px 1px 0px #fff); */
    font-size: 24px;
    line-height: 1.16;
    margin-bottom: 28px;
    font-weight: 500;
    text-align: center;
}
.modal_check .modal_inner > button{
    font-size:1.125rem;
    max-width:141px;
    width:35.25%;
    border-radius:999px;
    height:42px;
    width: 100%;
    font-weight: 600;
}  
.modal_check .modal_inner > button:nth-of-type(1){
    color:#303030;
    background-color:#fff;
    margin-right:1rem;
}

.modal_check .modal_inner > button:nth-of-type(2){
    color:#fff;
    background-color:rgba(87,73,176, 0.7);

}



ul {
    list-style-type: none;
    padding: 0;
}


#noneSearch{
    text-align: center;
    margin: 50px auto 60px;
}

.non_result_area{
    text-align: center;
    display:none;
    align-items: center;;
    justify-content: center;
    min-height:134px;
    min-width:483px;
    background-color:rgba(255,255,255,0.4);
    border-radius: 4px;
    margin:40px 60px;;
}

.results-container .issues-list li{
    cursor: pointer;
    font-family: 'SamsungOneKorean';
    font-weight: 400;
    font-size: 16px;
    position: relative;
    padding: 6px 0;
    z-index: 1;
}
.results-container .issues-list li:hover{
    font-weight: 600;
}
.results-container .issues-list li:hover:after{
    content: '';
    position: absolute;
    top: 45%;
    left: -11px;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px; 
    box-shadow: 0 0 6px 0px rgba(255, 255, 255, 0.1);
    z-index: -1;
}
/* .results-container .issues-list li:hover {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px; 
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
} */

/* .results-container div {
    cursor:pointer;
} */
/* 
.products-list > div:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); 
} */
/* 20240416 임시 제거 */
.recommendation{
    display: none !important;
}


@media (max-width: 768px) {
    .search-mask{
        position: absolute;
        width: 100vw;
        height: 100vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(31, 31, 31, 0.4);
        display: block;
    }
    h1, input[placeholder]{
        font-size: 14px;
    }
	.issues-list{
		max-height: 234px;
	}
    .search-window{
        width: 330px !important;
    }
    .close-button{
        top: 8px;
        right: 18px;
        width: 24px;
        height: 24px;
        transform: translateX(50%);
    }
    .src_tit{
        margin:0 auto;
        margin-top: 28px;
    }
    .search_tt{
        font-size: 20px;
    }
    .search_input{
        width: 90.305%;
    }
    .search-bar{
        width: 300px;
        height: 39px;
        margin: 16px auto 0;
    }
    .recommendation{
        margin: 14px 0 54px 37px;
    }
    .search-button-inside{

    }
    .recommendation,
    .recommendation span{
        font-size: 12px;
    }
    .recommendation span:last-child{
        display: none;
    }
    .non_result_area{
        margin: 60px auto;
        width:90%;
        min-width:280px;
        min-height:284px;
    }
    .reco_tit{
        justify-content: flex-start;
        padding: 15px 10px 4px;
        margin-top: 0;
        gap: 15px;
    }
    /* 솔루션 제품 선택 */
    .reco_tit .tt{
        position: relative;
        padding: 8px 0;
        text-align: center;
        width: 49px;
        /* height: 31px; */
        font-weight: 700;
        font-size: 18px;
        /* border-radius: 99px; */
		cursor:pointer;
    }
    
    .reco_tit p::after{
        box-shadow: none;
        border-bottom:1px solid transparent;
    }
    /* .reco_tit .tt:last-child::before{
        content: '·';
        position: absolute;
        top: 50%;
        left: 17px;
        transform: translateY(-50%);
    } */
    .reco_tit .tt.active{
        /* background: #1f1f1f; */
        color: #5C49D0;
    }
    .reco_tit .tt.active:after{
        border-bottom:1px solid #5C49D0;
        box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.25);
    }
    .modal_check .modal_inner > p{
        font-size: 18px;
        margin-bottom: 10px;
    }
    .issues-list, .products-list{
        width: 300px;
    }
    .issues-list{
        display: none;
    }
    .products-list{
        display: none;
    }
    .issues-list.active{
        display: block;
    }
    .products-list.active{
        display: block;
        width:100%;
        height: 240px;
    }
    .products-list > div{
        width: 100%;
        gap: 24px;
        padding-left: 20px;
    }

    .results-container{
        margin:12px 10px 12px;
    }
    .results-container .issues-list li{
        font-size: 14px;
    }
    .issues-list::-webkit-scrollbar-track,
    .products-list::-webkit-scrollbar-track
    {
      background-color: transparent;
    }
    
    .issues-list::-webkit-scrollbar,
    .products-list::-webkit-scrollbar
    {
      width: 0px;
      background-color: transparent;
    }
    
    .issues-list::-webkit-scrollbar-thumb,
    .products-list::-webkit-scrollbar-thumb
    {
      background-color: transparent;
      border-radius: 0px;
    }
    .result_box{
        border-radius: 4px;
        height: calc(100% - 145px);
        margin: 20px 10px 10px 16px;
    }
    .modal_check .modal_inner{
        width: 300px;
        height: auto;
        padding: 24px;
    }
    .modal_check .modal_inner > button{
        height: 36px;
        font-size: 18px;
    }
    .modal_check .modal_inner > button:nth-of-type(1){
        width: 88px;
    }
    .modal_check .modal_inner > button:nth-of-type(2){
        width: 135px;
    }
}
@media (max-width: 390px) {
    .reco_tit .tt{
        font-size: 16px;
    }
    .result_box{
        border-radius: 4px;
        /* overflow-y: scroll; */
    }
    .search-bar{
        width: 100%;
    }
    
}
@media (max-width: 350px) {
    .search-window{
        width: 300px !important;
    }
    .search_input {
        width: 260px;
    }
    .search-bar{
        width: 260px;
    }
    .issues-list, .products-list {
        width: 301px;
    }
    .recommendation {
        margin: 14px 0 54px 16px;
    }
}