/**
 * File: /css/esports-followers.css
 * Description: Styling for the Competition Follow UI.
 */

.gwl-follow-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.gwl-follow-btn {
    background: transparent;
    color: #007bff; /* Tactical Blue */
    border: 1px solid #007bff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gwl-follow-btn:hover {
    background: rgba(0, 123, 255, 0.1);
}

/* Active State (When Following) */
.gwl-follow-btn.gwl-is-following {
    background: #007bff;
    color: #fff;
    border-color: #0056b3;
}

.gwl-follow-btn.gwl-is-following:hover {
    background: #ff4444; /* Turns red on hover to indicate they can click to unfollow */
    border-color: #cc0000;
}

/* Change text to "Unfollow" when hovering over an active button */
.gwl-follow-btn.gwl-is-following:hover .gwl-follow-text {
    content: "Unfollow"; /* Fallback for browsers that don't support pseudo replacement */
    display: none;
}
.gwl-follow-btn.gwl-is-following:hover::after {
    content: "Unfollow";
}
.gwl-follow-btn.gwl-is-following:hover .gwl-follow-icon {
    display: none;
}

.gwl-follower-count {
    color: #888;
    font-size: 12px;
    font-weight: bold;
}