:root {
    --main-bg-color: #a6a6a6;
    --main-blue-color: dodgerblue;
    --control-border-width: 1px;
    --control-disabled-background-color: #dedede;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    font-size: 0.9rem;
    /* letter-spacing: -0.02em; */
}

.editor-area {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

/* Elements ===================== */
.elements {
    flex-grow: 0;
    padding: 20px 10px 0px 10px;
    background-color: #f0f0f0;
    width: 160px;
    max-width: 160px;
}

#paperAvailableElements {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#paperAvailableElements li {
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: 1px solid #FFF;
}

/* Elements list typography (force) */
#elementsList,
#paperAvailableElements {
    font-size: 0.8rem;
    /* letter-spacing: -0.02em; */
    line-height: 1.25;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

#paperAvailableElements li,
#paperAvailableElements li > *,
#paperAvailableElements button,
#paperAvailableElements .smart-button,
#paperAvailableElements .custombutton {
    font-size: inherit !important;
    line-height: inherit;
}

#elementsList .custombutton,
#dialog-properties .custombutton {
    font-size: 0.8rem;
}

/* Dialog properties ===================== */
.dialog-section {
    padding: 0px;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.dialog-section #dialog {
    border: 1px solid #7f7f7f;
    background-color: var(--main-bg-color);
    height: calc(100vh - 175px - var(--editor-toolbar-height, 0px));
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 6px;
    box-sizing: border-box;
}

.dialog-section #dialog > div {
    flex: 0 0 auto;
    margin: auto;
}

/* Force Inter for all elements placed on the canvas */
#dialog,
#dialog * {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Noto Sans', 'Liberation Sans', sans-serif !important;
}

#dialog .codicon[class*='codicon-'],
#dialog .codicon[class*='codicon-']::before {
    font-family: 'codicon' !important;
}

.dialog-section #dialogProperties {
    padding: 0px 0px 5px 0px;
    background-color: #f0f0f0;
    display: flex;
    flex: 0 0 auto;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
}

#dialogProperties .dialog-property {
    margin: 3px 0px;
    align-items: stretch;
    text-align: left;
}

/* Dialog element properties ===================== */
#properties {
    padding: 0px 10px 8px 10px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 240px;
    width: 240px;
    max-width: 250px;
}

#propertiesList {
    padding: 0 5px;
}

#propertiesList h2 {
    font-size: 0.9rem;
    border-bottom: 2px solid #FFF;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    color: #323232;
}

#propertiesList .element-property {
    display: grid;
    gap: 10px;

    /* Because of the above gap of 10px, this ajusts the columns with 5px each side */
    /* grid-template-columns: calc(47% - 5px) calc(53% - 5px); */

    /*
        while this simply sets the column (proportional) width
        (after subtracting the gap), from the "fr"ee space
        11/20 = 55% and 9/20 = 45%
    */
    grid-template-columns: 9fr 11fr;

    margin-bottom: 0.5rem;
    align-items: center;
}

#propertiesList .element-property label {
    color: #323232;
    font-size: 0.8rem;
}

#propertiesList .element-property input,
#propertiesList .element-property select {
    border-radius: 0px;
    border: 1px solid #e6e5e5;
    padding: 3px 3px;
    color: #323232;
    font-size: 0.8rem;
    width: 100%;
    min-width: 0;      /* allow shrinking inside the grid track */
    box-sizing: border-box;
}

#propertiesList .element-property label {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#propertiesList .element-property input:focus-visible,
#propertiesList .element-property select:focus-visible {
    outline: var(--main-blue-color) auto 1px;
    outline-style: solid;
}

#propertiesList .element-property input {
    padding: 3px 5px;
}

#properties .hidden-element {
    display: none;
}

/* =====================*/
.selectedElement {
    outline: 1px dotted var(--main-blue-color);
    outline-offset: 3px;
}


/* ========= Dialog's properties ========= */
#dialog-properties_title {
    color: #323232;
    font-size: 1rem;
    text-align: left;
    margin: 1rem 0 0.5rem 0;
}

