/* Forum CSS Styles */

/* Forum Übersicht */
.forum-container {
    width: 100%;
    margin-bottom: 20px;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forum-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.forum-category {
    background-color: rgba(30, 35, 40, 0.8);
    border: 1px solid #2a3038;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.forum-category:hover {
    border-color: #3a5eca;
    box-shadow: 0 0 10px rgba(58, 94, 202, 0.2);
}

.forum-category-header {
    padding: 15px;
    background-color: rgba(40, 45, 50, 0.8);
    border-bottom: 1px solid #2a3038;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.forum-category-title {
    font-size: 18px;
    font-weight: bold;
    color: #3a5eca;
}

.forum-category-description {
    color: #aaa;
    font-size: 14px;
    margin-top: 5px;
}

.forum-category-info {
    display: flex;
    font-size: 13px;
    color: #888;
}

.forum-category-info div {
    margin-left: 15px;
}

.forum-category-content {
    padding: 15px;
}

/* Thread Liste */
.thread-list {
    width: 100%;
}

.thread-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #2a3038;
    transition: all 0.2s ease;
}

.thread-item:last-child {
    border-bottom: none;
}

.thread-item:hover {
    background-color: rgba(40, 45, 50, 0.5);
}

.thread-icon {
    width: 40px;
    text-align: center;
    color: #aaa;
    font-size: 20px;
    padding-top: 3px;
}

.sticky-thread .thread-icon {
    color: #e6b800;
}

.thread-content {
    flex-grow: 1;
    padding: 0 15px;
}

.thread-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.thread-title a {
    color: #fff;
    text-decoration: none;
}

.thread-title a:hover {
    color: #3a5eca;
}

.thread-meta {
    font-size: 12px;
    color: #888;
}

.thread-stats {
    width: 120px;
    text-align: center;
    padding-top: 5px;
    font-size: 13px;
    color: #aaa;
}

.thread-last-post {
    width: 200px;
    font-size: 13px;
    color: #aaa;
}

.thread-last-post a {
    color: #3a5eca;
}

/* Thread Ansicht */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #aaa;
}

.breadcrumbs a {
    color: #3a5eca;
    text-decoration: none;
}

.thread-container {
    margin-bottom: 30px;
}

.post {
    display: flex;
    margin-bottom: 20px;
    background-color: rgba(30, 35, 40, 0.8);
    border: 1px solid #2a3038;
    border-radius: 5px;
}

.post-sidebar {
    width: 180px;
    padding: 15px;
    border-right: 1px solid #2a3038;
    background-color: rgba(25, 30, 35, 0.5);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.post-avatar {
    text-align: center;
    margin-bottom: 10px;
}

.post-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #3a5eca;
}

.post-username {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.post-rank {
    text-align: center;
    margin-bottom: 15px;
}

.post-rank img {
    height: 24px;
}

.post-info {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.post-main {
    flex-grow: 1;
    padding: 15px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2a3038;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
}

.post-date {
    font-size: 13px;
    color: #888;
}

.post-content {
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #2a3038;
    padding-top: 10px;
}

.post-actions a {
    color: #3a5eca;
    margin-left: 10px;
    text-decoration: none;
}

/* Buttons und Formulare */
.btn-forum {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3a5eca;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-forum:hover {
    background-color: #2a4eba;
}

.btn-forum.btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

.forum-form {
    background-color: rgba(30, 35, 40, 0.8);
    border: 1px solid #2a3038;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.form-control {
    width: 100%;
    padding: 10px;
    background-color: rgba(25, 30, 35, 0.5);
    border: 1px solid #2a3038;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

.form-control:focus {
    border-color: #3a5eca;
    outline: none;
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

/* Badges und Icons */
.badge {
    display: inline-block;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    color: #fff;
}

.badge-admin {
    background-color: #e74c3c;
}

.badge-moderator {
    background-color: #3498db;
}

.badge-director {
    background-color: #9b59b6;
}

.badge-member {
    background-color: #2ecc71;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 3px;
    background-color: rgba(30, 35, 40, 0.8);
    border: 1px solid #2a3038;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #3a5eca;
    border-color: #3a5eca;
}

.pagination .current {
    background-color: #3a5eca;
    border-color: #3a5eca;
}

/* Mobile optimierungen */
@media (max-width: 768px) {
    .post {
        flex-direction: column;
    }
    
    .post-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #2a3038;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 0;
    }
    
    .thread-item {
        flex-wrap: wrap;
    }
    
    .thread-last-post {
        width: 100%;
        margin-top: 10px;
    }
    
    .thread-stats {
        width: auto;
        margin-left: 15px;
    }
} 