/* Biografiku Citation Engine — Frontend CSS */

/* In-text citation */
.bce-cite a.bce-cite-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed #2271b1;
    cursor: pointer;
    font-size: 0.95em;
}

.bce-cite a.bce-cite-link:hover {
    color: #2271b1;
    border-bottom-style: solid;
}

.bce-cite-missing {
    color: #c0392b;
    font-weight: bold;
    cursor: help;
}

/* Tooltip CSS-native */
.bce-cite[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: #1d2327;
    color: #fff;
    font-size: 0.78em;
    padding: 6px 10px;
    border-radius: 5px;
    max-width: 350px;
    z-index: 9999;
    margin-top: 22px;
    margin-left: -60px;
    line-height: 1.5;
    white-space: normal;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}

.bce-cite {
    position: relative;
}

/* Daftar Pustaka */
.bce-bibliography {
    margin: 2.5em 0 1.5em;
    padding: 1.5em 1.8em;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #2271b1;
    border-radius: 6px;
}

.bce-bibliography-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #dee2e6;
}

.bce-bibliography ol,
.bce-bibliography ul {
    margin: 0;
    padding-left: 1.5em;
}

.bce-ref-item {
    padding: 0.4em 0;
    line-height: 1.7;
    font-size: 0.93em;
    color: #2c2c2c;
}

.bce-ref-item em {
    font-style: italic;
}

.bce-ref-item a {
    color: #2271b1;
    word-break: break-all;
}

.bce-ref-item:target {
    background: #fff3cd;
    border-radius: 3px;
    padding-left: 5px;
}