/* =================================
   Inquiry Layout
================================= */

.notice-container,
.inquiry-container{

    width:100%;

    max-width:1000px;

    margin:80px auto;

}



.notice-container h1,
.inquiry-container h1{

    font-size:36px;

    margin-bottom:40px;

}









/* =================================
   Inquiry Board
================================= */

.inquiry-container{

    width:900px;

    margin:80px auto;

}



/* =================================
   Header
================================= */

.inquiry-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:40px;

}



.inquiry-header h1{

    margin:0;

    font-size:36px;

    font-weight:700;

}



/* =================================
   Button
================================= */

.inquiry-btn{

    display:inline-block;

    padding:12px 28px;

    background:#000;

    color:#fff;

    text-decoration:none;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    transition:.2s;

}



.inquiry-btn:hover{

    background:#333;

    color:#fff;

}



/* =================================
   Table
================================= */

.inquiry-table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

}



.inquiry-table th{

    padding:16px;

    border-bottom:2px solid #ddd;

    font-weight:600;

    text-align:center;

}



.inquiry-table td{

    padding:15px;

    border-bottom:1px solid #eee;

    text-align:center;

}



.inquiry-table a{

    color:#000;

    text-decoration:none;

}



.inquiry-table a:hover{

    text-decoration:underline;

}



/* =================================
   Write Form
================================= */

.notice-form{

    background:#fff;

    padding:40px;

    border-radius:12px;

}



/* =================================
   View
================================= */

.notice-view{

    background:#fff;

    padding:40px;

    border-radius:12px;

}



.notice-content{

    margin-top:30px;

    padding:30px;

    border-top:1px solid #ddd;

    line-height:1.8;

}



/* =================================
   File
================================= */

.notice-file{

    margin-top:25px;

    padding:15px;

    background:#f8f8f8;

    border-radius:8px;

}



/* =================================
   Info
================================= */

.notice-info{

    margin-top:20px;

    padding:18px;

    background:#f8f8f8;

    border-left:4px solid #000;

    border-radius:8px;

    font-size:14px;

    color:#666;

}



.notice-info p{

    margin:6px 0;

}


/* =================================
   Bottom Buttons
================================= */

.notice-actions{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:12px;

    margin-top:40px;

}


/* 등록 버튼 */

.inquiry-submit{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:110px;

    height:46px;

    padding:0 30px;

    border:none;

    border-radius:30px;

    background:#111827;

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}

.inquiry-submit:hover{

    background:#000;

}


/* 취소 버튼 */

.inquiry-cancel{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:110px;

    height:46px;

    padding:0 30px;

    border-radius:30px;

    background:#6b7280;

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:600;

    transition:.2s;

}

.inquiry-cancel:hover{

    background:#4b5563;

    color:#fff;

}





/* =================================
   Inquiry View Text Fix
================================= */

.notice-view h1,
.notice-view h4,
.notice-view p,
.notice-view strong,
.notice-view span {

    color:#000;

}


.notice-content {

    color:#000;

}


.notice-info {

    color:#000;

}


.notice-file {

    color:#000;

}


.notice-actions a {

    color:#fff;

}



/* =================================
   Inquiry View Detail
================================= */

.notice-view {

    background:#fff;

    padding:50px;

    border-radius:16px;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);

}



/* 제목 */

.notice-view > h1 {

    font-size:32px;

    font-weight:700;

    margin-bottom:30px;

    color:#111;

}



/* 작성 정보 영역 */

.notice-info {

    background:#fafafa;

    border:1px solid #eee;

    border-radius:10px;

    padding:20px 25px;

    margin-bottom:30px;

    color:#555;

}



.notice-info p {

    margin:8px 0;

    font-size:14px;

}



/* 본문 영역 */

.notice-content {

    min-height:180px;

    padding:30px;

    background:#fff;

    border:1px solid #eee;

    border-radius:10px;

    line-height:1.8;

    font-size:16px;

    color:#222;

}



/* 관리자 답변 제목 */

.notice-view h4 {

    margin-top:40px;

    margin-bottom:20px;

    font-size:22px;

    font-weight:700;

    border-left:4px solid #000;

    padding-left:12px;

}



/* 답변 영역 */

.notice-view .notice-content:last-of-type {

    background:#f8f8f8;

    border-left:4px solid #111;

}



/* 첨부파일 */

.notice-file {

    margin-top:25px;

    padding:20px;

    background:#fafafa;

    border:1px solid #eee;

    border-radius:10px;

}



/* 하단 버튼 영역 */

.notice-actions {

    display:flex;

    justify-content:flex-end;

    margin-top:40px;

    padding-top:25px;

    border-top:1px solid #eee;

}



.inquiry-cancel {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:120px;

    height:45px;

    background:#111;

    color:#fff;

    border-radius:25px;

    text-decoration:none;

    font-weight:600;

}



.inquiry-cancel:hover {

    background:#333;

    color:#fff;

}
