/* 폰트 */

@font-face {
    font-family: 'T-Money-Dungunbaram';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindRegular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'T-Money-Dungunbaram';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}




/* wesafean header */
#testwe-header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px 20px 20px;
}



#testwe-header,
#testwe-swipe-wrapper {
    overflow-x: hidden;
}

#testwe-list{
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(191,205,205);
    margin: 0 20px;

}

#testwe-list button{
    background-color: transparent;
    cursor: pointer;
    color: rgb(191,205,205);
    height: 5vh;
    line-height: 30px;
    padding: 0 10px;
    width: 50%;
    font-size: 2vh;
    border-radius: 0;
    font-family: 'T-Money-Dungunbaram', sans-serif;

}
#testwe-list button.active{
    border-bottom: 4px solid black;
    cursor: pointer;
    height: 5vh;
    line-height: 30px;
    padding: 0 10px;
    width: 50%;
    color: black;
    font-size: 2vh;
    border-radius: 0;
    font-family: 'T-Money-Dungunbaram', sans-serif;
    font-weight: 800;
}


#testwe-swipe-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

#testwe-swipe-container {
    display: flex;
    width: 200%;
    transition: transform 0.3s ease;
    height: 100%;
    overflow-x: hidden;
}

#safean-testwe, #school-testwe {
    width: 100%;
    height: 100%;
    overflow-y: hidden; 
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

#testwe-logo img{
    height: 4vh;
}

#testwe-top{
    display: flex;
    align-items: center;
}

#testwe-top img{
    height: 3vh;
    margin-left: 10px;
}
#testwe-safean a, #testwe-school a{
    text-decoration: none;
    color: rgb(42, 206, 72);
}
#testwe-safean a.active, #testwe-school a.active{
    text-decoration: none;
    color: white;
}



/* safean main */
#testwe-safean{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
}

#testwe-safean-story {
    width: 100%;
    background-color: #41B64A;
    border-radius: 30px;
    grid-column: 1 / span 2;
}
#testwe-safean-story img{
    height: 3vh;
    margin: 10px 0px 10px 30px;
}
#testwe-safean-menu{
    margin-top: 11px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 11px;
}

.testwe-safean-menu-box {
    background-color: white;
    border-radius: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.testwe-menu-box:active {
    transform: translateY(1px) scale(0.98);
}

.testwe-safean-find{
    grid-column: 1 / span 2;
    height: 13vh;
    display: flex;
    justify-content: space-between;
}

.testwe-safean-find a{
    display: flex;              
    justify-content: space-between;
    align-items: center;
    width: 100%;              
    height: 100%;              
    text-decoration: none;
    color: inherit;
}

#testwe-find-img img{
    height: 13vh;
}
#testwe-find-text{
    margin-left: 20px;
    margin-top: 10px;
    font-family: 'Suit';
    font-size: 3.8vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-family: 'Suit';
    font-weight: 700;
}
#testwe-find-text img{
    width: 9vh; 
    aspect-ratio: auto;
    max-width: 100%;
    flex-shrink: 0; 
}

.testwe-safean-management{
    height: 15vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.testwe-safean-management a{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    width: 100%;              
    height: 100%;  
}


.testwe-point-box{
    padding: 1.2vh;
    border-radius: 20px;
    font-family: 'Suit';
        font-size: 1.6vh;
        width: max-content;
}

.testwe-point-orange{
    background-color: #FFEBB5;
    color: #A37800;
    line-height: 2px;
}
.testwe-point-green{
    background-color: #E2F9EA;
    color: #0BD200;
    line-height: 2px;
}

.testwe-menu-margin{
    margin-left: 15px;
}


/*  폰트 ag we/sub title이라고 되어 있어서 임의로 지정 */
.testwe-menu-title{
    font-family: 'Suit';
    font-size: 2.1vh;
}

.testwe-menu-subtitle{
    font-family: 'Suit';
    color: #838383;
    font-size: 1.5vh;
}

.testwe-safean-auth{
    grid-column: 1 / span 2;
    height: 16vh;
}

.testwe-safean-auth a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;              
    height: 100%;              
    text-decoration: none;
    color: inherit;
}

.testwe-safean-auth-left{
    margin-left: 15px;
}

.testwe-safean-auth-right img{
    width: 20vh;
}

.testwe-safean-ai {
    grid-column: 1 / span 2;
    height: 8vh;
    font-family: 'Suit';
    font-size: 2.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    position: relative;
    z-index: 0;
    box-shadow: 0 0 10px #12549130;

    /* 핵심 부분 */
    border: 3px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        linear-gradient(#C5E2FD 0%, #83C4FF 49%, #C6E4FF 100%) border-box;
}

.testwe-safean-ai a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.testwe-safean-ai img{
    height: 2.9vh;
    margin-left: 10px;
}

.testwe-safean-issue{
    height: 13.5vh;
    padding-top: 15px;
}

.testwe-safean-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 39px;
}

.testwe-safean-footer-logo img{
    height: 5vh;
    margin-bottom: 15px;
}
.testwe-safean-footer-text{
    font-family: 'Suit';
    font-size: 1.5vh;
    color: #C3C8CE;
}

