/* table 전체의 스타일을 정의 */
/*table {*/
/*    width: 500px;*/
/*    height: 500px;*/
/*    border-collapse: collapse; !* 셀 간의 간격을 제거하여 하나의 테두리처럼 보이게 함 *!*/
/*}*/
/*table thead{*/
/*    background-color: paleturquoise;*/
/*}*/
/*!* 표 머리글(th)와 데이터 셀(td)의 스타일을 정의 *!*/
/*th, td {*/
/*    border: 1px solid black; !* 각 셀에 검은색 테두리 설정 *!*/
/*    padding: 10px; !* 셀 내부 여백 설정 *!*/
/*    text-align: center; !* 셀 내의 텍스트를 중앙 정렬 *!*/
/*    vertical-align: middle;*/
/*}*/
/*!* 표 머리글(th) 셀의 스타일을 정의 *!*/
/*th {*/
/*    background-color: #f2f2f2; !* 머리글 셀의 배경색을 연회색으로 설정 *!*/
/*}*/

/*table .left-align{*/
/*    text-align: left;*/
/*}*/
.area-list table {
    width: 500px; /* 테이블 너비 전체 사용 */
    border-collapse: collapse; /* 테두리 중복 제거 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}
.area-list th, .area-list td {
    padding: 12px 15px; /* 셀 내부 여백 */
    border-bottom: 1px solid #ddd; /* 하단 테두리 */
    font-size: 16px;
}
.area-list thead {
    background-color: #def1ff; /* 헤더 배경색 */
}
.area-list tbody tr:hover {
    background-color: #f1f3f5; /* 행 호버 시 배경색 */
    cursor: pointer; /* 마우스 포인터 변경 */
}
.area-list th {
    background-color: #e9ecef; /* 테이블 헤더 배경색 */
    color: #212529; /* 헤더 텍스트 색상 */
}
.area-list td {
    color: #495057; /* 본문 텍스트 색상 */
}
.area-list{
    margin-left: 50px;
}
.surround-area-info{
    width: 85%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
}
.surround-area-info .naver-map{
    width: 500px;
    height: 500px;
    background-color: paleturquoise;
}

@media screen and (max-width: 490px) {
    .area-list {
        margin-left: 0;
    }
    .area-list table {
        width: 100%;
    }
    .surround-area-info{
        width: 85%;
        height: 100%;
        display: block;
        font-size: 12px;
    }
    .surround-area-info .naver-map {
        width: 100%;
        height: 300px;
        background-color: paleturquoise;
        margin-top: 30px;
    }
    table {
        width: 395px;
        height: 300px;
        border-collapse: collapse;
        margin: 30px auto;
    }
}