@charset "utf-8";
/* 식당 스킨 전용 스타일 */
@import url("../basic/style.css"); /* 기본 스킨 스타일 상속 */

/* 사업자 정보 섹션 스타일 */
.biz_info_section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.biz_section_title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.biz_section_title i {
    margin-right: 8px;
    color: #ff6b35;
}

.restaurant_address {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.restaurant_address i {
    color: #ff6b35;
    margin-right: 5px;
}

.restaurant_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.biz_info_item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.biz_info_content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
}

/* 글쓰기 페이지 사업자 정보 입력 영역 */
.biz_info_write_section {
    background: #f5f5f5;
    border: 2px solid #ff6b35;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.biz_write_title {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
    white-space: nowrap;
}
/* 대표이미지 행 한 줄 표시 (타이틀·라벨 줄바꿈 방지) */
.biz_info_write_section .biz_info_field.write_div:first-of-type,
.biz_info_write_section .file_wr.write_div {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}
.biz_info_write_section .file_wr label,
.biz_info_write_section .file_wr .lb_icon + strong {
    white-space: nowrap;
}
.biz_info_write_section .file_wr .frm_file {
    min-width: 0;
    flex: 1;
}
/* 대표이미지 영역: 파일 선택 행 가로 공간 확보 및 정리 */
.biz_info_write_section #image_upload_area {
    width: 100%;
    padding: 5px 0;
}
.biz_info_write_section .bo_w_flie .file_wr {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.biz_info_write_section .file_wr label {
    flex-shrink: 0;
}
.biz_info_write_section .file_wr .frm_file {
    min-width: 120px;
    max-width: 100%;
}
/* 글쓰기 하단 취소/작성완료 버튼: 상하 여백 + 중앙 정렬 */
#bo_w .btn_confirm.write_div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 28px;
    margin-bottom: 24px;
    padding: 10px 0;
}
#bo_w .btn_confirm .btn_cancel,
#bo_w .btn_confirm .btn_submit {
    min-width: 140px;
    padding: 14px 28px;
    line-height: 1.4;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.biz_info_field {
    margin-bottom: 20px;
}

.biz_info_field label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.biz_info_field label i {
    color: #ff6b35;
    margin-right: 5px;
}

.biz_required {
    color: #dc3545;
    font-size: 13px;
    font-weight: normal;
}

.biz_info_field textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
}

.biz_info_field textarea:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#btn_preview_map {
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

#btn_preview_map:hover {
    background: #e55a2a;
}

#preview_map_wrapper {
    margin-top: 15px;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    overflow: hidden;
}

/* 구글 지도 반응형 */
#restaurant_map, #preview_map {
    max-width: 100%;
    height: 400px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .biz_info_section {
        padding: 15px;
    }

    .restaurant_details {
        grid-template-columns: 1fr;
    }

    .biz_info_write_section {
        padding: 15px;
    }

    #restaurant_map, #preview_map {
        height: 300px;
    }

    .biz_section_title {
        font-size: 16px;
    }

    .biz_info_content {
        font-size: 14px;
    }
}

/* 태블릿 */
@media (max-width: 1024px) {
    #restaurant_map, #preview_map {
        height: 350px;
    }
}
