.board-view-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.board-view-container h2 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.alert {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.post-header {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.secret-badge {
    display: inline-block;
    font-size: 14px;
    padding: 4px 10px;
    background: #6c757d;
    color: white;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
}

.post-info {
    color: #6c757d;
    font-size: 14px;
}

.post-info .divider {
    margin: 0 10px;
}

.post-content {
    padding: 30px 20px;
    min-height: 200px;
    line-height: 1.8;
    border-bottom: 1px solid #ddd;
}

.post-files {
    padding: 20px;
    background: #f8f9fa;
    margin: 20px 0;
    border-radius: 4px;
}

.post-files h4 {
    margin-bottom: 10px;
}

.post-files ul {
    list-style: none;
    padding: 0;
}

.post-files li {
    padding: 5px 0;
}

.post-files a {
    color: #007bff;
    text-decoration: none;
}

.post-files a:hover {
    text-decoration: underline;
}

.post-actions {
    margin: 20px 0;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-list,
.btn-edit,
.btn-delete {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-list {
    background: #6c757d;
    color: white;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ddd;
}

.comments-section h4 {
    margin-bottom: 20px;
}

.comment-count {
    color: #007bff;
}

.comments-list {
    list-style: none;
    padding: 0;
}

.comment-item {
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    color: #6c757d;
}

.btn-comment-delete {
    margin-left: auto;
    padding: 4px 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.comment-content {
    line-height: 1.6;
}

.comment-form {
    margin-top: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
}

.btn-comment-submit {
    margin-top: 10px;
    padding: 10px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-comment-submit:hover {
    background: #0056b3;
}

.login-required {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.login-required a {
    color: #007bff;
}

@media (max-width: 768px) {
    .board-view-container {
        padding: 15px;
    }
    
    .post-title {
        font-size: 18px;
        word-break: keep-all;
        line-height: 1.5;
    }
    
    .post-header {
        padding: 15px;
    }
    
    .post-content {
        padding: 20px 15px;
        word-break: keep-all;
    }
    
    .post-info {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .post-info .divider {
        display: none;
    }
    
    .post-actions {
        flex-wrap: wrap;
    }
    
    .comment-form textarea {
        font-size: 14px;
    }
}
