/* Board System Styles */

body.board-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
}

.board-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.board-container.detail-page {
    max-width: 900px;
}

.board-container.hashtag-page {
    max-width: 1000px;
}

/* Sidebar Widgets */
.stat-card {
    background: linear-gradient(135deg, rgba(230, 48, 69, 0.1) 0%, rgba(196, 30, 58, 0.1) 100%);
    border: 1px solid rgba(230, 48, 69, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 48, 69, 0.3);
    border-color: #e63045;
}

.stat-card h6 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(230, 48, 69, 0.5);
}

.hashtag-list {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
}

.hashtag-list h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hashtag-list h6 i {
    color: #e63045;
}

.hashtag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hashtag-item:hover {
    background: rgba(230, 48, 69, 0.1);
    border-color: rgba(230, 48, 69, 0.3);
    color: #e63045;
    transform: translateX(4px);
}

.hashtag-item .badge {
    font-size: 11px;
    padding: 4px 8px;
}

.board-title {
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 30px;
    text-shadow: 0 4px 12px rgba(230, 48, 69, 0.3);
}

.board-title i {
    color: #e63045;
    margin-right: 12px;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(230, 48, 69, 0.2);
    border-color: #e63045;
    color: #e63045;
    transform: translateX(-4px);
}

/* Share Box Styles */
.share-box {
    background: linear-gradient(135deg, rgba(230, 48, 69, 0.1) 0%, rgba(196, 30, 58, 0.1) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(230, 48, 69, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.share-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 48, 69, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10%, -10%); }
}

.share-box.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10;
    border-radius: 20px;
}

.login-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    text-align: center;
}

.login-prompt h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-prompt .btn {
    background: linear-gradient(135deg, #e63045, #c41e3a);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.login-prompt .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(230, 48, 69, 0.4);
}

.share-box textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 16px;
    padding: 18px 20px;
    min-height: 120px;
    resize: vertical;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.share-box textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #e63045;
    outline: none;
    box-shadow: 0 0 0 4px rgba(230, 48, 69, 0.2);
}

.share-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* All textarea placeholders in board */
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

textarea::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

textarea:-moz-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.share-box textarea:-webkit-autofill,
.share-box textarea:-webkit-autofill:hover,
.share-box textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.08) inset !important;
}

.share-box .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 16px;
    padding: 18px 20px;
    min-height: 120px;
    resize: vertical;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.share-box .form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #e63045 !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(230, 48, 69, 0.2) !important;
}

.share-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.share-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.share-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.share-info small {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
}