/* school main */
#school-testwe{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

#testwe-school-meal{
    width: 90%;
}

.testwe-school-box{
    width: 100%;
    border-radius: 20px;
}

.testwe-school-today-text{
    background-color: #00A99D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 40px;

}
.testwe-school-today-menu{
    background-color: #FFFFFF;
    margin-top: -30px;
    padding: 20px;
}

.testwe-school-today-title{
    font-family: 'Suit';
    font-weight: 700;
    font-size: 3vh;
    color: #FFFFFF;
}
.testwe-school-today-category{
    background-color: #ffffff;
    color: #00A99D;;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 2.5vh;
    padding: 2px 20px;
}

.testwe-school-today-meal{
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #00A99D;
    padding: 20px;
}
.testwe-school-today-info{
    border: 1px solid #00A99D;
    border-radius: 20px;
    margin-top: 10px;
    font-family: 'Pretendard';
    font-weight: 700;
    color: #00A99D;
    font-size: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}
.testwe-school-today-info img{
    width: 17px;
}

#testwe-school-menu{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    width: 90%;
    margin-top: 10px;
}

.testwe-school-menu-box{
    height: 18vh;
    background-color: white;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.testwe-school-menu-box:active {
    transform: translateY(1px) scale(0.98);
}


.testwe-school-menu-box-title{
    font-family: 'Suit';
    font-weight: 700;
    font-size: 2.5vh;
}

.testwe-school-menu-box-img{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.testwe-school-menu-box-img img{
    height: 10vh;
}

.testwe-point-purple{
    background-color: #E8E4FF;
    color: #3D3D3D;
    line-height: 2px;
}
.testwe-point-lightgreen{
    background-color: #D5F6E1;
    color: #3D3D3D;
    line-height: 2px;
}

.testwe-school-menu-margin{
    margin-top: 20px;
}

#testwe-school-footer img{
    height: 5vh;
    margin-top: 20px;
}

/* 푸드인증 */
.menu-container-2{position: fixed;top: 0; right: 0;width: 100%; height: 100vh;background-color: #fff;overflow-y: auto;}
.menu-close-container{text-align:left;padding:12px 20px;background:#fff;display:flex;align-items:center;gap:8px;justify-content: space-between;border-bottom:1px solid #c0c0c0; box-shadow: 0px 3px 4px #00000012;}
.menu-row{display:flex;height:100%;background-color: #f2f3f5;}
.menu-panel-region{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:25%;padding:0;}
.menu-content-region{padding:10px;font-size:12px;background-color:#f9f9f900;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:0; }
.menu-content-region button{background-color:#FFFFFF;color:#989898;border:1px solid #d0d0d0;padding:10px 15px;margin:0;margin-top:-2px;cursor:pointer;font-size:16px;border-radius:0;transition:background-color .3s ease;flex:1;text-align:center;font-family: 'Pretendard'; font-weight: 500;}
.menu-content-region button:hover,
.menu-content-region button.active{background-color:#469c28;color:#fff;}
.menu-panel{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:70%;padding:0;border-right:none;overflow-y:auto; max-height: 100vh;}
.menu-content1{padding:10px;font-size:12px;width:100%;height: 100%;}
.brand-item:hover,.brand-item.active{background:#469C28 !important;color:#fff !important;}
.menu-panel .brand-item.active .btn-icon-right {
  filter: brightness(0) invert(1);
  transform:rotate(90deg);
}
.brand-item:hover .btn-icon-right{
  filter: brightness(0) invert(1);
}
img.btn-icon{width:37px;height:37px;margin-right:5%;}
img.btn-icon-right{width:8px;height:15px;margin-left:5%;transition:transform .3s ease;}
.brand-chain{border:1px solid #469C28;padding:6px 2%;display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;color:#0A0A0A;border-radius:20px;background:#fff;cursor:pointer;font-size:0.9em!important;text-align:center;white-space:nowrap;float:left;margin:1%;font-weight: 'Pretendard'; font-weight: 600;}
.brand-chain:hover,.brand-chain:focus{background:#ddf8d4 !important;}
.brand-chain:last-child{margin-bottom: 10px;}
.brand-item{width:100%;padding:5px 15px;background-color:#FFFFFF;border:1px solid #989898;color:#3C3C3C;cursor:pointer;font-size:15px;text-align:left;margin-bottom:5px;border-radius:16px; display: flex; align-items: center; justify-content: space-between; font-family: 'Pretendard'!important; font-weight: 500; box-sizing: border-box;}
.branch-list{display:none;padding:10px;background-color:#f9f9f900;font-size:16px;color:#3C3C3C;}
.brand-item.active .branch-list{  display:block;
  overflow-y:auto;}
.brand-item:hover{border:1px solid #469C28;}
.close-btn-2 {
    background: #fff;
    border: none;
    cursor: pointer;
    box-shadow: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-shadow: 0 0 0 30px #fff inset;
    -webkit-text-fill-color: #000;
}
.close-btn-2 img {
  width: auto;
  height: 18px;
  outline: none;
  -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-shadow: 0 0 0 30px #fff inset;
    -webkit-text-fill-color: #000;
}