/* Forum Inline Post Styles */

.inline-post-form {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.draft-post {
    opacity: 0.95;
}

.draft-indicator {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: var(--font-sm);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.draft-indicator i {
    margin-right: 5px;
}

.inline-form-content {
    margin-top: 10px;
}

.inline-form-content h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: var(--font-lg);
}

.inline-form-content .form-group {
    margin-bottom: 20px;
}

.inline-form-content textarea {
    resize: vertical;
    min-height: 150px;
    font-size: var(--font-md);
}

.inline-form-content .help-block {
    margin-top: 8px;
    font-size: var(--font-sm);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn {
    padding: 10px 20px;
    font-size: var(--font-md);
}

.awaiting-approval-badge {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: 15px;
}

.awaiting-approval-badge i {
    margin-right: 5px;
}

.unapproved-post {
    opacity: 0.85;
    border-left: 4px solid #f39c12;
}

.unapproved-post .post-content-section {
    background: #fff8e1;
}

.add-reply-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease;
    font-weight: 600;
}

.add-reply-inline-btn:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
}

.add-reply-inline-btn i {
    font-size: var(--font-lg);
}

.forum-post-row {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.post-type-label {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: 10px;
}

.topic-label {
    background: #27ae60;
}

@media (max-width: 768px) {
    .inline-post-form {
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}/* Markdown Rendered Content Styles - Removed, using CKEditor content classes instead */

/* CKEditor content is styled via /ckeditor/style.css with .ck-content class */
.post-text.ck-content {
    min-height: 40px;
}

.post-text.ck-content p {
    margin: 0.75em 0;
}

.post-text.ck-content p:first-child {
    margin-top: 0;
}

.post-text.ck-content p:last-child {
    margin-bottom: 0;
}/* CKEditor in inline form styling */
#inline-post-editor .ck-editor__editable {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

#inline-post-editor .ck-editor {
    width: 100%;
}

.inline-form-content #inline-post-editor {
    margin-bottom: 15px;
}