input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    margin-left: .4em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
    cursor: pointer;
}

a.dark-hover:hover,
button.dark-hover:hover {
    color: #575757 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.container-max {
    max-width: 1300px;
}

.cursor-pointer {
    cursor: pointer;
}

.white-space-nowrap {
    white-space: nowrap;
}

.line-height-sm {
    line-height: 1.2;
}

.line-height-md {
    line-height: 1.5;
}

.line-height-lg {
    line-height: 2;
}

.x-gap-1 > * {
    margin-right: 4px;
}

.x-gap-1 > *:last-child {
    margin-right: 0;
}

.x-gap-2 > * {
    margin-right: 8px;
}

.x-gap-2 > *:last-child {
    margin-right: 0;
}

.y-gap-2 > * + * {
    margin-top: 8px;
}

.x-gap-3 > * {
    margin-right: 12px;
}

.x-gap-3 > *:last-child {
    margin-right: 0;
}

.y-gap-3 > * + * {
    margin-top: 12px;
}

.toggle-icon {
    transition: transform 0.2s ease;
}
.toggle-icon.rotated {
    transform: rotate(90deg);
}

.tr-hover:hover {
    background-color: #f5f5f5;
}

.user-select-none {
    user-select: none;
}
