/*-- assets/css/bookmarks.css --*/
.bookmark-button{
    position:relative;
    cursor:pointer;
    transition:all .3s ease;
}
.bookmark-button.loading{
    opacity:.6;
    pointer-events:none;
}
.bookmark-button .bookmark-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:12.5rem;
}
.bookmark-button.bookmarked .bookmark-link{
    width:8.75rem;
    background-color:var(--gray);
    color:var(--primary-color);
}
.bookmark-icon{
    width:1.125rem;
    line-height:1;
    transition:all .3s ease;
}
.bookmark-icon svg{
    fill:var(--white);
}
.bookmark-icon.bookmarked{
    animation:bookmarkAdded 0.5s ease;
}
.bookmark-icon.bookmarked svg{
    fill:var(--orange-sub);
}
.bookmark-button:hover .bookmark-icon{
    transform:scale(1.1);
}
.bookmark-message{
    font-weight:var(--font-w-medium);
    border-radius:.313rem;
    box-shadow:0 .125rem .625rem rgba(0,0,0,.1);
    animation:slideInRight 0.3s ease;
}
.bookmarked-item{
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:.625rem;
    left:.625rem;
    width:1.875rem;
    height:1.875rem;
    background:rgba(255,255,255,.9);
    box-shadow:0 .125rem .313rem rgba(0,0,0,.1);
    border-radius:50%;
    transition:all 0.3s ease;
    z-index:2;
}
.bookmarked-item .bookmark-icon.bookmarked svg{
    fill:var(--orange-sub);
    animation:bookmarkPulse 2s infinite;
}
.bookmarked-item .bookmark-icon.not-bookmarked{
    fill:var(--gray);
    opacity:.6;
}
.bookmarked-item:hover{
    transform:scale(1.1);
    background:rgba(255,255,255,1);
}
.bookmarked-item.small {
    width:1.5rem;
    height:1.5rem;
    top:.313rem;
    left:.313rem;
}
.bookmarked-item.small .bookmark-icon{
    width:.938rem;
}
.bookmarked-item.large{
    width:2.5rem;
    height:2.5rem;
    top:.938rem;
    right:.938rem;
}
.bookmarked-item.large .bookmark-icon{
    width:1.25rem;
}
.bookmarked-item.dark-bg{
    background:rgba(0,0,0,.7);
    color:var(--white);
}
.bookmarked-item.transparent{
    background:transparent;
    box-shadow:none;
}
.bookmarked-item.top-right{
    top:.625rem;
    right:.625rem;
    left:auto;
}
.bookmarked-item.bottom-right{
    top:auto;
    bottom:.625rem;
    right:.625rem;
}
.bookmarked-item.bottom-left{
    top:auto;
    right:auto;
    bottom:.625rem;
    left:.625rem;
}
/*-- animation frameworks --*/
@keyframes bookmarkAdded{
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
@keyframes slideInRight{
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes bookmarkPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.05);
    }
}