@charset "utf-8";

/*
 * ============================================================
 *  form_responsive.css — 폼양식 반응형 (신규 작성)
 *  원본 참조: form.css (절대 수정 금지)
 *
 *  변경 내용:
 *   - #dp_form_pc_area 고정 1000px → 100%
 *   - 검색창 878px → 가변 너비
 *   - 관리자 title span 968px → 100%
 *   - view textarea 690px → 100%
 *   - 목록 li 고정 span — 모바일 숨김/축소
 * ============================================================
 */


/* ============================================================
   폼양식 전체 영역
   ============================================================ */
#dp_form_pc_area {
    width: 100% !important;
    max-width: 100%;
    overflow: visible !important;
}


/* ============================================================
   목록 — 모던 카드형 리스트
   ============================================================ */
#dp_form_pc_list {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
#dp_form_pc_list ul { list-style: none; margin: 0; padding: 0; }
#dp_form_pc_list ul li {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 48px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
    transition: background .15s;
}
#dp_form_pc_list ul li:last-child { border-bottom: none; }
#dp_form_pc_list ul li:hover { background: #f8fbff; }

/* 모바일: 날짜 숨김 */
#dp_form_pc_list ul li span.date { display: none; }

/* 상태 배지 */
#dp_form_pc_list ul li span.state {
    width: auto;
    min-width: 60px;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700;
    border-radius: 4px !important;
    text-align: center;
    flex-shrink: 0;
}

/* 번호 */
#dp_form_pc_list ul li span.no {
    width: 44px;
    margin-right: 10px;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
    color: #999;
}

/* 이름 */
#dp_form_pc_list ul li span.nick {
    font-size: 13px;
    height: auto;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 빈 데이터 */
#dp_form_pc_list ul li.no_data {
    padding: 40px 16px;
    font-size: 14px;
    color: #aaa;
    text-align: center;
    justify-content: center;
}


/* ============================================================
   목록 하단 — 검색창
   ============================================================ */
#dp_form_pc_list_bottom_search_form {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}
#dp_form_pc_list_bottom_search_form fieldset {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
}
#dp_form_pc_list_bottom_search_keyword {
    flex: 1;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #333 !important;
    height: auto !important;
    line-height: 1.5 !important;
    outline: none;
    transition: border-color .2s;
}
#dp_form_pc_list_bottom_search_keyword:focus {
    border-color: #90caf9 !important;
    box-shadow: 0 0 0 3px rgba(144,202,249,.15);
}


/* ============================================================
   작성 폼
   ============================================================ */
#dp_form_pc_write input.css_tel {
    float: none;
    width: 100%;
    max-width: none;
}

#dp_form_pc_write div.bottom_area { padding: 16px; }


/* ============================================================
   수정 폼
   ============================================================ */
#dp_form_pc_mod input.css_tel {
    float: none;
    width: 100%;
    max-width: none;
}

#dp_form_pc_mod div.bottom_area { padding: 24px; }


/* ============================================================
   상세보기 — 관리자 기능 영역
   ============================================================ */
#dp_form_pc_view_admin_func span.admin_mode_title {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    height: auto;
    min-height: 42px;
    line-height: 42px;
    font-size: 13px;
    box-sizing: border-box;
}

#dp_form_pc_view_table2 textarea {
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    padding: 10px;
    box-sizing: border-box;
}

#dp_form_pc_view_no_member_pwd { padding: 30px 16px; font-size: 13px; }
#dp_form_pc_view_no_member_pwd input[type=password] {
    width: 100%;
    max-width: 280px;
    font-size: 13px;
    padding-left: 10px;
    box-sizing: border-box;
}

#dp_form_pc_view_bottom { text-align: center; }

/* 삭제 확인 */
#dp_form_pc_del_no_auth { padding: 24px 16px; }


/* ============================================================
   태블릿 (768px ~)
   ============================================================ */
@media (min-width: 768px) {

    /* 날짜 복원 */
    #dp_form_pc_list ul li span.date { display: inline-block; }

    /* 상태·번호 원본 복원 */
    #dp_form_pc_list ul li span.state { width: 140px; }
    #dp_form_pc_list ul li span.no    { width: 89px; margin-right: 30px; font-size: 16px; }
    #dp_form_pc_list ul li span.nick  { font-size: 16px; }
    #dp_form_pc_list ul li.no_data    { padding: 60px; font-size: 14px; }

    /* 검색창 — 태블릿 유지 (osts 스타일 이미 base에서 적용) */

    /* 작성/수정 */
    #dp_form_pc_write input.css_tel { float: left; width: 148px; max-width: none; }
    #dp_form_pc_write div.bottom_area { padding: 30px; }
    #dp_form_pc_mod input.css_tel { float: left; width: 148px; max-width: none; }
    #dp_form_pc_mod div.bottom_area { padding: 50px; }

    /* 상세보기 */
    #dp_form_pc_view_admin_func span.admin_mode_title { width: 100%; max-width: 968px; padding-left: 30px; font-size: 14px; }
    #dp_form_pc_view_table2 textarea { width: 690px; max-width: 690px; font-size: 14px; padding: 20px; }
    #dp_form_pc_view_no_member_pwd { padding: 60px; font-size: 14px; }
    #dp_form_pc_view_no_member_pwd input[type=password] { max-width: 200px; padding-left: 20px; font-size: 14px; }
    #dp_form_pc_view_bottom { text-align: right; }

    #dp_form_pc_del_no_auth { padding: 50px; }
}


/* ============================================================
   데스크탑 (1025px ~)
   ============================================================ */
@media (min-width: 1025px) {

    /* 검색창 — osts 스타일 유지 (유동 폭) */
}
