/* New-engine controls inside the unchanged Take-Top legacy presentation. */
.legacy-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.legacy-feed-switch {
    margin-bottom: 1rem;
}

.legacy-feed-switch .custom-control-inline {
    margin-right: 1rem;
}

[data-order-form] .form_step3 .image_picker_selector,
[data-free-form] .form_step3 .image_picker_selector {
    width: 100%;
    margin: 0;
    padding: 0;
}

[data-order-form] .form_step3 .image_picker_selector > li,
[data-free-form] .form_step3 .image_picker_selector > li {
    padding: 0;
    margin: 0;
}

[data-order-form] .form_step3 .thumbnail,
[data-free-form] .form_step3 .thumbnail {
    position: relative;
    padding: 3px;
}

[data-order-form] .form_step3 .thumbnail.selected,
[data-free-form] .form_step3 .thumbnail.selected {
    border-color: #0088cc;
    background: #0088cc;
    box-shadow: inset 0 0 0 2px #0088cc;
}

[data-order-form] .form_step3 .thumbnail.selected::after,
[data-free-form] .form_step3 .thumbnail.selected::after {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    content: "\2713";
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

[data-order-form] .form_step3 .image_picker_image,
[data-free-form] .form_step3 .image_picker_image {
    max-width: 100%;
}

.legacy-form-alert {
    white-space: pre-line;
}

.picker-profile {
    margin: 0 0 14px;
    padding: 9px 11px;
    border: 1px solid #e1e7ed;
    border-radius: 10px;
    background: #f8fafc;
}

.picker-profile > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #30343a;
    text-decoration: none;
}

.picker-profile-avatar {
    position: relative;
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #e7eef5;
    color: #3976ae;
    font-size: 17px;
    font-weight: 700;
}

.picker-profile-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picker-profile-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.picker-profile-label,
.picker-profile-handle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.picker-profile-handle {
    color: #7f8790;
}
