@charset "utf-8";

/* ===================================
 * 게시판 쓰기 영역 - 기본 레이아웃
 * =================================== */
#bo_w .list-group-item {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
}

#bo_w #wr_content {
    margin-bottom: 1.0rem !important;
}

/* ===================================
 * 기본정보 쓰기 영역 - 공통
 * =================================== */
.info-write-wrap {
    margin: 20px 0;
}

/* 섹션 타이틀 스타일 */
.store-info h3 {
    padding: 15px;
    margin: 0 0 20px;
    background: #f8f9fa;
    border-left: 4px solid #4a90e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===================================
 * 기본정보 - 레이아웃
 * =================================== */
.store-info {
    margin-bottom: 30px;
}

/* ===================================
 * 폼 요소 스타일
 * =================================== */
.text-danger {
    color: #dc3545;
}

.form-text {
    font-size: 0.875rem;
}

.custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===================================
 * 반응형 스타일
 * =================================== */
@media all and (max-width: 575px) {
    #bo_w .list-group-item {
        padding-left: 1.0rem;
        padding-right: 1.0rem;
    }

    .responsive #bo_w #wr_content {
        max-height: 160px !important;
    }

    /* 모바일에서 가로 배치 유지 */
    #bo_w .form-group.row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    #bo_w .col-form-label {
        width: 30%;
        padding-right: 10px;
    }

    #bo_w .col-md-10 {
        width: 70%;
        flex: none;
    }
}

/* ===================================
 * 출처 영역
 * =================================== */
.store-info h3,
.source-info .section-title {
    padding: 15px;
    margin: 0 0 20px;
    background: #f8f9fa;
    border-left: 4px solid #4a90e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.source-info {
    margin-bottom: 30px;
}

.source-info .form-inline-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .source-info .form-inline-wrap {
        flex-direction: column;
        gap: 0px;
    }
    
    .source-info .form-group {
        width: 100%;
    }
    
    .source-info .form-control {
        width: 100% !important;
    }
}