/* 삭제시 사용이력을 보여주는 테이블 */
.del-use-info-table {
    border: 1px solid #6d6d6d;
    border-collapse: separate;
}
.del-use-info-table th, td {
    border-width: 0 1px 1px 0;
    margin: 0;
    padding: 0;
}
.del-use-info-table th {
    border-bottom: 1px solid #404040;
}
.del-use-info-table td {
    border-bottom: 1px solid #ebebeb;
}


/* 댓글(comment) 영역 */
.comment-body {
    background-color: #f9f9f9;
    margin: 0;
    padding: 10px;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
}

.comment-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* 전체 스크롤 방지 */
}

.comments-list {
    flex: 1;
    /* margin-bottom: 20px; */
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
}

.comments-list .comment {
    margin-bottom: 5px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.comments-list .comment .meta {
    font-size: 12px;
    color: #666;
    margin-right: 5px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 80px;
    background-color: #f9f9f9;
    padding: 3px 3px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-list .comment .meta div {
    line-height: 1;
}

.comments-list .comment .meta div:first-child {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    line-height: 1;
    white-space: nowrap; /* 텍스트를 한 줄로 표시 */
    overflow: hidden; /* 넘친 텍스트를 숨김 */
    text-overflow: ellipsis; /* 넘친 부분을 ...으로 표시 */
}

.comments-list .comment .content {
    flex: 1;
    padding-left: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-input {
    display: flex;
    flex-direction: column;
}

.comment-form {
    display: flex;
    flex-direction: row;
    gap: 10px; /* 버튼과 텍스트 입력 간격 추가 */
    padding: 0px 10px;
}

.comment-form textarea {
    flex: 1; /* 버튼 제외 남은 공간을 차지 */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    font-size: 14px;
}

.comment-form button {
    width: 100px;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment-form button:hover {
    background-color: #0056b3;
}


table.alert-table {
    width: 100%;
    margin: 0px auto;
    border-spacing: 0;
    border-collapse: collapse;
    text-indent: initial;
    border: 1px solid #dfdfdf;
}
table.alert-table thead {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
table.alert-table tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
table.alert-table tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}
table.alert-table th {
    text-align: center;
    height: 25px;
    border: 1px solid #cccccc;
    font-weight: bold;
}
table.alert-table td {
    text-align: center;
    height: 25px;
    border: 1px solid #cccccc;
    font-weight: normal;
    margin: 0 3px;
}