#location-select.disabled,
#town-select.disabled {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.input-element + .add-toggle {
    flex-grow: 0;
}

.add-toggle {
    display: flex;
    align-items: center;
}

/* Hide the checkbox itself */
.add-toggle input {
    position: absolute;
    opacity: 0;
}

.icon-toggle {
    width: 4rem;
    height: 4rem;
    color: var(--text);
    border: 1px solid var(--blue);
    background: var(--blue);
    box-shadow: 6px 6px var(--shadow);
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.icon-toggle:hover {
    color: var(--text-dark);
    background: var(--bg-input-light);
    box-shadow: 8px 8px var(--shadow);
    border-top: 1px solid var(--highlight-3);
    border-left: 1px solid var(--highlight-3);

}

.icon-toggle .icon {
    width: 4rem;
    height: 4rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    position: absolute;
}

/* Default state: Plus show, Cross hidden */
.icon-cross {
  opacity: 0;
  transform: scale(0.8);
}

input[type="checkbox"]:checked + .icon-toggle .icon-plus {
  opacity: 0;
  transform: scale(0.8);
}


input[type="checkbox"]:checked + .icon-toggle .icon-cross {
  opacity: 1;
  transform: scale(1);
}