.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 50px auto;
    border-radius: 10px; /* 둥근 테두리 추가 */
    overflow: hidden; /* 내부 요소 넘치지 않게 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 은은한 그림자 */
}

#map {
    width: 100%;
    height: 500px;
    margin: 0 auto;
}

#place-info {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 10px;
    text-align: left;
}

.col-first {
    width: 40%;
}

.marker-container {
    padding: 15px;
    white-space: nowrap;
}

.marker-image {
    width: 30px; /* 아이콘 크기 조정 */
    height: 30px;
    margin-left: 5px; /* 아이콘과 텍스트 간격 */
    vertical-align: middle;
}

.marker-name {
    font-weight: bold;
    margin-right: 5px;
}

.kakao-link {
    color: black;
    text-decoration: none;
    border-radius: 8px;
    background-color: #ffdb4d;
    border: 2px solid #ffcd00;
}

.kakao-link:hover {
    background-color: #ffe898;
    border: 2px solid #ffcd00;
}

button {
    background-color: #4CAF50; /* 배경색 */
    color: white;
    border: none;
    padding: 20px 40px; /* 여백 */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: large;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049; /* 호버 시 배경색 변화 */
}

/* 팝업 박스 스타일 */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    text-align: center;
    z-index: 1000;
}

/* 반투명한 배경 (모달 효과) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

#shimturoLogo {
    width: 350px;
    height: 130px;
}

#legend {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-size: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #ddd;
}

#legend .marker {
    width: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

#legend div {
    display: flex;
    align-items: center;
}

#target {
    position: absolute;
    top: 90px;  /* legend 아래에 위치 */
    right: 10px;
    z-index: 1000;
}

#target-button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#target-button:hover {
    transform: scale(1.1);
}

#target-button img {
    width: 20px;
    height: 20px;
}
