.detail_thread{
}
.detail_thread_body{padding: 15px;background-color: #fff;border-radius: 15px;margin-bottom: 20px;}
.thread-actions{/* width: 250px; */justify-content: end;}
.thread-actions .btn{}
.thread-actions .follower-count.badge, .btn-save .badge{font-family: var(--bs-font-sans-serif);font-size: 13px;background-color: var(--bs-danger) !important;!i;!;color: #fff !important;!i;!;border-radius: 30px;}
.detail_thread .thread-meta{margin-bottom: 15px;justify-content: space-between;}
.bookmark-btn,.follow-btn{display:flex;align-items:center;white-space:nowrap;border-radius:20px;font-size:.875rem;padding:.375rem .75rem;transition:all .2s ease-in-out}
.bookmark-btn:hover,.follow-btn:hover{transform:translateY(-1px)}
.bookmark-btn.active{background-color:#0d6efd;border-color:#0d6efd;color:#fff}
.follow-btn.active{background-color:#198754;border-color:#198754;color:#fff}
.bookmark-btn:disabled,.follow-btn:disabled{opacity:.6;cursor:not-allowed}
.bookmark-btn .spinner-border,.follow-btn .spinner-border{width:.875rem;height:.875rem;border-width:1px}
.thread-content{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;padding:0;font-size:14px;color:#606060;line-height:23px}
.thread-image-container{position:relative;overflow:hidden;border-radius:6px}
.thread-image-container img,.avatar{transition:transform .2s ease;object-fit:cover}
.thread-image-container img{width:100%;height:130px}
.thread-image-container:hover img{transform:scale(1.05)}
.detail_thread .thread-meta .thread-meta-item{margin-right: 13px;}
.detail_thread .thread-title{font-size: 24px;}
.detail_thread .thread_user{
}
.detail_thread .thread_user img{width: 50px;height: 50px;}
.detail_thread .thread_user a{color: #403e3e;font-size: 16px;}
.detail_thread .thread_user .text-muted{
}
.detail_thread .thread_user .text-muted span{
}
.poll-card{font-family: "Roboto Condensed", sans-serif;padding: 15px;background-color: #fff;border-radius: 15px;margin-bottom: 20px;}
.poll-card-header{margin-bottom: 13px;}
.poll-card-header h5{
}
.poll-card-header .badge{background-color: var(--bs-primary) !IMPORTANT;}
.poll-card-body{
}
.poll-results{
}
.poll-results .d-flex{
}
.poll-results_item{font-weight: 400;}
.poll-results .progress{
    background-color: #cdcdcd;
    border-radius: 15px;
    height: 15px !IMPORTANT;
}
.poll-results .progress .progress-bar{
}
.poll-card .progress-bar {
    background-color: var(--bs-primary);
    transition: width 1s ease-in-out;
}
.poll-card .card-header {
    background-color: rgba(51, 102, 204, 0.1);
}
.poll-card .form-check-input:checked {
    background-color: #3366CC;
    border-color: #3366CC;
}
.showcase-section{font-family: "Roboto Condensed", sans-serif;padding: 15px;background-color: #fff;border-radius: 15px;margin-bottom: 20px;}
.showcase-section-body h6{font-size: 20px;}
.showcase-section-body .showcase-meta{
}
.showcase-section-body .showcase-meta a{color: var(--bs-primary);}
.threads-footer{margin-top: 20px;font-size: 14px;}
.threads-footer .btn{font-size: 14px;}
.threads-footer .btn i{margin-right: 5px !important;text-decoration: none !IMPORTANT;}
.threads-footer .btn:hover{background-color: transparent;color: var(--bs-primary);/* text-decoration: underline; */}
.threads-footer .btn:hover .text{text-decoration: underline;}
.threads-footer .btn:hover i{text-decoration: none !IMPORTANT;}
.createShowcaseModal{
}
.createShowcaseModal .modal-title{
}
.createShowcaseModal{
}
.bg-primary{background-color: var(--bs-primary) !important;}
.createShowcaseModal .steps-indicator{position: relative;}
.createShowcaseModal .steps-indicator:before{content:"";position: absolute;left: 0;width: 100%;top: 20px;border-bottom: 1px solid #ebebeb;}
.createShowcaseModal .steps-indicator .step {
}
.createShowcaseModal .steps-indicator .step .step-label{font-weight: 500;margin-top: 7px;font-size: 14px;}
.createShowcaseModal .steps-indicator .step.active .step-number{background-color: var(--bs-primary);color: #fff;border: 1px solid var(--bs-primary);}
.comments-section{font-family: "Roboto Condensed", sans-serif;padding: 15px;background-color: #fff;border-radius: 15px;margin-bottom: 20px;}
.voters-list{margin-top: 10px;}
.comment_item {
}
.comment_item_avatar{
    width: 79px;
}
.comment_item_avatar img{width: 55px;height: 55px;}
.comment_item_body{flex: 1;}
.comment_item_user{margin-bottom: 5px;}
.comment_item_user a{
}
.comment_item_user .text-muted{
}
.comment_item_user .text-muted span{
}
.comment_item_content{margin-bottom: 5px;font-size: 14px;}
.comment_item_meta {margin-bottom: 15px;}

/* File Upload Styles for Showcase */
.file-upload-area-modern {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.file-upload-area-modern.dragover {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.05);
}

.upload-zone-modern {
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-zone-modern:hover {
    background-color: #e9ecef;
}

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.upload-text .upload-primary {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.upload-text .upload-secondary {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.btn-link-modern {
    background: none;
    border: none;
    color: var(--bs-primary);
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

.btn-link-modern:hover {
    color: var(--bs-primary);
    text-decoration: none;
}

.file-previews-modern {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    background-color: #fff;
}

.file-previews-header {
    margin-bottom: 1rem;
}

.file-previews-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.file-previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.file-preview-item-modern {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.file-preview-item-modern:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-icon-modern {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.file-info-modern {
    flex: 1;
    min-width: 0;
}

.file-name-modern {
    font-weight: 500;
    font-size: 0.875rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.file-size-modern {
    font-size: 0.75rem;
    color: #6c757d;
}

.remove-file-modern {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.remove-file-modern:hover {
    background-color: #c82333;
}

.file-preview-item-modern.image-preview img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

/* Search Condition Tags */
.search-conditions {
    margin-bottom: 1rem;
}

.search-conditions .condition-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--bs-border-color);
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: 5px;
    padding: 0.25rem 0.75rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-conditions .condition-tag:hover {
    background-color: #bbdefb;
    transform: translateY(-1px);
}

.search-conditions .condition-tag .remove-condition {
    background: none;
    border: none;
    color: var(--bs-link-color);
    margin-left: 0.5rem;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-conditions .condition-tag .remove-condition:hover {
    color: #d32f2f;
}

.search-conditions .condition-tag.quick-filter {
    background-color: #e8f5e8;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.search-conditions .condition-tag.quick-filter:hover {
    background-color: #c8e6c9;
}

.search-conditions .condition-tag.quick-filter .remove-condition {
    color: #2e7d32;
}

.search-conditions .condition-tag.featured {
    background-color: #fff3e0;
    color: #f57c00;
    border-color: #ffcc02;
}

.search-conditions .condition-tag.featured:hover {
    background-color: #ffcc02;
}

.search-conditions .condition-tag.featured .remove-condition {
    color: #f57c00;
}
.body_search{background-color: #fff;padding: 15px;border-radius: 20px;}
.search-conditions .clear-all-btn {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    border-radius: 5px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.search-conditions>div{gap: 4px;}
.search-conditions .clear-all-btn:hover {
    background-color: #ffcdd2;
    color: #d32f2f;
    text-decoration: none;
    transform: translateY(-1px);
}
/* Search Keyword Highlighting */
.highlight {
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid #ffeaa7;
}
.highlight-comment {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107 !important;
    transition: all 0.3s ease;
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0% { background-color: #fff3cd; }
    50% { background-color: #ffeaa7; }
    100% { background-color: #fff3cd; }
}

/* Inline Edit Form Styles */
.inline-edit-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.inline-edit-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.existing-attachments .attachment-item {
    transition: opacity 0.3s ease;
}



.compact-upload {
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    background: #fff;
}

.compact-upload.small {
    padding: 8px;
    font-size: 0.9em;
}

.inline-edit-form .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.inline-edit-form .d-flex.gap-2 {
    gap: 0.5rem !important;
}

/* Image Preview Styles for Edit Mode */
.image-preview-item {
    position: relative;
    display: inline-block;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-preview-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-preview-item:hover .image-overlay {
    opacity: 1;
}

.remove-image-btn {
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.image-info {
    padding: 5px;
    text-align: center;
    background: white;
}

.image-info small {
    font-size: 11px;
    word-break: break-all;
    line-height: 1.2;
}

/* Cancel button for edit mode - should be visible */
.cancel-edit-btn {
    display: inline-block;
}

/* Comment image delete button */
.comment-image-wrapper {
    position: relative;
}

.delete-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.comment-image-wrapper:hover .delete-image-btn {
    opacity: 1;
}

/* Highlight effect for new comments */
.highlight-new {
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-left: 4px solid #28a745;
    animation: highlightFade 3s ease-out;
}

@keyframes highlightFade {
    0% {
        background: linear-gradient(90deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
        transform: scale(1.01);
    }
    100% {
        background: linear-gradient(90deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
        transform: scale(1);
    }
}
.card_coment_thread{border: none !important;padding: 15px;background-color: #fff;border-radius: 15px;margin-bottom: 10px;}
.card_coment_thread h4{font-size: 16px !important;margin-bottom: 10px;}
.card_coment_thread h4 i{font-size: 17px;}
.card_coment_thread_body{
}
.avatar_user{
}
.avatar_user img{width: 55px;height: 55px;border-radius: 50%;}
.thread-meta-item{font-size: 14px;}
.comment-image-wrapper{
}
.comment-image-wrapper img{height: 90px;width: 100%;object-fit: cover;}
.comment-attachments{margin-top: 5px !IMPORTANT;margin-bottom: 10px;}
.btn_meta.active .text,.btn_meta:hover .text{text-decoration: underline;color: var(--bs-primary);}
span.btn_meta:hover{
}
.inline-reply-form{margin-bottom: 10px;}
