.one-profile-root {
    display: flex;
    align-items: center;
}

.one-profile-root .warning {
    color: var(--orange);
}

.one-popup-move-handle {
    position: absolute;
    right: 3rem;
    top: -0.5rem;
    width: 1.3rem;
    height: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    border-radius: 50px;
    background-color: #555;
}

.one-popup .one-popup {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    cursor: auto;
}


.one-popup .ml-auto {margin-left: auto;} .one-popup .mr-auto {margin-right: auto;}

.one-popup .field {
    width: fit-content;
}

.one-popup > .one-popup {
    max-width: min(100vw, 800px);
    padding: 1rem;
}

.one-popup > .one-popup a {
    color: var(--primary-color);
}

.one-popup > .one-popup .warning {
    color: var(--orange);
}

.one-popup > .one-popup .accordion-header > .chevron {
    margin-right: 0.5rem;
}

.one-popup > .one-popup .accordion-header,
.one-popup > .one-popup .diff > h3 {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #333;
    padding-left: 0.5rem;
    box-sizing: border-box;
}

.one-popup > .one-popup .diff > h3 {
    padding: 0.5rem;
}

.one-popup > .one-popup .accordion-header h3 {
    margin: 0.5rem;
    color: white;
}

.one-popup > .one-popup .accordion-content > * {
    padding: 1rem;
    border: 1px solid #333;
}


.one-popup table.diff-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.one-popup table.diff-list thead {
    background-color: #333;
    color: white;
}

.one-popup table.diff-list thead th {
    padding: 0.5rem;
}


/* AUTOCOMPLETE */

.one-popup .ccnt2-input-autocomplete {
    background: transparent;
    /* border: 1px solid #999; */
}

.one-popup .ccnt2-input-autocomplete .chosen-item {
    color: #333;
    border-radius: 2px;
}

.one-popup .ccnt2-input-autocomplete .suggestions {
    background: white;
    color: #333;
    max-height: min(300px, 40vh);
    overflow-y: auto;
}


/* DIFF TABLE */

.one-popup table.diff-list th .linked {
    color: var(--green);
}
.one-popup table.diff-list th .unlinked {
    color: #999;
}

.one-popup table.diff-list tbody tr {
    border-bottom: 1px solid #333;
}

.one-popup table.diff-list tbody tr .actions {
    justify-content: center;
}

.one-popup table.diff-list tbody tr .actions > * {
    cursor: pointer;
}

.one-popup table.diff-list tbody tr.diff > td.profile {
    color: var(--orange);
}

.one-popup table.diff-list tbody td.one.missing {
    background-color: var(--red);
}

.one-popup table.diff-list tbody td.one.photo img {
    height: 2rem;
}

/* Diff icon styling for not-equal */
.diff .diff-icon {
    position: relative;
}

.diff .diff-icon::after {
    content: '';
    background: var(--orange);
    position: absolute;
    top: -12%;
    left: 7px;
    width: 2px;
    height: 123%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    color: inherit;
    transform: rotate(43deg);
}