/* ============================================================================
   Content Actions — shared pill buttons, save/share/info bar
   ============================================================================
   Used on: Video page, Article page, Content Preview modal
   Extracted from Video.css (Apr 2025) because these are generic content-action
   styles, not video-page-specific. Now in the core bundle so any page with
   action buttons gets them automatically.
   ============================================================================ */

.Video-controlsBelowList {
    position: relative;
    top: -2px;
    gap: 8px;
}

/* Legacy button styles kept for older markup */
.Video-buttonMoreInfo {
    position: relative;
    top: -1px;
}

.Video-buttonMoreInfo img {
    width: 26px;
    height: 26px;
    opacity: 0.5;
}

.Video-buttonShare {
    position: relative;
    top: -1px;
}

.Video-buttonShare img {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

.Video-buttonMoreInfo:hover img {
    opacity: 1;
}

.Video-buttonAddToWatchlist img, .Video-buttonRemoveFromWatchlist img {
    width: 34px;
    height: 34px;
    margin-right: 2px;
    opacity: 0.5;
    display: inline-block;
}

.Video-buttonAddToWatchlist:hover img {
    opacity: 1;
}

/* YouTube-style pill buttons */
.Video-pillBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0,0,0,0.05);
    border: none;
    border-radius: 18px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #0f0f0f;
    cursor: pointer;
    transition: background-color 0.2s ease;
    line-height: 1;
    vertical-align: middle;
}

.Video-pillBtn:hover {
    background-color: rgba(0,0,0,0.1);
}

.Video-pillBtn:active {
    background-color: rgba(0,0,0,0.15);
}

.Video-pillBtn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.Video-pillBtn--saved {
    color: #065fd4;
}

/* Rating pill (thumbs up/down) */
.Video-ratePill {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0,0,0,0.05);
    border-radius: 18px;
    overflow: hidden;
    line-height: 1;
}

.Video-ratePill .thumb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #0f0f0f;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0;
    transform: none;
}

.Video-ratePill .thumb-btn:hover {
    background-color: rgba(0,0,0,0.1);
    color: #0f0f0f;
    transform: none;
}

.Video-ratePill .thumb-btn.active {
    color: #0f0f0f;
}

.Video-ratePill .thumb-btn .glyphicon {
    font-size: 18px;
    position: relative;
    top: 1px;
}

.Video-ratePill .thumb-btn.active .glyphicon-thumbs-up {
    color: #065fd4;
}

.Video-ratePill .thumb-btn.active .glyphicon-thumbs-down {
    color: #065fd4;
}

.Video-ratePill .rate-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(0,0,0,0.1);
}
