@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 #667eea; /* 파란색 계열 */
}

.biz_section_title i {
    margin-right: 8px;
    color: #667eea;
}

.sales_address {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.sales_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 #667eea;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.biz_write_title {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    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;
}

#sales_map, #preview_map {
    max-width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    .biz_info_section { padding: 15px; }
    .sales_details { grid-template-columns: 1fr; }
    #sales_map, #preview_map { height: 300px; }
}
