/**
 * Reading List / Bookmarks Styling
 */

/* Navigation Reading List Icon */
.nav-reading-list {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.reading-list-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.reading-list-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.reading-list-link i {
    font-size: 20px;
}

.bookmark-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 2px 5px;
    background: #d63638;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Bookmark Button */
.bookmark-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    border-bottom: 2px solid #e0e0e0;
}

.bookmark-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #2271b1;
    border-radius: 8px;
    color: #2271b1;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bookmark-button:hover {
    background: #2271b1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.bookmark-button.bookmarked {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.bookmark-button i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .bookmark-button-wrapper {
        justify-content: center;
    }
    
    .nav-reading-list {
        order: -1;
        margin-right: auto;
        margin-left: 15px;
    }
}
