/* Komga Custom CSS - Clean Version */

/* ================================================== */
/* Hide Recommended tab universally */
/* ================================================== */
a.v-btn[href*="/recommended"] {
    display: none !important;
}

/* ================================================== */
/* Hide Series tab ONLY on library pages */
/* Only matches: /libraries/{id}/series */
/* ================================================== */
a.v-btn[href*="/libraries/"][href$="/series"] {
    display: none !important;
}

/* ================================================== */
/* Hide Books tab ONLY on library pages */
/* Only matches: /libraries/{id}/books */
/* ================================================== */
a.v-btn[href*="/libraries/"][href$="/books"] {
    display: none !important;
}

/* ================================================== */
/* Rename "Read Lists" to "Events" */
/* Only on library navigation tabs */
/* ================================================== */
a.v-btn[href*="/libraries/"][href$="/readlists"] {
    position: relative !important;
}

a.v-btn[href*="/libraries/"][href$="/readlists"] .v-btn__content {
    visibility: hidden !important;
}

a.v-btn[href*="/libraries/"][href$="/readlists"]::after {
    content: "Events";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    visibility: visible !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
}

/* ================================================== */
/* Rename "Collections" to "Series Groups" */
/* Only on library navigation tabs */
/* ================================================== */
a.v-btn[href*="/libraries/"][href$="/collections"] {
    position: relative !important;
}

a.v-btn[href*="/libraries/"][href$="/collections"] .v-btn__content {
    visibility: hidden !important;
}

a.v-btn[href*="/libraries/"][href$="/collections"]::after {
    content: "Series Groups";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    visibility: visible !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
}