#dialog-properties {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem 1.5rem;
    border-top: 1px solid rgb(213, 213, 213);
    padding-top: 0.5rem;
}

#dialog-properties .dialog-properties-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 0.5rem 3rem;
}

#dialog-properties .dialog-properties_property {
    display: grid;
    grid-template-columns: 7fr 13fr;
    align-items: center;
    margin: 0;
    gap: 0.4rem;
}

#dialog-properties .dialog-properties_property label {
    color: #323232;
    font-size: 0.8rem;
    text-align: left;
}

#dialog-properties .dialog-properties_property input {
    border-radius: 0px;
    border: 1px solid #e6e5e5;
    padding: 3px 3px;
    color: #323232;
    font-size: 0.8rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#dialog-properties .dialog-properties_property input:focus-visible,
#dialog-properties .dialog-properties_property select:focus-visible {
    outline: var(--main-blue-color) auto 1px;
    outline-style: solid;
}

#dialog-properties .dialog-properties_property input {
    padding: 3px 5px;
}

#dialog-properties .dialogButtons {
    align-self: start;
}

@media (max-width: 980px) {
    #dialog-properties {
        grid-template-columns: 1fr;
    }

    #dialog-properties .dialog-properties-fields {
        grid-template-columns: 1fr;
    }

}

/* Toolbar above dialog */
.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background-color: #f0f0f0;
    border: 1px solid #dcdcdc;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #d0d0d0;
    margin: 0;
}

.editor-toolbar .toolbar-separator {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #d0d0d0;
    margin: 0 4px;
}

.iconbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    padding: 0;
    background: #f5f5f5;
    color: #444;
    border-top: 2px solid #eaeaea;
    border-left: 2px solid #eaeaea;
    border-bottom: 2px solid #bbb;
    border-right: 2px solid #bbb;
    cursor: pointer;
}
.iconbutton:active {
    border-left: 2px solid #bbb;
    border-top: 2px solid #bbb;
    border-right: 2px solid #d6d6d6;
    border-bottom: 2px solid #d6d6d6;
}
.iconbutton:hover {
    background: #efefef;
}
.iconbutton:disabled {
    opacity: 0.5;
    cursor: default;
    filter: grayscale(100%);
}
.iconbutton:disabled:hover {
    background: #f5f5f5;
}
.iconbutton svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.iconbutton img {
    width: 18px;
    height: 18px;
    pointer-events: none;
}


/* Custom elements (ex. checkbox, radio buttons etc.) */

/* Custom element wrapper div */
.element-div {
    position: absolute; /* Allows it to be draggable */
    cursor: grab; /* Indicate draggable element */
}

.element-div.dragging {
    cursor: grabbing; /* Cursor during drag */
}

.disabled-div {
    opacity: 0.6;
    filter: grayscale(100%) brightness(0.92);
}

.disabled-div[data-type="Container"],
.disabled-div[data-type="Choice"] {
    opacity: 1;
    filter: none;
}

