.admin-global-search {
    flex: 1 1 34rem;
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: 46rem;
    min-width: 16rem;
}

.admin-global-search-shell {
    position: relative;
    width: 100%;
}

.admin-global-search .form-control {
    background: #f3f5f8;
    border-color: #e1e6ee;
    min-height: 2.4rem;
}

.admin-global-search .form-control:focus {
    background: #fff;
    border-color: #8aa4c5;
    box-shadow: 0 0 0 0.15rem rgba(78, 115, 223, 0.12);
}

.admin-global-search-results {
    background: #fff;
    border: 1px solid #dfe5ed;
    border-radius: 0.5rem;
    box-shadow: 0 0.75rem 2rem rgba(31, 45, 61, 0.16);
    left: 0;
    max-height: min(70vh, 38rem);
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 1055;
}

.admin-global-search-results[hidden] {
    display: none !important;
}

.global-search-dropdown-status {
    color: #6c7785;
    padding: 1rem;
    text-align: center;
}

.global-search-dropdown-category {
    color: #728096;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem 0.35rem;
    text-transform: uppercase;
}

.global-search-dropdown-item {
    align-items: center;
    color: #263442;
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
}

.global-search-dropdown-item:hover,
.global-search-dropdown-item:focus,
.global-search-dropdown-item.is-active {
    background: #f0f4fa;
    color: #1f2d3d;
    outline: none;
    text-decoration: none;
}

.global-search-result-icon {
    align-items: center;
    background: #edf2f8;
    border-radius: 50%;
    color: #4e73df;
    display: inline-flex;
    flex: 0 0 2.25rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.global-search-result-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.global-search-result-copy strong,
.global-search-result-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search-result-copy small {
    color: #748094;
    margin-top: 0.1rem;
}

.global-search-dropdown-footer {
    border-top: 1px solid #e5e9ef;
    color: #4e73df;
    display: block;
    font-weight: 700;
    padding: 0.8rem 1rem;
    text-align: center;
}

.global-search-dropdown-footer:hover,
.global-search-dropdown-footer:focus {
    background: #f7f9fc;
    color: #2e59d9;
    text-decoration: none;
}

.global-search-page-form {
    max-width: 58rem;
}

.global-search-empty {
    align-items: center;
    background: #f7f9fc;
    border: 1px dashed #cdd6e2;
    border-radius: 0.6rem;
    color: #6c7785;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 3rem 1rem;
    text-align: center;
}

.global-search-empty > i {
    color: #9aa7b8;
    font-size: 2rem;
}

.global-search-page-result {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

@media (max-width: 767.98px) {
    .admin-global-search {
        margin-left: 0;
        margin-right: 0.5rem;
        min-width: 0;
    }

    .admin-global-search .input-group-append .btn {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .admin-global-search-results {
        left: -3rem;
        right: -6rem;
    }
}
