/* css/favorite.css */

/*
 * Styles for the "Toggle Favorite" button and the "Favorites Shown" notice.
 */

/* The favorite star button itself.
   Default state is a light grey, indicating it's not a favorite. */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc; /* Default non-favorite color */
    font-size: 28px; /* A good, clickable size */
    padding: 0;
    line-height: 1; /* Ensures the icon is vertically centered */
    transition: color 0.3s ease, transform 0.2s ease;
}

/* When the link IS a favorite, the star turns yellow.
   This class is typically added via JavaScript. */
.favorite-btn.favorited {
    color: #ffc107; /* Bright yellow for favorited state */
}

/* A subtle hover effect to provide user feedback. */
.favorite-btn:hover {
    transform: scale(1.15);
}


/* The notice box that appears at the top when viewing only favorite links. */
.favorites-notice {
    background-color: #fff3cd; /* A soft yellow background */
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

/* Styling for the "Show all links" link inside the notice. */
.favorites-notice a {
    color: #856404;
    font-weight: 600; /* Make it bolder */
    text-decoration: underline;
}

.favorites-notice a:hover {
    text-decoration: none;
} 