/**
 * RecommendationLineButtons Component Styles
 *
 * Quick action buttons (Watchlist + Viewed) for recommendation sections.
 * Position: Top-right of poster with dark background badge.
 *
 * Uses same icon conventions as PosterActionOverlay:
 * - Watchlist: bi-bookmark / bi-bookmark-fill
 * - Viewing: bi-eye / bi-eye-fill
 */

/* Container - positioned in poster top-right */
.recommendation-line-buttons {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    padding: 4px;
}

/* Base button styles */
.rlb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rlb-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.rlb-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.rlb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Size: Small (default for landing page) */
.rlb-sm .rlb-btn {
    padding: 3px 6px;
    font-size: 0.8rem;
}

.rlb-sm .rlb-btn i {
    font-size: 0.85rem;
}

/* Size: Medium */
.rlb-md .rlb-btn {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.rlb-md .rlb-btn i {
    font-size: 1rem;
}

/* Watchlist button - Info/Cyan accent (same as PosterActionOverlay watchlist) */
.rlb-watchlist:hover {
    border-color: #0dcaf0;
    color: #0dcaf0;
    background: rgba(13, 202, 240, 0.2);
}

/* Watchlist button - Active state (on watchlist) - Aqua icon on dark background */
.rlb-watchlist.rlb-active {
    background: rgba(0, 0, 0, 0.7);
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.rlb-watchlist.rlb-active:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: #31d2f2;
    color: #31d2f2;
}

/* Viewed button - Primary/Blue accent (same as PosterActionOverlay viewing) */
.rlb-viewed:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.2);
}

/* Viewed button - Active state (already viewed) */
.rlb-viewed.rlb-active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.rlb-viewed.rlb-active:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}