.share-info .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.btn-share {
    background: linear-gradient(135deg, #e63045, #c41e3a);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-share:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 48, 69, 0.4);
}

.btn-share:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-add-images {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-images:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-add-images:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-upload {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.image-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.preview-item .remove-btn:hover {
    background: #e63045;
}

/* Board Card Styles */
.board-card {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.board-card:hover {
    border-color: rgba(230, 48, 69, 0.5);
    box-shadow: 0 8px 32px rgba(230, 48, 69, 0.2);
}

.board-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.board-card-body {
    padding: 0;
}

.board-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    padding: 16px 20px;
    word-wrap: break-word;
    font-size: 15px;
}

/* Facebook-style Image Layouts */
.board-images {
    margin: 0;
    overflow: hidden;
}

.board-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.board-images img:hover {
    opacity: 0.95;
}

.board-images a {
    display: block;
    overflow: hidden;
}

/* Single Image */
.single-image img {
    max-height: 600px;
    width: 100%;
}

/* 2 Images */
.image-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.image-grid-2 .grid-item img {
    height: 300px;
}

/* 3 Images - Facebook Style */
.image-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.image-grid-3 .grid-large {
    grid-row: span 2;
}

.image-grid-3 .grid-large img {
    height: 100%;
    min-height: 400px;
}

.image-grid-3 .grid-small-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.image-grid-3 .grid-small img {
    height: 199px;
}

/* 4 Images */
.image-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.image-grid-4 .grid-item img {
    height: 250px;
}

/* 5+ Images */
.image-grid-many {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.image-grid-many .grid-item {
    position: relative;
}

.image-grid-many .grid-item img {
    height: 250px;
}

.image-grid-many .has-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.more-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.board-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
}

.hashtag-link {
    color: #1d9bf0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}

.hashtag-link:hover {
    text-decoration: underline;
}

/* Twitter-like Footer */
.board-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
}

.footer-actions {
    display: flex;
    align-items: stretch;
    height: 48px;
}

.action-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    text-decoration: none;
    position: relative;
}

.action-item:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
}

.action-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.action-item i {
    font-size: 18px;
}

.action-item .count {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.action-item .count:hover {
    text-decoration: underline;
}

/* Like Action */
.like-action:hover:not(:disabled) {
    color: #f91880;
}

.like-action:hover:not(:disabled) i {
    animation: heartBeat 0.3s ease;
}

.like-action.active {
    color: #f91880;
}

.like-action.active i {
    font-weight: 900;
}

.like-action.active i::before {
    content: "\f004";
}

/* Dislike Action */
.dislike-action i::before {
    content: "\f165" !important;  /* thumbs-down regular */
}

.dislike-action:hover:not(:disabled) {
    color: #6c757d;
}

.dislike-action.active {
    color: #6c757d;
}

.dislike-action.active i {
    font-weight: 900;
}

.dislike-action.active i::before {
    content: "\f165" !important;  /* thumbs-down solid */
}

/* Comment Action */
.comment-action:hover {
    color: #1d9bf0;
}

/* Share Action */
.share-action {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.share-action:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.share-action i {
    font-size: 16px;
}

/* Action Divider */
.action-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* Likes Modal */
.likes-list-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.likes-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.likes-list-item:last-child {
    border-bottom: none;
}

/* Comments Section */
.comments-section {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 24px 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.comments-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title i {
    color: #1d9bf0;
    margin-right: 8px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.comment-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 8px;
    padding: 12px;
    min-height: 80px;
    resize: vertical;
    font-size: 15px;
}

.comment-form textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #1d9bf0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.2);
}

.comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.comment-form textarea:-webkit-autofill,
.comment-form textarea:-webkit-autofill:hover,
.comment-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset !important;
}

.btn-comment {
    background: #1d9bf0 !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.3);
}

.btn-comment:hover:not(:disabled) {
    background: #1a8cd8 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.4);
    transform: translateY(-1px);
}

.btn-comment:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #6c757d !important;
}

.comment-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-header {
    margin-bottom: 10px;
}

.comment-header .board-user-avatar {
    border-color: rgba(29, 155, 240, 0.5);
}

.comment-header .board-user-avatar:hover {
    border-color: #1d9bf0;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.4);
}

.comment-header .board-avatar-placeholder {
    background: linear-gradient(135deg, #1d9bf0, #0d8bd9);
}

.comment-header .board-user-name:hover {
    color: #1d9bf0;
}

.comment-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    word-wrap: break-word;
    font-size: 15px;
    padding-left: 44px;
}

.comment-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-left: 44px;
}

.comment-hashtag {
    color: #1d9bf0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.comment-hashtag:hover {
    text-decoration: underline;
    color: #1a8cd8;
}

.empty-comments {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-comments i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.pinned-post-container {
    margin-bottom: 0;
}

.section-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(230, 48, 69, 0.3);
}

