/* Left menu bar for Love Poems list - no extra space at top or left */
.leftmenu-aside {
    padding-top: 0 !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
}
#leftmenu-container {
    margin: 0 !important;
    padding: 0 !important;
}
.leftmenu-poems {
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 0.25rem;
    margin: 0;
}
.leftmenu-poems .card-header {
    background: linear-gradient(135deg, rgba(255, 122, 140, 0.2), rgba(255, 105, 180, 0.2)) !important;
    color: #b30047;
    padding: 0.5rem 1rem;
}
[data-bs-theme="dark"] .leftmenu-poems .card-header {
    background: rgba(60, 30, 30, 0.9) !important;
    color: #ff6699;
}
.leftmenu-poems .list-group-item {
    border-color: rgba(255, 182, 193, 0.3);
    color: #5a2a2a;
    transition: all 0.2s ease;
}
.leftmenu-poems .list-group-item:hover {
    background: rgba(255, 182, 193, 0.25);
    border-left: 3px solid #ff4d6d;
}
.leftmenu-poems .list-group-item.active {
    background: linear-gradient(90deg, rgba(255, 77, 109, 0.25), transparent);
    border-left: 4px solid #ff4d6d;
    color: #b30047;
    font-weight: 600;
}
[data-bs-theme="dark"] .leftmenu-poems .list-group-item {
    border-color: rgba(139, 0, 0, 0.2);
    color: #e0c9c9;
}
[data-bs-theme="dark"] .leftmenu-poems .list-group-item:hover {
    background: rgba(255, 105, 180, 0.15);
}
[data-bs-theme="dark"] .leftmenu-poems .list-group-item.active {
    background: rgba(255, 105, 180, 0.2);
    border-left-color: #ff99bb;
    color: #ff99bb;
}

/* Breadcrumb, prev/next, and related poem links */
.poem-nav-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 182, 193, 0.45);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.poem-nav-panel-prevnext {
    margin-bottom: 0;
}
.poem-nav-panel-bottom {
    margin-bottom: 0;
}
#poem-nav-bottom-container {
    margin-top: 0.5rem;
}
[data-bs-theme="dark"] .poem-nav-panel {
    background: rgba(40, 20, 20, 0.9);
    border-color: rgba(139, 0, 0, 0.35);
}
.poem-breadcrumb {
    --bs-breadcrumb-divider: "›";
    font-size: 0.95rem;
}
.poem-breadcrumb a {
    color: #b30047;
    text-decoration: none;
}
.poem-breadcrumb a:hover {
    color: #ff4d6d;
    text-decoration: underline;
}
.poem-breadcrumb .breadcrumb-item.active {
    color: #5a2a2a;
}
[data-bs-theme="dark"] .poem-breadcrumb a {
    color: #ff99bb;
}
[data-bs-theme="dark"] .poem-breadcrumb .breadcrumb-item.active {
    color: #e0c9c9;
}
.poem-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 182, 193, 0.5);
    background: rgba(255, 245, 248, 0.9);
    color: #5a2a2a;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
}
.poem-nav-link:hover {
    border-color: #ff4d6d;
    background: rgba(255, 182, 193, 0.25);
    color: #b30047;
    transform: translateY(-1px);
}
.poem-nav-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9a4a4a;
    margin-bottom: 0.2rem;
}
.poem-nav-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}
[data-bs-theme="dark"] .poem-nav-link {
    background: rgba(60, 30, 30, 0.8);
    border-color: rgba(139, 0, 0, 0.35);
    color: #e0c9c9;
}
[data-bs-theme="dark"] .poem-nav-link:hover {
    background: rgba(255, 105, 180, 0.15);
    color: #ff99bb;
}
.poem-related-heading {
    color: #b30047;
    letter-spacing: 0.06em;
    font-weight: 700;
}
[data-bs-theme="dark"] .poem-related-heading {
    color: #ff99bb;
}
.poem-related-link {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 182, 193, 0.4);
    background: rgba(255, 255, 255, 0.7);
    color: #5a2a2a;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.poem-related-link:hover {
    border-color: #ff4d6d;
    background: rgba(255, 182, 193, 0.2);
    color: #b30047;
}
[data-bs-theme="dark"] .poem-related-link {
    background: rgba(50, 25, 25, 0.8);
    border-color: rgba(139, 0, 0, 0.3);
    color: #e0c9c9;
}
[data-bs-theme="dark"] .poem-related-link:hover {
    color: #ff99bb;
}
