/* /Components/Pages/Admin/VisitorStats.razor.rz.scp.css */
/* Single-series bar charts in the site's green; drawn with CSS only (no chart library). */
.vs-chart[b-lnvrygthu4] {
    position: relative;
    padding-left: 2.5rem;
}

.vs-chart-max[b-lnvrygthu4] {
    position: absolute;
    left: 0;
    top: -0.5rem;
}

.vs-bars[b-lnvrygthu4] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 180px;
    border-bottom: 1px solid var(--bs-border-color);
    /* Recessive gridline at the top (= the max value shown to the left). */
    background: linear-gradient(var(--bs-border-color-translucent), var(--bs-border-color-translucent)) top / 100% 1px no-repeat;
}

.vs-bar-slot[b-lnvrygthu4] {
    position: relative;
    flex: 1 1 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    outline: none;
}

.vs-bar[b-lnvrygthu4] {
    width: 100%;
    min-height: 0;
    background: var(--site-green, #315d4d);
    border-radius: 4px 4px 0 0;
}

.vs-bar-slot:hover .vs-bar[b-lnvrygthu4],
.vs-bar-slot:focus-visible .vs-bar[b-lnvrygthu4] {
    background: var(--color-accent, #309975);
}

.vs-tip[b-lnvrygthu4] {
    display: none;
    position: absolute;
    bottom: calc(100% + 0.25rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--bs-dark);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
}

.vs-bar-slot:hover .vs-tip[b-lnvrygthu4],
.vs-bar-slot:focus-visible .vs-tip[b-lnvrygthu4] {
    display: block;
}

.vs-axis[b-lnvrygthu4] {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.vs-hbar[b-lnvrygthu4] {
    height: 0.6rem;
    min-width: 2px;
    background: var(--site-green, #315d4d);
    border-radius: 0 4px 4px 0;
}

.vs-spark[b-lnvrygthu4] {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    width: 100%;
    min-width: 6rem;
    height: 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.vs-spark-bar[b-lnvrygthu4] {
    flex: 1 1 0;
    background: var(--site-green, #315d4d);
    border-radius: 2px 2px 0 0;
}
