/**
 * Bookmarks / Reading List
 */

.yousfiat-reading-list-page {
    padding: 3rem 0 4rem;
}

.yousfiat-rl-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.08));
}

.yousfiat-rl-title {
    font-family: 'Lora', 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    margin: 0 0 0.5rem;
    font-weight: 500;
}

.yousfiat-rl-subtitle {
    color: var(--color-muted, #888);
    font-size: 1rem;
    margin: 0 0 0.75rem;
    line-height: 1.7;
}

.yousfiat-rl-count {
    font-size: 0.875rem;
    color: var(--color-primary, #6B74B0);
    margin: 0;
    font-weight: 500;
}

.yousfiat-rl-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--color-muted, #888);
}

.yousfiat-rl-empty svg {
    margin-bottom: 1rem;
    opacity: 0.4;
}

.yousfiat-rl-empty p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.yousfiat-rl-empty-hint {
    font-size: 0.9rem !important;
    line-height: 1.7;
    max-width: 400px;
    margin: 0.5rem auto 2rem !important;
}

.yousfiat-rl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

.yousfiat-rl-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-border, rgba(0,0,0,0.08));
    border-radius: 12px;
    transition: all 0.2s ease;
    background: var(--color-background, transparent);
}

.yousfiat-rl-item:hover {
    border-color: var(--color-primary-light, #949fcf);
}

.yousfiat-rl-thumb {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-primary-light, #949fcf);
}

.yousfiat-rl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yousfiat-rl-thumb--empty {
    background: linear-gradient(135deg, var(--color-primary-light, #949fcf), var(--color-primary, #6B74B0));
    opacity: 0.5;
}

.yousfiat-rl-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yousfiat-rl-item-title {
    font-family: 'Lora', 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
    line-height: 1.5;
    font-weight: 500;
}

.yousfiat-rl-item-title a {
    color: inherit;
    text-decoration: none;
}

.yousfiat-rl-item-title a:hover {
    color: var(--color-primary, #6B74B0);
}

.yousfiat-rl-item-meta {
    font-size: 0.8rem;
    color: var(--color-muted, #888);
    margin: 0;
}

.yousfiat-rl-remove {
    background: transparent;
    border: 0;
    color: var(--color-muted, #888);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.yousfiat-rl-remove:hover {
    background: rgba(217, 91, 91, 0.1);
    color: #d95b5b;
}

.yousfiat-rl-actions {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border, rgba(0,0,0,0.08));
}

.yousfiat-rl-clear {
    background: transparent;
    border: 1px solid var(--color-border, rgba(0,0,0,0.15));
    color: var(--color-muted, #888);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.yousfiat-rl-clear:hover {
    background: rgba(217, 91, 91, 0.08);
    color: #d95b5b;
    border-color: #d95b5b;
}

/* Mobile */
@media (max-width: 640px) {
    .yousfiat-rl-title {
        font-size: 1.75rem;
    }

    .yousfiat-rl-thumb {
        width: 70px;
        height: 70px;
    }

    .yousfiat-rl-item {
        padding: 0.75rem;
    }

    .yousfiat-rl-item-title {
        font-size: 1rem;
    }
}