.disabled-div[data-type="Container"] .container {
    background-color: var(--container-disabled-bg, #d8d8d8);
}

.disabled-div[data-type="Container"] .container .container-item .container-text {
    color: #666;
}

.disabled-div[data-type="Container"] .container .container-item.active {
    background-color: var(--container-disabled-active-bg, #9ab39a) !important;
    box-shadow: none;
}

.disabled-div[data-type="Container"] .container .container-item.active .container-text {
    color: var(--container-active-fg, #f2f2f2);
}

.disabled-div[data-type="Choice"] .sorter .sorter-item.is-asc,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-desc,
.disabled-div[data-type="Choice"] .sorter .sorter-item.no-order {
    box-shadow: inset 0 0 0 9999px rgba(216, 216, 216, 0.38);
}

.disabled-div[data-type="Choice"] .sorter .sorter-item.is-asc,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-desc,
.disabled-div[data-type="Choice"] .sorter .sorter-item.no-order,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-asc .sorter-label,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-desc .sorter-label,
.disabled-div[data-type="Choice"] .sorter .sorter-item.no-order .sorter-label,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-asc .sorter-indicator,
.disabled-div[data-type="Choice"] .sorter .sorter-item.is-desc .sorter-indicator,
.disabled-div[data-type="Choice"] .sorter .sorter-item.no-order .sorter-indicator {
    color: var(--sorter-active-fg, #f2f2f2);
}

.design-hidden {
    opacity: 0.1;
    pointer-events: auto; /* still clickable */
}


/* Element: checkbox */
.custom-checkbox,
.counter-arrow-glyph {
    --control-border-width: 1px;
}

.custom-checkbox {
    --checkbox-border-color: #8c8c8c;
    --checkbox-disabled-background-color: #dedede;
    display: inline-block;
    width: 100%; /* Matches the wrapper div size */
    height: 100%;
    position: relative;
    background-color: #fff;
    border: var(--control-border-width) solid var(--checkbox-border-color);
    border-radius: 0.1em;
    box-sizing: border-box;
    overflow: visible;
}

/* Style the checked state for custom checkbox */
.custom-checkbox[aria-checked="true"] {
    background-color: var(--checkbox-color, #70a470);
    border-color: var(--checkbox-border-color);
}
/* If fill disabled, keep background white even when checked */
.custom-checkbox[data-fill="false"][aria-checked="true"] {
    background-color: #fff;
}

.custom-checkbox[aria-disabled="true"] {
    background-color: var(--checkbox-disabled-background-color) !important;
}

/* SVG styling */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    display: none;
    pointer-events: none;
}

.custom-checkbox[aria-checked="true"] .checkmark {
    display: block;
}

.tick-mark {
    display: none;
}

.custom-checkbox[aria-checked="true"] .tick-mark {
    display: block;
}


/* Element: radio button */
.custom-radio {
    --radio-color: #5b855b; /* Default color */
    --radio-disabled-background-color: #dedede;
    background-color: #fff;
    border: var(--control-border-width) solid #777777;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* Inner dot for custom radio button (selected state) */
.custom-radio::after {
    content: '';
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    /* Color of the selected dot */
    background-color: var(--radio-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Checked state
.custom-radio[aria-checked="true"] {
    border-color: var(--radio-color);
}
*/
.custom-radio[aria-checked="true"]::after {
    display: block;
}

.custom-radio[aria-disabled="true"] {
    background-color: var(--radio-disabled-background-color);
}


/* Other elements */

.separator {
    display: block;
    width: 100%;
    height: 1px;
}

input[type="text"] {
    box-sizing: border-box;
}
/* Normalize Input controls inside the canvas to match Preview */
#dialog textarea {
    --input-disabled-background-color: #dedede;
    box-sizing: border-box;
    padding: 3px 5px;
    line-height: 1.2;
    border: var(--control-border-width) solid #777777;
    background-color: #ffffff;
    color: #000;
    border-radius: 4px;      /* rounded corners same as Preview */
    resize: none;
}

/* Disabled native controls on the canvas should look subtly greyed */
#dialog input:disabled,
#dialog select:disabled,
#dialog textarea:disabled {
    background-color: var(--input-disabled-background-color, #dedede);
    border: var(--control-border-width) solid #686868;
    color: #444;
    -webkit-text-fill-color: #444; /* Safari/WebKit */
    box-shadow: none;
}

input {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#dialog textarea {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: pre-wrap;
}

.input-as-text {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
    font: inherit;
    padding: 0;
    margin: 0;
    width: auto;
    pointer-events: none;
    appearance: none;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    box-sizing: border-box;
    border: var(--control-border-width) solid #777777;

    background-image: url(../assets/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: right 3px center;
    background-size: 10px;

    padding: 3px 5px;

    /* height: 22px; */
    /* padding: 0px 0px 0px 6px !important; */
}


/* Common handle styles */
.slider-handle {
    position: absolute;
    cursor: pointer;
}

/* --- Triangle Shape --- */

/* Horizontal triangle (points up, under the track) */
.slider-handle[data-handleshape="triangle"][data-direction="horizontal"] {
    transform: translateX(-50%);
}

/* Vertical triangle (points left, to the left of the track) */
.slider-handle[data-handleshape="triangle"][data-direction="vertical"] {
    transform: translateY(-50%);
}

/* --- Circle Shape --- */

/* Horizontal circle: centered on track */
.slider-handle[data-handleshape="circle"] {
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* --- Counter element --- */
.counter-wrapper {
    display: flex;
    align-items: stretch;
    font-family: sans-serif;
    user-select: none;
}

.counter-arrow {
    cursor: pointer;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
}

.counter-arrow.down {
    align-self: flex-start;
}

.counter-arrow.up {
    align-self: flex-end;
    margin-left: 1px;
}

.counter-arrow-glyph {
    display: block;
    width: 100%;
    height: 100%;
    --counter-arrow-border-color: #8c8c8c;
    --counter-arrow-fill-color: #558855;
    --counter-arrow-disabled-fill-color: var(--control-disabled-background-color);
}

.counter-arrow-shape {
    fill: var(--counter-arrow-fill-color);
    stroke: var(--counter-arrow-border-color);
    stroke-width: var(--control-border-width);
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.counter-value {
    text-align: center;
    font-size: 14px;
    padding: 0px 4px;
    border: none;
    line-height: 1;
}



.smart-button {
    /* Tighter horizontal padding to reduce overly large left/right margins around the label */
    padding: 3px 4px;
    border: var(--control-border-width) solid black;
    border-radius: 2px;
    background-color: #efefef;
    color: #000;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-button-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 1em;
}

.smart-button-icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.smart-label-icon {
    display: none;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 1em;
}

.smart-label-icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.smart-button-text {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    -webkit-user-select: none;
    user-select: none;
    /* Avoid extra default margins */
    margin: 0;
}

/* Prevent selecting the button wrapper text on double click */
.smart-button {
    -webkit-user-select: none;
    user-select: none;
}

/* Subtle pressed feedback in preview/editor */
.smart-button.btn-active {
    filter: brightness(0.95);
    transform: translateY(1px);
}


.editor-cover {
    top: 0;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1040;
}

/* Cover over checkbox (and general elements) to prevent
   their click event when dragging in the editor */
.elementcover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.context-menu {
    position: absolute;
    min-width: 160px;
    padding: 4px 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.context-menu[aria-hidden="false"] {
    display: block;
}

.context-menu__item {
    width: 100%;
    padding: 6px 12px;
    border: 0;
    background: #ffffff; /* unhovered state is white */
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.context-menu__item:hover {
    background-color: #ececec; /* hover highlight */
}

/* Do not show outline on programmatic/mouse focus */
.context-menu__item:focus { outline: none; }

/* Selection rectangle for multi-select */
.lasso-rect {
    position: absolute;
    border: 1px dashed var(--main-blue-color);
    background: rgba(30, 144, 255, 0.15);
    pointer-events: none;
    z-index: 1000;
}

/* Group element wrapper (multi-select group) */
.element-group {
    position: absolute;
}

/* Single element wrapper */
.element-wrapper {
    position: absolute;
    cursor: grab;
}

.element-wrapper[data-type="Label"] {
    display: flex;
    align-items: center;
}

/* Ephemeral multi-selection outline */
.multi-outline {
    position: absolute;
    border: 1px dotted var(--main-blue-color);
    pointer-events: none;
    z-index: 999;
}


.container {
    border: var(--control-border-width) solid #777777;
    border-radius: 2px;
    box-sizing: border-box;
}

/* Container sample content */
.container-sample {
    padding: 0px; /* rows should stretch edge-to-edge */
}

.container-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* left-align content */
    min-height: 24px; /* row height */
    /* line-height: 1.2; */
    border-radius: 0;
    margin-bottom: 1px; /* bigger space between rows */
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.container-item .container-text {
    font-size: inherit;
    /* font-weight: 700; */
    color: #000;
    text-align: left;
    display: block;
    width: 100%;
    padding-left: 4px;
    min-width: 0;            /* allow shrinking within row width */
    overflow: hidden;        /* hide overflow beyond container width */
    white-space: nowrap;     /* single line */
    text-overflow: ellipsis; /* add ellipsis when text is longer */
}

.container-sample .container-item {
    padding: 4px;
}

.container-sample .container-item .container-text {
    padding-left: 0;
}

.container-sample .container-item-disabled {
    background-color: #d8d8d8;
    color: #444;
    cursor: not-allowed;
}

.container-sample .container-item-disabled .container-text {
    color: inherit;
}

/* Sorter element */
.sorter {
    border: var(--control-border-width) solid #777777;
    border-radius: 2px;
    box-sizing: border-box;
    background: var(--sorter-bg, #ffffff);
    color: var(--sorter-fg, #000000);
    overflow: hidden;
    position: relative;
}

.sorter-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.sorter[data-orientation="horizontal"] .sorter-list {
    flex-direction: row;
    align-items: stretch;
    height: 100%;
}

.sorter-item {
    --ml: 0px;     /* label margin-left  */
    --mr: 0px;     /* label margin-right */
    --ind: 0px;    /* reserved indicator width */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border-radius: 0;
    margin-bottom: 1px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    background: var(--sorter-row-bg, transparent);
    color: inherit;
    user-select: none;
    text-align: left;
}

.sorter[data-orientation="horizontal"] .sorter-item {
    flex: 1 1 0;
    width: auto;
    height: 100%;
    margin-bottom: 0;
    margin-right: 1px;
}

.sorter[data-orientation="horizontal"] .sorter-item:last-child {
    margin-right: 0;
}

.sorter-item[data-align="left"]{
    justify-content: flex-start;
    --ml: 4px;
    --mr: 0px;
}

.sorter-item[data-align="center"]{
    justify-content: center;
    --ml: 0px;
    --mr: 0px;
}

.sorter-item[data-align="right"]{
    justify-content: flex-end;
    --ml: 0px;
    --mr: 4px;
}

.sorter-item .sorter-label {
    margin-left:  var(--ml);
    margin-right: var(--mr);
    padding-right: var(--ind);
    font-size: inherit;
    color: inherit;
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sorter-item:has(.sorter-indicator.hidden) {
    --ind: 0px;
}

.sorter-item:not(:has(.sorter-indicator.hidden)) {
    --ind: 12px;
}

.sorter-item .sorter-indicator {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    font-size: 0.85em; /* stays smaller, still follows global font size */
    width: 10px;
    display: block;
    color: inherit;
    opacity: 1;
}

.sorter-item.is-off .sorter-indicator {
    color: #454545;
}

.sorter-item.is-asc {
    background: var(--sorter-active-bg, #e6f1e6);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--sorter-active-fg, #000000);
}

.sorter-item.is-desc {
    background: var(--sorter-active-bg, #e6f1e6);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--sorter-active-fg, #000000);
}

.sorter-item.is-off {
    background: var(--sorter-row-bg, transparent);
}

/* SortableJS drag feedback */
.sorter-ghost {
    opacity: 0.35;
}
.sorter-chosen {
    opacity: 0.85;
}
.sorter-drag {
    opacity: 0.85;
}

/* No-ordering variant: remove reserved space and hide indicator */
.sorter-item.no-order {
    justify-content: center;
}
.sorter-item.no-order .sorter-label {
    overflow: visible;
    text-overflow: clip;
}
/* padding-right: 4px; */
/* .sorter-item.no-order[data-align="right"] .sorter-label {
    padding-right: 0;
} */
.sorter-item.no-order .sorter-indicator {
    display: none;
}

.sorter-indicator.hidden {
    visibility: hidden;
}
