#customer-search-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

#customer-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow-y: visible;
}
#customer-search-input {
    flex-grow: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid var(--btn2-background-color);
    border-radius: 4px;
    outline: none;
}

#customer-search-input:focus {
    border-color: var(--btn2-background-color-hover);
}

#customer-search-bar {
    margin: 0;
    flex-grow: 1;
    position: relative;
    display: flex;
    width: 100%;
}

#customer-search-input.with-zoom-controls {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

#customer-search-bar-icon {
    position: absolute;
    top: 9px;
    left: 8px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    stroke: var(--header-font-color);
}

#refresh-customer-icon {
    height: 24px;
    width: 24px;
    position: absolute;
    right: 8px;
    top: 9px;
    cursor: pointer;
}

#authorized-user-icon,
.authorized-user-icon {
    height: 22px;
    width: 22px;
}

.authorized-user-icon {
    margin-right: 8px;
}

.authorized-user-header {
    margin: 8px 16px;
    padding: 0;
}

#refresh-customer-icon-loading {
    position: absolute;
    right: 4px;
    top: 11px;
    cursor: pointer;
}

#refresh-circle {
    fill: var(--header-font-color);
}

#refresh-arrow {
    fill: inherit;
}

#customer-search-input {
    appearance: none;
    width: 95%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius1);
    padding: 5px;
    padding-left: 36px;
}

#customer-search-results-wrapper {
    position: absolute;
    top: 40px;
    left: 0;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: var(--border-radius1);
    z-index: 1000;
}

#customer-search-results {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.customer-search-result {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.customer-search-result:hover {
    background-color: #eee;
}


#customer-information {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 8px;
}

#customer-name {
    font-size: 10px;
    font-family: var(--san-serif-font);
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#customer-name > div {
    margin-right: 8px;
}

.customer-info:hover {
    cursor: copy;
}

.customer-info {
    color: var(--header-font-color);
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-family: var(--san-serif-font);
    margin: 0 2px;
}

.customer-search-result {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% - 20px);
}

.customer-result-info {
    color: var(--header-font-color);
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-family: var(--san-serif-font);
    margin: 0 4px;
}

.customer-name {
    margin: 0;
    font-weight: 600;
}

.active {
    color: var(--active);
}

.inactive {
    color: var(--error);
}


#customer-search-results-wrapper.hide,
#refresh-customer-icon.hide,
#refresh-customer-icon-loading.hide {
    display: none;
}