.modal {
  position: fixed;
  display: none; /* 초기에는 숨겨진 상태 */
  z-index: 1000;
  bottom: 0;
  left: 0; /* left 속성 삭제 */
  right: 0; /* 오른쪽 끝까지 확장 */
  background-color: #fff;
  border-top-right-radius: 10%;
  border-top-left-radius: 10%;  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 50vh;
  margin: 0 auto; /* 수평 가운데 정렬 */
  transition: max-height 0.3s ease-out, transform 0.3s ease-out; /* transform 추가 */
}

#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명한 검은 배경 */
  display: none; /* 초기에는 숨겨진 상태 */
  z-index: 999; /* 모달보다 위에 위치 */
} 

.close{
  padding-top: 9px;
  padding-left: 9px;
  margin: 10px;
}

#naver-map-button{
  position: relative;
  float: right;
  background-image: url('../../assets/image.png');
  background-size: cover; 
  background-color: white;
  width: 30px; 
  height: 30px; 
  border: none; 
  cursor: pointer;
  margin-right: 5%;
  margin-bottom: 1%;
}

.subtitle-n-button-container{
  display: flex;
  justify-content: space-between;
}


#sub-title{
  border: 2px solid #FF4D26;
  width: fit-content; 
  padding: 3px;
  font-size: 12px;
  margin-left: 5%;
  border-radius: 3px;
  margin-bottom: 2%;
  color: #FF4D26;
  font-weight: bold;
}
#modal-title{
  margin-bottom: 10px;
  margin-left: 5%;
  margin-top: 2%px;
}
#image_container{
  text-align: center;
}
#image{
  height: 20vh;
  width: 90%;
  border-radius: 5px;
  padding-bottom: 2%;
}

#content-container{
  background-color: #F2F3F5;
  /* border-radius: 10%; */
  padding: 2%;
  margin-left: 2.5%;
  margin-right: 2.5%;
  width: 90%;
  font-size: 12px;
}
/* 모달이 열릴 때 크기가 커지는 애니메이션 클래스 */
#modal.open {
  display: block; /* 모달이 열릴 때 표시됨 */
  max-height: 100%;
  transform: translate(-50%, -50%) scale(1.1);
}
#modal-content1{
  margin-bottom: 3px;
  font-size: large;
}
#modal-content2{
  margin-bottom: 3px;
  font-size: medium;

}
#modal-content3{
  margin-bottom: 3px;
  font-size: medium;
}

#modal-content4{
  margin-bottom: 3px;
  font-size: medium;
}

#modal-content5{
  margin-bottom: 3px;
  font-size: medium;
}

#modal-content6{
  margin-bottom: 3px;
  font-size: medium;
}


/* 모달 컨테이너 스타일 */
.modal-container {
  z-index: 2;
  position: absolute;
  left: 0px;
  bottom: 0px;
  background-color: rgb(255, 255, 255);
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px -2px 16px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  overflow: hidden;
  transition: height 0.3s ease-out;
  height: 100px;
}

.modal-header {
  height: 40px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drag-indicator {
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background-color: rgb(221, 221, 221);
  transition: transform 0.3s ease-out;
}

.drag-indicator:hover {
  transform: translateX(2px) rotate(45deg);
}

.drag-indicator:last-child:hover {
  transform: translateX(-2px) rotate(-45deg);
}

.modal-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0px;
  position: relative;
  overflow-y: auto;
}

.modal-item {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}