/* Bookmark Button Styles */

.bookmark-btn {
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.bookmark-btn:hover {
    background: #f5f5f5;
    border-color: var(--primary-color, #0d47a1);
    color: var(--primary-color, #0d47a1);
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    background: var(--primary-color, #0d47a1);
    border-color: var(--primary-color, #0d47a1);
    color: white;
}

.bookmark-btn.bookmarked:hover {
    background: #0a3a82;
    border-color: #0a3a82;
}

.bookmark-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

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

/* Bookmark animation when added */
@keyframes bookmarkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.bookmark-btn.bookmarked {
    animation: bookmarkPulse 0.5s ease;
}

/* Inline bookmark button for articles */
.article-card .bookmark-btn,
.news-card .bookmark-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Featured article bookmark */
.news-main .bookmark-btn {
    position: absolute;
    top: 20px;
    right: 20px;
}
