/* The note on translated pages: an icon at the top of the page that opens the note, and the same
   note in the footer. */
.l10n-note {
    position: relative;
    display: inline-flex;
    margin-left: 0.25rem;
}

.l10n-note-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    color: var(--color-foreground-secondary);
}

.l10n-note-icon::-webkit-details-marker {
    display: none;
}

.l10n-note-icon:hover,
.l10n-note[open] .l10n-note-icon {
    color: var(--color-foreground-primary);
}

.l10n-note-glyph {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    padding: 0.15rem 0.2rem;
    border: 1px solid currentColor;
    border-radius: 0.2rem;
}

.l10n-note-popover {
    position: absolute;
    top: 1.75rem;
    right: 0;
    z-index: 20;
    width: 18rem;
    padding: 0.6rem 0.75rem;
    font-size: var(--font-size--small);
    line-height: 1.5;
    color: var(--color-foreground-primary);
    background: var(--color-background-primary);
    border: 1px solid var(--color-background-border);
    border-radius: 0.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
}

.l10n-note-footer {
    margin-bottom: 0.5rem;
}
