/* Basic Forum Styles - Simple and user-friendly */

.basic-forum-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.forum-subtitle {
    color: #666;
    margin-bottom: 20px;
}

/* Forum Actions */
.forum-actions {
    margin-bottom: 20px;
    text-align: center;
}

.btn-create-topic {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-create-topic i {
    margin-right: 5px;
}

.btn-create-topic:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

.login-prompt {
    color: #666;
    text-align: center;
}

.login-prompt a {
    color: #007bff;
}

/* Topic Filters */
.topic-filters {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    background: #ffffff;
    border: 2px solid #6c757d;
    color: #495057;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: #495057;
    color: #212529;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: 600;
}

/* Topics List */
.topics-list {
    margin-top: 20px;
}

.topic-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    background: #fafafa;
    transition: all 0.3s;
}

.topic-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    background: #ffffff;
}

.topic-type-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap;
}

/* Add icons to topic type badges */
.topic-type-badge:before {
    font-family: FontAwesome;
    margin-right: 5px;
}

.topic-type-badge.schools {
    background: #17a2b8;
    color: white;
}

.topic-type-badge.schools:before {
    content: "\f19d"; /* fa-graduation-cap */
}

.topic-type-badge.jobs {
    background: #fd7e14;
    color: white;
}

.topic-type-badge.jobs:before {
    content: "\f0b1"; /* fa-briefcase */
}

.topic-content {
    flex: 1;
}

.topic-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.topic-content a {
    color: #333;
    text-decoration: none;
}

.topic-content a:hover {
    color: #007bff;
}

.topic-meta {
    font-size: 14px;
    color: #666;
}

.topic-meta span {
    margin-right: 15px;
}

.no-topics {
    text-align: center;
    color: #666;
    padding: 40px;
    font-size: 16px;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

/* Topic Header */
.topic-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.topic-header h2 {
    margin: 0;
    flex: 1;
}

/* Posts */
.topic-original,
.reply-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
}

.topic-original {
    background: #fff;
    border-width: 2px;
}

.post-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.post-header strong {
    color: #333;
    font-size: 16px;
}

.post-date {
    color: #666;
    font-size: 14px;
    float: right;
}

.post-content {
    color: #333;
    line-height: 1.6;
}

/* Replies Section */
.replies-section {
    margin-top: 30px;
}

.replies-section h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Reply Form */
.reply-form {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.reply-form h3 {
    margin-bottom: 15px;
    color: #333;
}

.reply-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

.btn-submit {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #0056b3;
}

/* Create Topic Form */
.create-topic-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

/* Topic Type Selector */
.topic-type-selector {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.topic-type-option {
    flex: 1;
    cursor: pointer;
}

.topic-type-option input[type="radio"] {
    display: none;
}

.option-box {
    display: block;
    padding: 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
}

.option-box:hover {
    border-color: #007bff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.option-box.selected {
    border-color: #007bff;
    background: #f0f8ff;
}

.option-box.schools.selected {
    border-color: #17a2b8;
    background: #e6f7fb;
}

.option-box.jobs.selected {
    border-color: #fd7e14;
    background: #fff4e6;
}

.option-box .icon {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}

/* Font Awesome icon colors for topic types */
.option-box.schools .icon {
    color: #17a2b8;
}

.option-box.jobs .icon {
    color: #fd7e14;
}

.option-box span {
    font-size: 16px;
    font-weight: bold;
}

/* Form Actions */
.form-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-cancel {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}

.btn-cancel:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .basic-forum-container {
        padding: 15px;
        margin: 10px;
    }
    
    .topic-type-selector {
        flex-direction: column;
        gap: 10px;
    }
    
    .topic-item {
        flex-direction: column;
    }
    
    .topic-type-badge {
        margin-bottom: 10px;
    }
    
    .topic-meta span {
        display: block;
        margin-bottom: 5px;
    }
    
    .post-date {
        float: none;
        display: block;
        margin-top: 5px;
    }
    
    .filter-btn {
        margin-bottom: 5px;
    }
}