/* modal */
.modal-area{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.2);

    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-input-wrap{
    position: relative;

    width: 60%;
    min-width: 1200px;
    height: 80%;
    background-color: #9CDDF5;

    border-radius: 40px;

    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: column;
    gap: 20px;
}

.logo-img-box{
    position: absolute;
    top: -85px;
}

.modal-input-wrap .input-box{
    width: 85%;
    
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.modal-input-wrap .input-box.select-content{
    margin-top: 5%;
}

.modal-input-wrap .input-box > p{
    width: 180px;
    height: 45px;
    margin: 0;
    background-color: white;

    color: black;
    font-family: 'pretendard';
    font-weight: 600;
    font-size: 1.1rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-input-wrap .input-box > input{
    flex-grow: 1;
    height: 45px;
}

.content-input-wrap{
    flex-grow: 1;

    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    /* grid-template-rows: repeat(2, 1fr); */

    gap: 10px;
}

input, textarea{
    /* border: none; */
    border: 1px solid rgba(0,0,0,0);
    padding: 0px 5px;
}

input:focus, textarea:focus {
    outline: none; /* 기본 outline 제거 */
    border: 1px solid #007bff;
}

input::placeholder, textarea::placeholder {
    color: #999; /* 회색 */
    opacity: 0.7; /* 불투명하게 표시 */
}

.content-input{
    flex-grow: 1;
    padding: 5px;
    border-radius: 5px;
}

input,
.modal-input-wrap .input-box > p,
.word-input-box{
    border-radius: 5px;
}

.input-box-area{
    width: 100%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-height: 70%;
    margin-top: 70px;
}


/* select list Start*/
.select-content-wrap{
    width: 85%;
    height: 55%;
    display: flex;
    gap: 20px;
}

.select-content-wrap .select-list-wrap{
    width: 50%;
    height: 100%;

    display: flex;
    gap: 20px;
}

.select-list-wrap .title-select-area{
    height: 100%;
    width: 180px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    overflow-y: scroll;
}

.title-select-area .title-tag{
    height: 20%;

    background-color: #FFFFFF;
    border: none;
    border-radius: 5px;

    font-size: 1rem;
    font-weight: bold;
    color: black;

    display: flex;
    justify-content: center;
    align-items: center;
}
.title-select-area .title-tag.select{
    background-color: #195BA7;
    color: white;
}

.unit-select-area .unit-tag-box{
    display: none;
}

.unit-select-area .unit-tag-box.select{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unit-select-area .unit-tag-box .unit-tag{
    border: none;
    background-color: rgba(0,0,0,0);

    font-family: 'NanumSquareRound';
    font-weight: bold;
    font-size: 1rem;
    color: #DBC16C;

    width: 90%;
    padding: 5px;
    border-bottom: 1px solid;
}

.unit-select-area .unit-tag-box .unit-tag:last-child{
    border: none;
}

.unit-select-area .unit-tag-box .unit-tag.select > div{
    color: #CC9F3D;

    scale: 110%;
}

.select-list-wrap .unit-select-area{
    height: 100%;
    width: min-content;
    border-radius: 5px;
    flex-grow: 1;

    background-color: #195BA7;

    overflow-y: scroll;
}

.select-content-wrap .show-content-list{
    width: 50%;
    height: 100%;
    background-color: #195BA7;
    border-radius: 5px;

}

.show-content-list .show-content-text{
    height: 100%;
    width: 100%;
    padding: 20px 35px;
    
    font-family: 'pretendard';
    color: white;
    font-size: 1rem;
    font-weight: 500;

    display: flex;
    align-items: center;
    line-height: 35px;
}


/* select list End*/

.modal-option-button-area{
    position: relative;
    width: 85%;
    display: flex;
    justify-content: end;
    gap: 10px;
}

.modal-option-button-area button{
    width: 90px;
    height: 35px;

    border: none;
    border-radius: 10px;

    font-size: 1.2rem;
    font-family: 'pretendard';
    font-weight: bold;
    color: white;
}

.modal-option-button-area .submit-button{
    background-color: #286DBD;
}
.modal-option-button-area .submit-button:hover{
    background-color: #449bff;
}

.modal-option-button-area .cancel-button{
    background-color: #286DBD;
}
.modal-option-button-area .cancel-button:hover{
    background-color: #ff3434;
}




@media only screen and (max-width: 1700px) {
    .show-content-list .show-content-text{
        align-items: baseline;
    }
    
}

@media print {
    .no-print{
        display: none;
    }
}