/* ===================================
   KNOWLEDGE MANAGEMENT SYSTEM STYLES
   =================================== */

/* Book Detail Container */
.book-detail-container {
    padding: 1rem 0;
}

/* Book Action Cards */
.book-action-card {
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

.book-action-card:hover {
    transform: translateY(-2px);
}

/* Action Buttons */
.btn-book-read,
.btn-book-download {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
}

.btn-book-read {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-book-download {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-book-read:hover,
.btn-book-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Card Content */
.card-content {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    min-height: 100px;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 1rem;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.text-content {
    flex: 1;
}

.action-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: white;
}

.action-subtitle {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

/* Knowledge Info Container */
.knowledge-info-container {
    padding: 0.5rem 0;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.info-card-primary::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-card-success::before {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.info-card-info::before {
    background: linear-gradient(135deg, #3498db 0%, #85c1e9 100%);
}

.info-card-warning::before {
    background: linear-gradient(135deg, #f39c12 0%, #f7dc6f 100%);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card:hover::before {
    height: 6px;
}

/* Info Card Body */
.info-card-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Icon Wrapper */
.info-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.info-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.info-icon-wrapper.primary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.info-icon-wrapper.primary::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-icon-wrapper.success {
    background: rgba(86, 171, 47, 0.1);
    color: #56ab2f;
}

.info-icon-wrapper.success::before {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.info-icon-wrapper.info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.info-icon-wrapper.info::before {
    background: linear-gradient(135deg, #3498db 0%, #85c1e9 100%);
}

.info-icon-wrapper.warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.info-icon-wrapper.warning::before {
    background: linear-gradient(135deg, #f39c12 0%, #f7dc6f 100%);
}

.info-card:hover .info-icon-wrapper::before {
    opacity: 0.2;
}

.info-icon-wrapper i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Info Content */
.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

/* Download Section */
.download-section {
    display: flex;
    justify-content: center;
}

.btn-download {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.btn-download-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-download-icon i {
    font-size: 1.25rem;
    color: white;
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.btn-download-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.btn-download-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Content List Container */
.content-list-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Content List Header */
.content-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.content-list-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.content-list-title i {
    font-size: 1.5rem;
    color: #667eea;
}

.content-count-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Table Wrapper */
.content-table-wrapper {
    overflow-x: auto;
}

/* Content Table */
.content-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

/* Table Head */
.content-table-head th {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.col-number {
    width: 60px;
    text-align: center;
}

.col-filename {
    min-width: 300px;
}

.col-type {
    width: 120px;
    text-align: center;
}

.col-actions {
    width: 120px;
    text-align: center;
}

/* Table Body */
.content-table-body .content-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.content-table-body .content-row:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.content-table-body .content-row:last-child {
    border-bottom: none;
}

.content-table-body td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
}

/* Row Number */
.row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Filename Wrapper */
.filename-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 1.25rem;
}

.filename-text {
    flex: 1;
    min-width: 0;
}

.filename-main {
    display: block;
    font-weight: 500;
    color: #1e293b;
    word-break: break-all;
    line-height: 1.4;
}

/* Content Type Badges */
.content-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.content-type-pdf {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border-color: #fca5a5;
}

.content-type-image {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border-color: #86efac;
}

.content-type-youtube {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border-color: #fca5a5;
}

.content-type-embed {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    border-color: #93c5fd;
}

.content-type-badge:not(.content-type-pdf):not(.content-type-image):not(.content-type-youtube):not(.content-type-embed) {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border-color: #cbd5e1;
}

/* Actions Wrapper */
.actions-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Content Preview Row */
.content-preview-row {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.content-preview-cell {
    padding: 0 !important;
}

.content-preview-wrapper {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
    margin: 0 1rem;
    border: 1px solid #e2e8f0;
    border-top: none;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Comments Header */
.comments-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.comments-title i {
    font-size: 1.5rem;
    color: #667eea;
}

/* Comments List */
.comments-list {
    padding: 1.5rem 2rem;
}

/* Comment Item */
.comment-item {
    margin-bottom: 2rem;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.comment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Comment Content */
.comment-content {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
}

/* Comment Avatar */
.comment-avatar-wrapper {
    flex-shrink: 0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Comment Body */
.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.comment-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.comment-time i {
    font-size: 0.875rem;
}

.comment-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Comment Actions */
.comment-actions {
    margin-top: 1rem;
}

.replies-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.replies-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.replies-toggle-btn i {
    font-size: 1rem;
}

/* Replies Section */
.replies-section {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.replies-container {
    padding: 1.5rem;
    padding-left: 3rem;
}

/* Reply Item */
.reply-item {
    margin-bottom: 1rem;
}

.reply-item:last-child {
    margin-bottom: 0;
}

.reply-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.reply-content:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

/* Reply Avatar */
.reply-avatar-wrapper {
    flex-shrink: 0;
}

.reply-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 6px rgba(148, 163, 184, 0.3);
}

/* Reply Body */
.reply-body {
    flex: 1;
    min-width: 0;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.reply-author {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
}

.reply-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
}

.reply-time i {
    font-size: 0.8rem;
}

.reply-text {
    color: #374151;
    line-height: 1.5;
    font-size: 0.875rem;
}

/* No Comments State */
.no-comments-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.no-comments-icon {
    margin-bottom: 1.5rem;
}

.no-comments-icon i {
    font-size: 4rem;
    color: #cbd5e1;
}

.no-comments-title {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-comments-subtitle {
    color: #94a3b8;
    margin: 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.section-title i {
    font-size: 1.5rem;
    color: #667eea;
}

/* Description Section */
.description-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.description-section .section-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.description-content {
    padding: 2rem;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

.description-content p {
    margin-bottom: 1.5rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* References Section */
.references-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.references-section .section-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.references-container {
    padding: 1.5rem 2rem;
}

.reference-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.reference-item:last-child {
    margin-bottom: 0;
}

.reference-item:hover {
    background: #f1f5f9;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reference-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.reference-icon i {
    font-size: 1.1rem;
}

.reference-text {
    flex: 1;
    color: #374151;
    line-height: 1.6;
    font-weight: 500;
}

/* Post Footer Section */
.post-footer-section {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
}

/* Social Share */
.social-share-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-share-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.social-share-label i {
    font-size: 1.25rem;
    color: #667eea;
}

.social-share-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
}

.facebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    color: white;
    text-decoration: none;
}

.twitter-btn {
    background: linear-gradient(135deg, #1da1f2 0%, #42a5f5 100%);
    color: white;
}

.twitter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
    color: white;
    text-decoration: none;
}

.social-btn i {
    font-size: 1.1rem;
}

/* Comments Main Section */
.comments-main-section {
    margin-top: 3rem;
}

.comments-section-header {
    margin-bottom: 2rem;
}

.comments-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.comments-section-title i {
    font-size: 1.75rem;
    color: #667eea;
}

/* Comment Form Container */
.comment-form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.comment-form-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comment-form-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.comment-form-title i {
    font-size: 1.25rem;
    color: #667eea;
}

/* Modern Comment Form */
.modern-comment-form {
    padding: 2rem;
}

.comment-input-wrapper {
    margin-bottom: 1.5rem;
}

.comment-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    background: #f8fafc;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}

.comment-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-textarea::placeholder {
    color: #9ca3af;
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-comment-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    cursor: pointer;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.submit-comment-btn i {
    font-size: 1.1rem;
}

/* Responsive Design for Content List */
@media (max-width: 768px) {
    .content-list-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        text-align: center;
    }

    .content-list-title {
        font-size: 1.1rem;
    }

    .content-count-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .content-table-head th {
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }

    .content-table-body td {
        padding: 1rem;
    }

    .filename-wrapper {
        gap: 0.75rem;
    }

    .file-icon {
        width: 35px;
        height: 35px;
    }

    .file-icon i {
        font-size: 1.1rem;
    }

    .filename-main {
        font-size: 0.9rem;
    }

    .content-type-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .row-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .content-preview-wrapper {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    /* Social Share Responsive */
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .social-btn {
        width: 200px;
        justify-content: center;
    }

    /* Comments Responsive */
    .comment-content {
        padding: 1rem;
        gap: 0.75rem;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .replies-container {
        padding: 1rem;
        padding-left: 2rem;
    }

    .reply-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .content-list-header {
        padding: 1rem;
    }

    .content-list-title {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .content-list-title i {
        font-size: 1.25rem;
    }

    .content-table-head th {
        padding: 0.75rem 0.5rem;
    }

    .content-table-body td {
        padding: 0.875rem 0.5rem;
    }

    .filename-wrapper {
        gap: 0.5rem;
    }

    .file-icon {
        width: 30px;
        height: 30px;
    }

    .file-icon i {
        font-size: 1rem;
    }

    .col-filename {
        min-width: 200px;
    }

    .content-preview-wrapper {
        padding: 1rem;
        margin: 0 0.25rem;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 1.1rem;
        gap: 0.5rem;
    }

    .section-title i {
        font-size: 1.25rem;
    }

    /* Description Section Mobile */
    .description-section .section-header,
    .references-section .section-header {
        padding: 1rem 1.5rem;
    }

    .description-content,
    .references-container {
        padding: 1.5rem;
    }

    /* Comment Form Mobile */
    .comment-form-header {
        padding: 1rem 1.5rem;
    }

    .modern-comment-form {
        padding: 1.5rem;
    }

    .comment-textarea {
        min-height: 100px;
        padding: 0.875rem 1rem;
    }

    /* Comments Mobile */
    .comments-list {
        padding: 1rem 1.5rem;
    }

    .comment-content {
        padding: 0.875rem;
        gap: 0.5rem;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .replies-container {
        padding: 0.75rem;
        padding-left: 1.5rem;
    }

    .reply-content {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .reply-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    /* No Comments State Mobile */
    .no-comments-state {
        padding: 3rem 1.5rem;
    }

    .no-comments-icon i {
        font-size: 3rem;
    }
}

/* Animation for collapsible content */
.content-preview-row.collapsing {
    transition: height 0.35s ease;
}

.content-preview-row.show {
    animation: slideDown 0.35s ease;
}

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