.forum-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.forum-list {
    margin-top: 20px;
}

.forum-topic {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 15px;
    transition: transform 0.2s ease;
}

.forum-topic:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.topic-title {
    font-size: 1.2em;
    margin: 0;
    color: #333;
}

.topic-author {
    font-size: 0.9em;
    color: #666;
}

.topic-timestamp {
    font-size: 0.8em;
    color: #888;
}

.topic-content {
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-count {
    font-size: 0.9em;
    color: #666;
    text-align: right;
}

/* Posts in a topic */
.post {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 15px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.post-author {
    font-weight: bold;
    color: #333;
}

.post-timestamp {
    font-size: 0.8em;
    color: #888;
}

.post-content {
    line-height: 1.5;
}

/* Forms */
.forum-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}

.forum-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
}

.create-topic-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
}

.create-topic-btn:hover {
    background-color: #0069d9;
}

.back-btn {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.back-btn:hover {
    background-color: #5a6268;
    text-decoration: none;
    color: white;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.empty-state p {
    margin-bottom: 20px;
}