@use "../../../../styles/int.scss";

.legendContainer{
    display: flex;
    width: 55%;
    margin: 0 auto int.$spacing-5;
    justify-content: space-between;
}

.legendItem{
    @include int.sans($size: "100", $role: "component");
    gap: int.$spacing-2;
    display: flex;
    align-items: center;
}

.legendKey{
    width: int.$spacing-3;
    height: int.$spacing-3;
    @include int.shadow();
    &.justClosed{
        background: int.$gop-alt04-20;
        border: 1px solid int.$gop-alt04-40;
    }
    &.closed{
        background: int.$gop-alt04-10;
        border: 1px solid int.$gop-alt04-40;
    }
    &.partiallyClosed{
        background: white;
        border: 1px dashed int.$warmgray-90;
    }
    &.closingSoon{
        border: 1px dashed int.$warmgray-100;
    }
}

.gradientContainer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: int.$spacing-2;
    margin: 0 auto int.$spacing-4 auto;
    max-width: 675px;
}

.gradient {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 2px;
}

.stop {
    height: 16px;
    border: 1px solid int.$gop-alt04-40;
}
