.search-preferences-profiles-modal {
    background: #fff;
    padding: 32px;
    border-radius: 4px;
    color: #111111;
    z-index: 100001;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    display: none;
    max-width: 576px;
    line-height: 32px;
}

.search-preferences-profiles-modal h2 {
    margin: 0;
    font-size: 1.25rem;
    font-family: Karla, Arial, sans-serif;
    color: #111111;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 16px;
    max-width: 95%;
}

.search-preferences-profiles-modal-backdrop {
    position: fixed;
    background: black;
    opacity: 0.7;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100000;
    display: none;
}

button.search-preferences-profiles-modal__close, button.search-preferences-profiles__close:hover {
    position: absolute;
    right: 20px;
    top: 30px;
    background: #fff;
}

button.search-preferences-profiles__close:hover {
    cursor: pointer;
}

.search-preferences-profiles-modal__content {
    font-size: 16px;
    color: #111111;
}

.search-preferences-profiles-modal__content a, .search-preferences-profiles-modal__content a:hover {
    color: #006CFF;
    text-decoration: none;
}

.search-preferences-profiles-modal__content a:hover {
    text-decoration: underline;
}

.search-preferences-profiles-create-new-profile-link {
    display: flex;
    align-items: center;
}

.search-preferences-profiles-create-new-profile-link img {
    width: 16px;
    height: 16px;
}

.search-preferences-profiles-modal__content div {
    margin-bottom: 16px;
}

.search-preferences-profiles-modal__content div:last-child {
    margin-bottom: 0;
}

.search-preferences-profiles-modal__content .new-tag {
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    background: #178731;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 8px;
    line-height: 24px;
}

.search-preferences-profiles-notification {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 0px);
    background: #001533;
    color: #fff;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: end;
    z-index: 1000000;
    box-shadow: 0 6px 25px 0 rgb(0 0 40 / 25%);
}

.search-preferences-profiles-notification img {
    width: 20px;
    height: 20px;
}

/**
 * Button
 */
button.search-preferences-profiles-button,
button.search-preferences-profiles-button:hover,
a.search-preferences-profiles-button,
a.search-preferences-profiles-button:hover {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    line-height: 32px;
    font-family: 'Karla', Arial, sans-serif;
}

button.search-preferences-profiles-button-primary,
a.search-preferences-profiles-button-primary,
button.search-preferences-profiles-button-primary:hover,
a.search-preferences-profiles-button-primary:hover {
    background: #006CFF;
    color: #FFF;
}

button.search-preferences-profiles-button-secondary,
a.search-preferences-profiles-button-secondary,
button.search-preferences-profiles-button-secondary:hover,
a.search-preferences-profiles-button-secondary:hover {
    background: #F2F7FF;
    color: #006CFF;
}

.search-preferences-profiles-button-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -8px;
    align-items: center;
    justify-content: center;
}

.search-preferences-profiles-button-group button.search-preferences-profiles-button,
.search-preferences-profiles-button-group a.search-preferences-profiles-button {
    width: 288px;
    margin-bottom: 8px;
}

.search-preferences-profiles-profiles-list {
    margin-top: 16px;
    margin-bottom: 24px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    padding-left: 0;
}

.search-preferences-profiles-profiles-list__item {
    display: flex;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #CCCCCC;
    align-items: baseline;
}

.search-preferences-profiles-profiles-list__item:last-child {
    border-bottom: none;
}

.search-preferences-profiles-profiles-list__item-name {
    flex: 1;
}

.search-preferences-profiles-profiles-list__item-input {
    padding-bottom: 3px;
}

.search-preferences-profiles-modal .custom-radio-button-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.search-preferences-profiles-modal .custom-radio-button-container input[type=radio] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.search-preferences-profiles-modal .custom-radio-button {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}

.search-preferences-profiles-modal .custom-radio-button-container:hover input ~ .custom-radio-button {
    background-color: #ccc;
}

.search-preferences-profiles-modal .custom-radio-button-container input:checked ~ .custom-radio-button {
    background-color: #1F831E;
}

.search-preferences-profiles-modal .custom-radio-button:after {
    content: "";
    position: absolute;
    display: none;
}

.search-preferences-profiles-modal .custom-radio-button-container input:checked ~ .custom-radio-button:after {
    display: block;
}

.search-preferences-profiles-modal .custom-radio-button-container .custom-radio-button:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.search-preferences .search-preferences__heading {
    font-size: 24px;
}

.search-preferences__heading {
    text-align: center;
}

.search-preferences__button--outline, .search-preferences__button--outline:hover {
    background: #F2F7FF;
    color: #006CFF;
    border: none;
}

.search-preferences .go-back-button, .search-preferences .go-back-button:hover {
    position: absolute;
    left: unset;
    top: unset;
    background: #fff;
}

.search-preferences .rename-profile-container {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 24px;
}

.search-preferences .rename-profile-container button {
    background: none;
    color: #006CFF;
    display: flex;
    align-items: center;
}

.search-preferences .rename-profile-container button img {
    width: 16px;
}

.search-preferences .rename-profile-container button:hover {
    background: none;
}

.search-preferences .delete-profile-container {
    display: flex;
    justify-content: center;
    margin-top: 24px
}

.search-preferences .delete-profile-container button {
    background: none;
    color: #EC2B32;
    display: flex;
    align-items: center;
}

.search-preferences .delete-profile-container button img {
    width: 16px;
}

.search-preferences .delete-profile-container button:hover {
    background: none;
}

.input-select select {
    text-align: left;
}
