body{
    background:#0000AA;
    color:white;
    /* font-family:"Nanum Myeongjo", serif; */
    font-family: "Pretendard", sans-serif;
    margin:0;
}

#container{
    width:1200px;
    margin:auto;
    padding:20px;
}

#chat-box {
    height: 700px;        /* 👈 고정 높이 */
    overflow-y: auto;     /* 👈 내부 스크롤 */
    border: 1px solid white;
    padding: 10px;
    background: #0000AA;
    margin-bottom: 20px;
}

.board-title{

    border:1px solid white;

    padding:10px;

    margin-bottom:10px;

    text-align:center;

    font-size:20px;
}

.board-header{

    border-top:1px solid white;
    border-bottom:1px solid white;
    padding:8px 0;
    /* font-weight:bold; */
    font-size:20px;
}

.chat-row {
    border: none;
    padding: 4px 0;
    color: white;
    font-size:20px;
}

.chatroom-list{
    min-height:850px;
    font-size:20px;

}

.post-row{

    /* border-bottom:1px solid white; */

    padding:6px 0;
    font-size:20px;

}

.post-row:hover{

    background:#1111cc;
}

.room-header {
    position: relative;
    margin-bottom: 15px;
    padding: 5px 0;
}

.room-title {
    text-align: center;
    font-size: 20px;
    width:700px;
    /* font-weight: bold; */
}

.room-date{

    display:inline-block;
    width:100px;
    text-align:right;
}

.room-info{
    color:#FFFFFF;
    font-size:14px;
    text-align: right;
}

.room{
    border:1px solid #FFFFFF;
    padding:10px;
    margin-bottom:10px;
    background:#0000AA;
}

.room:hover{
    background:#0000AA;
}

.col-no{

    display:inline-block;
    width:60px;
    text-align:center;
}

.col-writer{

    display:inline-block;
    width:120px;
}

.col-title_1stline{

    display:inline-block;
    width:700px;
    text-align:center;
}

.col-title{

    display:inline-block;
    width:700px;
    text-align:left;

}

.col-member{

    display:inline-block;
    width:270px;
    text-align:center;
}

.col-date{

    display:inline-block;
    width:220px;
    text-align:center;
}

.col-file{

    display:inline-block;
    width:80px;
    text-align:center;
}

a{

    color:white;
    text-decoration:none;
}

a:hover{

    text-decoration:underline;
}

.board-menu{

    margin-top:20px;

    border-top:1px solid white;

    padding-top:15px;
    font-size:20px;
}

.board-menu a{

    margin-right:20px;
}


.write-row{

    margin-bottom:15px;
}

.write-row label{

    display:block;

    margin-bottom:5px;

    color:white;


}

.write-row input{

    width:100%;

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:10px;

    box-sizing:border-box;

    font-family:inherit;

    font-size:20px;
}

.write-row textarea{

    width:100%;

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:10px;

    box-sizing:border-box;

    resize:vertical;

    font-family:inherit;
    font-size:20px;
}

.write-menu{

    border-top:1px solid white;

    margin-top:20px;

    padding-top:15px;
    font-size:20px;
}

.write-menu button{

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:8px 20px;

    cursor:pointer;

    margin-right:15px;

    font-size:20px;
}

.write-menu button:hover{

    background:white;

    color:#0000AA;
}

.bbs-info{

    margin-bottom:20px;

    color:white;
    font-size:20px;
}

.post-header {
    display: flex;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    background: #0000AA;
    font-size: 14px;
    flex-wrap: wrap;
}

.post-header span {
    white-space: nowrap;
}

.post-content {
    padding: 20px;
    white-space: pre-wrap;
    line-height: 1.6;
}

/* ===== 게시글 15개 그리드 ===== */
/* .post-row {
    display: grid;
    grid-template-columns: 60px 120px 1fr 60px 180px 60px;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid #333;
} */

/* ===== 페이지 영역 간격 ===== */
.pagination {
    margin-top: 20px;   /* 👈 글 목록과 거리 */
    padding: 10px 0;
    text-align: center;
}

/* ===== 페이지 숫자 스타일 ===== */
.pagination a {
    margin: 0 5px;
    color: white;
    text-decoration: none;
}

/* 현재 페이지 강조용 (선택) */
.pagination a:hover {
    color: yellow;
}

/* ===== "페이지" 글자 ===== */
.page-label {
    margin-right: 10px;
    color: white;
    font-weight: bold;
}

.pagination a.active {
    font-weight: bold;
    color: red;
}


