/* comment.css */

.comment-section-wrapper {
    background-color: #1a1a1a; /* 背景色：少し明るめの黒 */
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #eee;
    border-radius: 8px;
}

.comment-section-title {
    border-left: 4px solid #00ff00; /* ハッキングラボっぽい緑 */
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

/* フォーム */
.comment-form-container {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ccc;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #333;
    border: 1px solid #555;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box; /* パディングを含めて幅計算 */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
}

.comment-submit-btn {
    background-color: #008800;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comment-submit-btn:hover {
    background-color: #00bb00;
}

.comment-separator {
    border: 0;
    border-top: 1px solid #444;
    margin: 30px 0;
}

/* コメントリスト */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background-color: #252525;
    padding: 15px;
    border-radius: 6px;
    border-left: 2px solid #555;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #aaa;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.comment-author {
    font-weight: bold;
    color: #00ff00;
}

.comment-body {
    line-height: 1.6;
    word-wrap: break-word;
}

.no-comments {
    text-align: center;
    color: #777;
}




/* トリップ機能のヒント */
.tripcode-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
    margin-bottom: 0;
}

.tripcode-hint b {
    color: #bbb; /* 強調部分は少し明るく */
}

.error-msg{
    color: red;
}