
.pop_hospital_area{
    display:none;
    width:100%;
    max-width: 1024px;
    min-width:0px;
    
    height: auto;                /* 내용에 따라 자동 */
    border-radius: 24px;
    background: linear-gradient(180deg, #FFF9F0 0%, #FFF 50%, #F5EBE0 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: fixed;
    top:100px;
    left:50%;
    top: 50%;                     /* 세로 중앙 기준 */
    transform: translate(-50%, -50%);
    
    z-index:9;

}

.pop_hospital_area_top{
    display: flex;
    max-width: 1024px;
    height: 132px;
    padding: 32px 24px 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pop_hospital_area_top_text1_area{
    display: flex;
    height: 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    align-self: stretch;
}

.pop_hospital_area_top_text1_area_icon{
    width: 20px;
    height: 20px;
}

.pop_hospital_area_top_text1_area_txt{
    display: flex;
    padding: 6px 15.406px 6px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 33554400px;
    background: linear-gradient(180deg, #004030 0%, #006B54 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
}

.pop_hospital_area_top_text1_area_txt > span{
    color: #FFF;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}


.pop_hospital_area_top_text2_area{
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.pop_hospital_area_top_text2_area > span{
    color: #101828;
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.pop_hospital_area_center{
    display: grid;
    max-width: 1024px;
    padding: 0 24px 24px 24px;
    row-gap: 24px;
    column-gap: 24px;
    grid-template-rows: repeat(1, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.pop_hospital_area_center_list{
    align-self: stretch;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
    justify-self: stretch;
    border-radius: 16px;
    border: 1px solid #E3E3E3;
    background: #FFF;
    padding: 25px 25px;
}

.pop_hospital_area_center_list_img{
    width:100%;
    max-width: 426px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.00);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    
}

.pop_hospital_area_center_list_img > img{
    width:100%;
    max-width:426px;
    max-height:208px;
}
.pop_hospital_area_center_list_text_area{
    display: flex;
    width:100%;
    max-width: 426px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top:16px;
    margin-bottom:8px;
}

.pop_hospital_area_center_list_text_hospital{
    display: flex;
    width:100%;
    max-width: 426px;
    height: 24px;
    /*padding-right: 310px;*/
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
    

}

.hospital_left_line{
    width: 4px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 33554400px;
    background: linear-gradient(180deg, #004030 0%, #006B54 100%);
}

.hospital_name{
    color: #101828;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    
}

.pop_hospital_area_center_list_text_sub{
    display: flex;
    width:100%;
    max-width: 426px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
    margin-top:6px;
}

.pop_hospital_area_center_list_text_sub > ul {
    margin-left:20px;
    
}

.pop_hospital_area_center_list_text_sub > ul > li {
    margin-top:10px;
}

.pop_hospital_area_center_list_text_sub > ul > li:first-child {
    margin-top:0px;
}

.pop_hospital_area_center_list_text_sub > ul > li > span {
    color: #364153;
    font-family: Pretendard;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */

}

.pop_hospital_area_center_list_button_area{
    display: flex;
    width:100%;
    max-width: 426px;
    height: 44px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #004030 0%, #006B54 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
}

.pop_hospital_area_center_list_button_text{
    display: flex;
    justify-content: center;
    align-items: center;
}

.pop_hospital_area_center_list_button_text > span {
    color: #FFF;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.pop_hospital_area_bottom{
    display: flex;
    width:100%;
    max-width: 1024px;
    height: 60px;
    padding: 20px 0;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(90deg, #F9FAFB 0%, #FFF 50%, #F9FAFB 100%);
    /* background: #fff; */
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}


.pop_checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* 실제 checkbox 숨김 */
.pop_checkbox input {
    display: none;
}

/* 기본(비활성) */
.checkbox_ui {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #D1D5DB;
    background: #FFF;
    display: block;
}

/* 체크 상태 */
.custom_checkbox input:checked + .checkbox_ui {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;          /* 검은 배경 */
    border-color: #000;
}

/* 체크 아이콘 숨김 */
.check_icon {
    display: none;
}

/* 체크 시 아이콘 표시 */
.custom_checkbox input:checked + .checkbox_ui .check_icon {
    display: block;
}

.pop_hospital_area_top_hospital_btn_area{
    display: none;
    width: 100%;
    padding: 0 24px;
    align-items: flex-start;
    gap: 11.995px;
    /* margin-bottom: 1%; */
    
}


.pop_hospital_area_top_hospital_btn{
    display: flex;
    height: 50.196px;
    padding: 10px 0 10px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    

    border-radius: 14px;
    border: 1.108px solid #E5E7EB;
    background: #FFF;
}

.pop_hospital_area_top_hospital_btn > span{
    display: flex;
    height: 16.616px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;

    color:#4A5565;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    cursor:pointer;
}



.pop_hospital_btn_on{
    border-radius: 14px;
    background: #004030;
    border : unset;
}

.pop_hospital_btn_on > span{
    
    color: #FFF;
}

.pop_hospital_area_close{
    
    position: absolute;
    top: 2%;
    right: 2%;

    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 33554400px;
    border: 1px solid #E3E3E3;
    background: rgba(255, 255, 255, 0.90);
}


@media (max-width: 1024px) {
    
}

@media (max-width: 800px) {
    .pop_hospital_area_center {
        grid-template-columns: 1fr; /* 한 줄에 하나만 */
    }

    .pop_hospital_area_center_list {
        grid-column: auto; /* 기존 grid-column 제거 */
    }

    .pop_hospital_area_top_hospital_btn_area{
        display: flex;
    }
}


/*
@media (max-width: 768px) {
    .pop_hospital_area_center {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }

    .pop_hospital_area_center_list {
        grid-column: auto; 
    }
}
*/