/* ===== Article Interactions CSS ===== */

/* Published date in header */
.article-date {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ===== Interaction Bar ===== */
.interaction-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 1.25rem 0;
    margin: 2rem 0 1rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Like button */
.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.like-btn:hover:not(:disabled) {
    border-color: #e05a7a;
    color: #e05a7a;
    background: #fff0f4;
}

.like-btn.liked {
    border-color: #e05a7a;
    color: #e05a7a;
    background: #fff0f4;
}

.like-btn:disabled {
    cursor: default;
}

/* Share buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.share-label {
    font-size: 13px;
    color: #999;
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ===== Comments Section ===== */
.comments-section {
    margin: 2.5rem 0 3rem;
}

.comments-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
}

/* Comment form */
.comment-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.comment-form h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.comment-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.comment-form .form-control:focus {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
}

.comment-form .btn-primary {
    background: #1a1a2e !important;
    border-color: #1a1a2e !important;
    border-radius: 8px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
}

.comment-form .btn-primary:hover:not(:disabled) {
    background: #0f3460 !important;
    border-color: #0f3460 !important;
}

.comment-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #c00;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.comment-success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #276749;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Comments list */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #1a1a2e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.comment-body {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.comment-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.comment-date {
    font-size: 12px;
    color: #aaa;
}

.comment-text {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.no-comments {
    color: #aaa;
    font-size: 14px;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 576px) {
    .interaction-bar { gap: 12px; }
    .share-buttons { margin-left: 0; }
    .comment-avatar { width: 34px; height: 34px; min-width: 34px; font-size: 14px; }
}
