body {
    --typesense-search-accent-color: oklch(0.8615 0.06 233.14);
    --typesense-search-item-color: oklch(0.9717 0.0021 17.19);
    --typesense-search-panel-background: white;
    --typesense-search-panel-border-radius: 5px;
    --typesense-search-panel-max-width: 500px;
    --typesense-search-text-color: oklch(0.252 0 0);
}

.typesense-search-toggle {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 50vh;
    color: currentColor;
    cursor: pointer;
    display: flex;
    gap: 6px;
    padding: 10px;
    transition: transform 0.2s ease-in-out;
}

.typesense-search-toggle:hover {
    transform: scale(1.05);
}

.typesense-search-toggle .typesense-search-toggle__cmd {
    align-items: center;
    display: flex;
    font-size: 15px;
    gap: 4px;
    margin-left: 2px;
}

.typesense-search-toggle .typesense-search-toggle__cmd.--hidden {
    display: none;
}

.typesense-search-toggle .typesense-search-toggle__cmd svg {
    height: 13px;
    width: 13px;
}

.typesense-search-toggle .typesense-search-toggle__search {
    height: 20px;
    width: 20px;
}

.typesense-search-global__close {
    align-items: center;
    aspect-ratio: 1;
    background: var(--typesense-search-panel-background, white);
    border: none;
    border-radius: var(--typesense-search-panel-border-radius, 5px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 10px;
    transition: right 0.2s ease-in-out, top 0.2s ease-in-out, transform 0.2s ease-in-out;
    right: 10px;
    width: 40px;
}
.typesense-search-global__close:hover {
    transform: scale(1.05);
}
@media (min-width: 800px) {
    .typesense-search-global__close {
        top: 40px;
        right: 40px;
    }
}

.typesense-search-global__close:after,
.typesense-search-global__close:before {
    content: "";
    background: var(--typesense-search-text-color, oklch(0.252 0 0));
    border-radius: 2px;
    height: 2px;
    position: absolute;
    width: 22px;
}

.typesense-search-global__close:after {
    rotate: -45deg;
}

.typesense-search-global__close:before {
    rotate: 45deg;
}

.typesense-search-global__content {
    background: var(--typesense-search-panel-background, white);
    border: none;
    border-radius: var(--typesense-search-panel-border-radius, 5px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    margin-inline: auto;
    margin-top: 10px;
    max-width: var(--typesense-search-panel-max-width, 500px);
    padding: 16px;
    width: 100%;
}

.typesense-search-global__submit {
    align-items: center;
    aspect-ratio: 1;
    background: var(--typesense-search-panel-background, white);
    border: none;
    border-radius: var(--typesense-search-panel-border-radius, 5px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    height: 56px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    width: 56px;
}

.typesense-search-global__submit[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.typesense-search-global__submit:not([disabled]):hover {
    transform: translate3d(8px, 0, 0);
}

.typesense-search-global__submit-icon {
    height: 44px;
    width: 44px;
}

.typesense-search-global__top {
    align-items: stretch;
    display: flex;
    gap: 8px;
    margin-inline: auto;
    max-width: var(--typesense-search-panel-max-width, 500px);
    width: 100%;
}

.typesense-search-global-search-bar {
    margin-inline: auto;
}

.typesense-search-global-search-bar input {
    background: var(--typesense-search-panel-background, white);
    border: none;
    border-radius: var(--typesense-search-panel-border-radius, 5px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    flex-grow: 1;
    font-size: 16px;
    padding: 16px;
}

.typesense-search-global-search-bar label {
    display: none;
}

.typesense-search-global-search-bar__overlay {
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    height: 100%;
    left: 0;
    padding: 60px 10vw;
    position: fixed;
    top: 0;
    transition: padding 0.2s ease-in-out;
    width: 100%;
    z-index: 100000;
}

@media (min-width: 600px) {
    .typesense-search-global-search-bar__overlay {
    padding: 10vw;
    }
}

.typesense-search-global-search-bar__overlay.--hidden {
    display: none;
}

.typesense-search-global-search-bar__results {
    background: var(--typesense-search-panel-background, white);
    border-radius: var(--typesense-search-panel-border-radius, 5px);
    height: max-content;
    margin-inline: auto;
    margin-top: 20px;
    max-height: 60dvh;
    max-width: var(--typesense-search-panel-max-width, 500px);
    overflow-y: auto;
    width: 100%;
}

.typesense-search-global-search-bar__results mark {
    background: var(--typesense-search-accent-color);
}

.typesense-search__result {
    background: var(--typesense-search-item-color);
    border-bottom: rgba(0,0,0,.2) 1px solid;
    color: var(--typesense-search-text-color, oklch(0.252 0 0));
    display: block;
    padding: 16px;
    transition: filter 0.2s ease-in-out;
}

.typesense-search__result:last-of-type {
    border-bottom: none;
}

.typesense-search__result:hover {
    filter: brightness(0.9);
}

.typesense-search__result-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    margin-top: 8px;
    overflow: hidden;
}

.typesense-search__result-title {
    display: inline;
    font-size: 18px;
    font-weight: bold;
    margin-right: 6px;
}

.typesense-search__result-type {
    background: var(--typesense-search-accent-color);
    border-radius: 4px;
    display: inline-block;
    font-size: 12px;
    padding: 2px 4px;
}