/**
 * Bookmark button and list styles
 * Save as: /css/bookmark.css in your theme folder
 */

/* Bookmark Button */
.bookmark-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.bookmark-button:hover {
    border-color: #0073aa;
    color: #0073aa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

.bookmark-button:active {
    transform: translateY(0);
}

.bookmark-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bookmark-button.bookmarked {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.bookmark-button.bookmarked:hover {
    background: #005a87;
    border-color: #005a87;
}

.bookmark-icon {
    transition: fill 0.3s ease;
    flex-shrink: 0;
}

.bookmark-button.bookmarked .bookmark-icon {
    fill: currentColor;
}

/* Bookmarked Posts List */
.bookmarked-posts-list {
    margin: 20px 0;
}

.bookmark-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bookmark-item:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.bookmark-thumbnail {
    flex-shrink: 0;
}

.bookmark-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.bookmark-content {
    flex: 1;
}

.bookmark-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
}

.bookmark-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bookmark-content h3 a:hover {
    color: #0073aa;
}

.bookmark-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.remove-bookmark-btn {
    padding: 5px 12px;
    background: #dc3232;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-bookmark-btn:hover {
    background: #a00;
}

.loading-bookmarks {
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .bookmark-item {
        flex-direction: column;
    }
    
    .bookmark-thumbnail img {
        width: 100%;
        height: auto;
    }
}