/* Page styles of resources/views/frontend/proverbs/show.blade.php (moved out of the view) */

.proverb-content {
    font-size: 1.75rem;
    line-height: 1.6;
    color: #333;
}

.detail-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h4 {
    color: #495057;
    font-weight: 600;
}

/* Integrated Stats Styling */
.proverb-stats .stat-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.proverb-stats .stat-item:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.05);
}

/* Like Stat Hover Effects */
.like-stat:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.like-stat:hover i {
    color: #dc3545 !important;
}

.like-stat:hover .like-count {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Bookmark Stat Hover Effects */
.bookmark-stat:hover {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bookmark-stat:hover i {
    color: #ffc107 !important;
}

.bookmark-stat:hover .bookmark-count {
    color: #ffc107 !important;
    font-weight: 600;
}

/* Comment Stat Hover Effects */
.comment-stat:hover {
    background-color: rgba(16, 102, 231, 0.1) !important;
}

.comment-stat:hover i {
    color: #1066E7 !important;
}

.comment-stat:hover small {
    color: #1066E7 !important;
    font-weight: 600;
}

/* Integrated Button Styling */
.like-proverb-btn, .bookmark-proverb-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-proverb-btn:hover i, .bookmark-proverb-btn:hover i {
    transform: scale(1.2);
}

/* Action Buttons */
.action-buttons .btn {
    transition: all 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Similar Proverbs */
.similar-proverb-item {
    transition: all 0.3s ease;
    border-right: 4px solid transparent;
}

.similar-proverb-item:hover {
    transform: translateX(-5px);
    border-right-color: #1066E7;
    background-color: #f8f9fa;
}

/* Animations */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bounce-animation {
    animation: bounce 0.5s ease;
}

@media (max-width: 768px) {
    .proverb-content {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .action-buttons .btn {
        flex: 1;
        min-width: 120px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .proverb-content {
        font-size: 1.25rem;
    }

    .stat-item {
        padding: 5px;
    }

    .like-proverb-btn i,
    .bookmark-proverb-btn i {
        font-size: 1.5rem !important;
    }
}

/* Comment items */
.comment-item {
    transition: background-color 0.2s ease;
}

.reply-item {
    background-color: #f8f9fa;
    border-right: 3px solid #1066E7 !important;
}

.replies-container {
    transition: all 0.3s ease;
}

.comment-actions .btn-link {
    font-size: 0.875rem;
}

@media (max-width: 767.98px) {
    .comment-actions .btn-link {
        min-height: 44px;
        min-width: 44px;
        padding: 8px !important;
    }
}
