.edit-setting-profile-popup-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 7;
    cursor: pointer;
}

.edit-setting-profile-popup-modal__transparent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 11;
}

.edit-setting-profile-popup-modal__container {
    position: fixed;
    bottom: 0px;
    width: 298px !important;
    box-sizing: border-box;
    height: calc(100svh - 63px);
    background-color: var(--people-color-white);
    z-index: 8;
    box-shadow: 0px 3px 6px var(--people-shadow-hint);
    line-height: 1.5 !important;
    flex-direction: column;
    display: flex;
    opacity: 1;
    right: 0;
}

.edit-setting-profile-popup-modal__container--show {
    animation: edit-setting-profile-popup-modal__slide-in-right 0.35s ease-out;
}

@keyframes edit-setting-profile-popup-modal__slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.edit-setting-profile-popup-modal__container .form-control:focus {
    box-shadow: none !important;
}

.edit-setting-profile-popup-modal__loading-overlay {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edit-setting-profile-popup-modal__header {
    color: var(--people-text-color);
    height: 55px;
    padding: 0px 20px;
    border-bottom: 1px solid var(--people-border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.edit-setting-profile-popup-modal__title {
    font-weight: var(--people-font-weight-bold);
    font-size: var(--people-font-size-md);
}

.edit-setting-profile-popup-modal__close-btn {
    background: none;
    border: none;
    color: var(--people-text-color);
    font-size: var(--people-font-size-lg);
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.edit-setting-profile-popup-modal__content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.edit-setting-profile-popup-modal__body {
    padding: 10px 20px 30px 20px;
}

.edit-setting-profile-popup-modal__body--tag {
    padding: 10px 20px 20px 20px;
}

.edit-setting-profile-popup-modal__body--select {
    overflow: visible;
}

.edit-setting-profile-popup-modal__section-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.edit-setting-profile-popup-modal__input {
    width: 258px;
    min-height: 92px;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--people-color-gray-medium) !important;
    border-radius: var(--people-border-radius) !important;
    resize: none;
    font-size: var(--people-font-size-sm) !important;
}

.edit-setting-profile-popup-modal__input:focus {
    box-shadow: none !important;
}

.edit-setting-profile-popup-modal__search-section {
    margin-bottom: 10px;
    position: relative;
}

.edit-setting-profile-popup-modal__select {
    position: relative;
    width: 100%;
}

.edit-setting-profile-popup-modal__control {
    width: 100%;
    padding: 4px 10px;
    box-sizing: border-box;
    border: 1px solid var(--people-color-gray-medium);
    border-radius: var(--people-border-radius);
    background-color: var(--people-color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.edit-setting-profile-popup-modal__menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--people-color-white);
    border: 1px solid var(--people-color-gray-medium);
    border-radius: var(--people-border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding-bottom: 5px;
}

.edit-setting-profile-popup-modal__option-list {
    max-height: 250px;
    overflow-y: auto;
}

.edit-setting-profile-popup-modal__top-action {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    cursor: pointer;
    box-sizing: border-box;
}

.edit-setting-profile-popup-modal__option {
    padding: 8px 15px;
    cursor: pointer;
    font-size: var(--people-font-size-sm);
}

.edit-setting-profile-popup-modal__option:hover {
    background-color: #f5f5f5;
}

.edit-setting-profile-popup-modal__option--selected {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--people-color-orange);
}

.edit-setting-profile-popup-modal__value {
    font-size: var(--people-font-size-sm);
}

.edit-setting-profile-popup-modal__value--placeholder {
    color: var(--people-color-gray-medium);
}

.edit-setting-profile-popup-modal__search-input {
    width: 100%;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--people-color-gray-medium) !important;
    border-radius: var(--people-border-radius) !important;
    box-shadow: none !important;
    font-size: var(--people-font-size-sm) !important;
}

.edit-setting-profile-popup-modal__search-results {
    position: absolute;
    background: var(--people-color-white);
    border: 1px solid var(--people-color-gray-medium);
    padding: 5px 14px;
    border-radius: 0px 0px var(--people-border-radius) var(--people-border-radius);
    margin-top: -5px;
    z-index: 1001;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    vertical-align: middle;
    border-top: 0px;
}

.edit-setting-profile-popup-modal__recent-section {
    margin-bottom: 20px;
}

.edit-setting-profile-popup-modal__add-section {
    border-top: 1px solid var(--people-border-gray);
    padding-top: 20px;
    position: relative;
}

.edit-setting-profile-popup-modal__add-btn {
    background: none;
    border: none;
    color: var(--people-color-orange);
    font-size: var(--people-font-size-md);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-setting-profile-popup-modal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.edit-setting-profile-popup-modal__item:hover {
    color: var(--people-color-orange);
    cursor: pointer;
}

.edit-setting-profile-popup-modal__button-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.edit-setting-profile-popup-modal__tag-btn {
    color: var(--people-color-orange);
    border: 1px solid var(--people-color-orange);
    border-radius: 4px;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    height: 28px;
    box-sizing: border-box;
    padding: 0 11px !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    margin: 0px !important;
}

.edit-setting-profile-popup-modal__tag-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--people-font-weight-bold);
    font-size: var(--people-font-size-s);
}

.edit-setting-profile-popup-modal__tag-btn:hover {
    color: var(--people-color-orange) !important;
    cursor: default;
}

.edit-setting-profile-popup-modal__small-popup {
    width: 258px;
    position: absolute;
    background: var(--people-color-white);
    border: 1px solid var(--people-border-gray);
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--people-border-radius);
    margin-top: 5px;
    z-index: 2;
}

.edit-setting-profile-popup-modal__small-popup-title {
    font-weight: bold;
}

.edit-setting-profile-popup-modal__small-input {
    padding: 5px 10px !important;
    width: 238px;
    box-sizing: border-box !important;
    border: 1px solid var(--people-color-gray-medium) !important;
    border-radius: var(--people-border-radius) !important;
    font-size: var(--people-font-size-sm) !important;
}

.edit-setting-profile-popup-modal__small-popup-btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.edit-setting-profile-popup-modal__no-results {
    text-align: center;
    display: block;
    padding: 10px;
}

.edit-setting-profile-popup-modal__small-popup {
    z-index: 10;
}

.edit-setting-profile-popup-modal__footer {
    padding: 0px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.edit-setting-profile-popup-modal__confirm-btn,
.edit-setting-profile-popup-modal__footer-ok-btn {
    background-color: var(--people-color-orange);
    color: var(--people-color-white);
    border: solid 1px var(--people-color-orange);
}

.edit-setting-profile-popup-modal__cancel-btn,
.edit-setting-profile-popup-modal__footer-cancel-btn {
    background-color: var(--people-color-white);
    border: solid 1px var(--people-color-orange);
    color: var(--people-color-orange);
}

.edit-setting-profile-popup-modal__confirm-btn:disabled,
.edit-setting-profile-popup-modal__footer-ok-btn:disabled {
    background-color: var(--people-color-gray-medium);
    border-color: var(--people-color-gray-medium);
    color: var(--people-color-white);
    cursor: not-allowed;
}

.edit-setting-profile-popup-modal__remove-tag {
    position: absolute;
    top: 3px;
    right: 3px;
    cursor: pointer;
    color: var(--people-color-orange);
    font-size: 7px;
    line-height: 100%;
}

.edit-setting-profile-popup-modal__error {
    color: #dc3545;
    margin-top: 5px;
}