.title-header h2{
    border-bottom: none;
}

.border-liner-3{
    border: 2px solid #E0342F;
    margin: 24px 10px;
}

.gallery-container{
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
}

.gallery-wrapper{
    gap: 20px;
    width: 100%;
}

#image-gallery , .image-gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 10px;
}

.card{
    width: 100%;
    height: 100%;
    border: none !important;
}

.gallery-img-wrap{
    width: 100% !important;
}

.card-img-top{
    width: 100%;
    max-height: 350px;
    height: 350px;
    border-radius: 0 !important;
    cursor: pointer;
}

.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body{
    border: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.card-text{
    word-break: break-word;
    font-size: 18px;
}

.gallery-btn-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-text{
    color: #444444;
    font-size: 16px;
}

.gallery-images{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.gallery-images img:nth-child(1){
    background-color: #EFF5F8;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-images img:nth-child(2){
    background-color: #F4F4F4;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

.select-search .custom-select{
    font-size: 20px;
}


.modal-header{
    background-color: #F4F4F4;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body{
    padding: 30px 20px;
}

.modal-dialog{
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    min-height: 100vh; /* 전체 화면 높이 기준 */
    margin: 0 auto; /* 중앙 정렬 */
    padding:0 10px;
}


.form-label{
    font-size: 14px;
    font-weight: 600;
    padding-left: 4px;
}


#title{
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    transition: border-color 0.3s ease-in-out; /* 부드러운 전환 효과 */
    font-size: 14px;
}

#title:focus , #register-content:focus{
    border: 1px solid #555; /* 진한 회색 */
    color: #222222;
    outline: none;
    box-shadow: none !important;
}

.btn-close:focus{
    outline: none;
    box-shadow: none;
    border: none;
}

input:focus, textarea:focus {
    border: 1px solid #555;
    color: #222222;
    outline: none !important;
    box-shadow: none !important;
}

#title::placeholder ,#register-content::placeholder{
    color: #969696;
    font-size: 14px;
}

.form-label{
    font-size: 14px;
    font-weight: 600;
    padding-left: 4px;
    border-radius: 8px;
}

.form-label span{
    font-size: 14px;
    font-weight: 500;
}

#register-content{
    border-radius: 8px;
    border: 1px solid #dddddd;
    transition: border-color 0.3s ease-in-out;
}

/* 이미지선택 */
.image-preview-wrap{
    width: 100%;
    background-color: #EDEDED;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}


/* 🔹 파이어폭스 - 스크롤바 스타일 */
.image-preview-wrap {
    scrollbar-width: thin; /* 기본 스크롤바보다 얇게 */
    scrollbar-color: #a8a8a8 #EDEDED; /* 스크롤바 색상 (손잡이, 트랙) */
}


#imagePreviewContainer, #imageModifyPreviewContainer{
    padding: 16px 10px;
    display: inline-flex;
}


/* 이미지 넣는 라벨 */
.img-upload {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    order: 999;
}

.img-upload img {
    width: 50px;
    height: 44px;
    cursor: pointer;
}

.image-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
}

/* 삭제버튼 */
.custom-close-btn {
    width: 6px;
    height: 12px;
    background-color: #CCCCCC;
    border: none;
    border-radius: 50%; /* 동그랗게 만들기 */
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, 0.7);; /* X 아이콘 색상 */
    font-size: 16px; /* X 아이콘 크기 */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    top: 6px;
    right: 4px;
    opacity: 0.8;
}

/* 이미지 container */
.custom-image-preview{
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

/* 이미지 등록하기 버튼 */
.img-preview-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.img-preview-btn button{
    padding: 6px 16px;
    font-size: 14px;
}

.border-line{
    width: 100%;
    border: 1px solid #eeeeee;
}

/*등록하기 모달창*/
.delete-btn{
    background-color: #969696;
    width: 100px;
    height: 40px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
}

.edit-button , .modify-button{
    background-color: #8D1D22;
    width: 100px;
    height: 40px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
}


/* 갤러리 디테일 */
.gallery-view-content{
    padding-bottom: 0;
}
.carousel{
    padding: 60px;
    /*margin-bottom: 40px;*/
}

.carousel-item ,
.carousel-item.active{
    width: 100%;
    max-height: 700px;
    aspect-ratio: 4 / 3;
}

.carousel-item img {
    max-height: 700px;
    max-width: 900px;
    width: 100%;
    height: 100%;
    margin: auto;
    /*object-fit: contain;*/
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    background-image: none;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    width: 60px;
    height: 60px;
}

#carousel-indicators{
    gap: 8px;
}

#gallery-carousel button.active ,
#gallery-carousel button.active{
    border-radius: 50%;
    background-color: red;
    width: 14px;
    height: 14px;
}

.carousel-indicators button:not(.active){
        border-radius: 50%;
        background-color: #dddddd;
        width: 16px;
        height: 16px;
}

.carousel-indicators{
    bottom: 4px;
}

.text-content-wrap{
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    word-break: break-word;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}