.section-title i {
    color: #e63045;
    margin-right: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Animations */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .board-container {
        padding: 20px 10px;
    }
    
    .board-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .share-box {
        padding: 20px;
        border-radius: 16px;
    }
    
    .board-card {
        border-radius: 0;
        margin-bottom: 10px;
        border-left: none;
        border-right: none;
    }
    
    .board-card-header,
    .board-content,
    .board-hashtags {
        padding: 12px 16px;
    }
    
    .action-item {
        font-size: 13px;
    }
    
    .action-item i {
        font-size: 16px;
    }
    
    .image-grid-2 .grid-item img,
    .image-grid-4 .grid-item img,
    .image-grid-many .grid-item img {
        height: 200px;
    }
    
    .image-grid-3 .grid-large img {
        min-height: 300px;
    }
    
    .image-grid-3 .grid-small img {
        height: 149px;
    }
    
    .preview-item {
        width: 80px;
        height: 80px;
    }
    
    .comments-section {
        padding: 16px 12px;
    }
}

/* Show Page Specific Styles */
.pinned-post-container {
    margin-bottom: 0;
}

.comments-section {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 24px 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.comments-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title i {
    color: #1d9bf0;
    margin-right: 8px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.comment-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 8px;
    padding: 12px;
    min-height: 80px;
    resize: vertical;
    font-size: 15px;
}

.comment-form textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #1d9bf0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.2);
}

.comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.comment-form textarea:-webkit-autofill,
.comment-form textarea:-webkit-autofill:hover,
.comment-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset !important;
}

.btn-comment {
    background: #1d9bf0 !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.3);
}

.btn-comment:hover:not(:disabled) {
    background: #1a8cd8 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.4);
    transform: translateY(-1px);
}

.btn-comment:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #6c757d !important;
}

.comment-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-header {
    margin-bottom: 10px;
}

.comment-header .board-user-avatar {
    border-color: rgba(29, 155, 240, 0.5);
}

.comment-header .board-user-avatar:hover {
    border-color: #1d9bf0;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.4);
}

.comment-header .board-avatar-placeholder {
    background: linear-gradient(135deg, #1d9bf0, #0d8bd9);
}

.comment-header .board-user-name:hover {
    color: #1d9bf0;
}

.comment-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    word-wrap: break-word;
    font-size: 15px;
    padding-left: 44px;
}

.comment-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-left: 44px;
}

.comment-hashtag {
    color: #1d9bf0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.comment-hashtag:hover {
    text-decoration: underline;
}

.other-posts-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(230, 48, 69, 0.3);
}

.other-posts-title i {
    color: #e63045;
    margin-right: 8px;
}

.login-to-comment {
    background: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.login-to-comment h5 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
}

.login-to-comment .btn {
    background: #1d9bf0;
    border: none;
    padding: 10px 24px;
    color: white;
    border-radius: 20px;
    font-weight: 600;
}

.login-to-comment .btn:hover {
    background: #1a8cd8;
}

/* Hashtag Page Specific Styles */
.hashtag-header {
    background: linear-gradient(135deg, rgba(230, 48, 69, 0.2) 0%, rgba(196, 30, 58, 0.2) 100%);
    border: 2px solid rgba(230, 48, 69, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(230, 48, 69, 0.3);
}

.hashtag-header h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.hashtag-header .hashtag-symbol {
    color: #e63045;
    font-size: 48px;
    margin-right: 8px;
}

.hashtag-stats {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-top: 12px;
}

.related-hashtags {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.related-hashtags h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.related-hashtags h5 i {
    color: #e63045;
    margin-right: 8px;
}

.hashtag-link {
    display: inline-block;
    background: rgba(230, 48, 69, 0.1);
    border: 1px solid rgba(230, 48, 69, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    margin: 4px;
    font-size: 14px;
    color: #e63045;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hashtag-link:hover {
    background: rgba(230, 48, 69, 0.2);
    border-color: #e63045;
    transform: translateY(-2px);
}

/* Additional Media Queries for Detail Pages */
@media (max-width: 768px) {
    .comment-content,
    .comment-hashtags {
        padding-left: 0;
    }
    
    .comment-header {
        margin-bottom: 12px;
    }
    
    .hashtag-header {
        padding: 30px 20px;
    }
    
    .hashtag-header h1 {
        font-size: 28px;
    }
    
    .hashtag-header .hashtag-symbol {
        font-size: 36px;
    }
}

