/* Social Section Styles */
.social-section {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
}

.social-header {
    text-align: center;
    margin-bottom: 20px;
}

.social-header h3 {
    font-size: 1.5em;
    color: #495057;
    margin-bottom: 5px;
}

.social-header p {
    color: #6c757d;
    font-size: 1em;
}

.social-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    background: white;
    border: 2px solid #dee2e6;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-btn.liked {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border-color: #ff6b6b;
}

.like-btn:hover:not(.liked) {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.share-btn:hover {
    border-color: #51cf66;
    color: #51cf66;
}

.comment-btn:hover {
    border-color: #7950f2;
    color: #7950f2;
}

.social-icon {
    font-size: 1.3em;
}

.social-count {
    background: #e9ecef;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    min-width: 30px;
    text-align: center;
}

.liked .social-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Comment Section */
.comment-section {
    padding: 30px;
    background: white;
    border-top: 1px solid #dee2e6;
    max-height: 500px;
    overflow-y: auto;
}

.comment-section.hidden {
    display: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comment-header h3 {
    font-size: 1.3em;
    color: #495057;
}

.close-comments {
    background: #e9ecef;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-comments:hover {
    background: #dee2e6;
    transform: rotate(90deg);
}

.comment-input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.comment-input-area input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
}

.comment-input-area input:focus {
    outline: none;
    border-color: #7950f2;
    box-shadow: 0 0 0 3px rgba(121, 80, 242, 0.1);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.no-comments {
    text-align: center;
    color: #adb5bd;
    padding: 30px;
    font-style: italic;
}

.comment-item {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 15px;
    border-left: 4px solid #7950f2;
    animation: slideInComment 0.3s ease-out;
}

@keyframes slideInComment {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comment-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author::before {
    content: '👤';
    font-size: 1.2em;
}

.comment-time {
    font-size: 0.85em;
    color: #adb5bd;
}

.comment-text {
    color: #495057;
    line-height: 1.5;
    word-wrap: break-word;
}

.comment-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.comment-delete:hover {
    background: #fff5f5;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.1);
    }

    75% {
        transform: scale(1.15);
    }
}