/* /Components/Tooltip/PobTooltip.razor.rz.scp.css */
/* Replicates Path of Building's Tooltip.lua node-tooltip layout:
   - Semi-transparent black body (rgba(0,0,0,.85)) with a thin gold/brown border.
   - A three-part header sprite (left cap / tiled middle / right cap) with a centered title.
   - Left-aligned body text lines below the header.
*/

.pob-tooltip[b-u3srfho0i3] {
    position: fixed;
    z-index: 2000;
    pointer-events: none;
    min-width: 220px;
    max-width: 840px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #804c00;
    font-family: "Fontin", sans-serif;
    box-sizing: border-box;
}

.pob-tooltip-header[b-u3srfho0i3] {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
}

.pob-tooltip-header-cap[b-u3srfho0i3] {
    flex: 0 0 auto;
    display: block;
}

.pob-tooltip-header-middle[b-u3srfho0i3] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-repeat: repeat-x;
    background-position: left center;
    background-size: auto 100%;
}

.pob-tooltip-header-title[b-u3srfho0i3] {
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
}

.pob-tooltip-body[b-u3srfho0i3] {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pob-tooltip-line[b-u3srfho0i3] {
    font-size: 17px;
    line-height: 1.3;
    text-align: left;
    white-space: pre-wrap;
}

.pob-tooltip-line-italic[b-u3srfho0i3] {
    font-style: italic;
}

.pob-tooltip-separator[b-u3srfho0i3] {
    width: 100%;
    height: 10px;
    margin: 1px 0;
    display: block;
}
