.pickingbud-order-status-preference {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e5;
}

.pickingbud-order-status-preference__fieldset {
    margin-bottom: 14px;
}

.pickingbud-order-status-preference__choice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 8px;
}

.pickingbud-order-status-preference__choice .checkbox {
    flex: 0 0 auto;
}

.pickingbud-order-status-preference__choice .label {
    margin: 0;
    min-width: 0;
}

.pickingbud-order-status-preference__tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #b9c4bd;
    border-radius: 50%;
    background: #f7fbf7;
    color: #16351f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: help;
}

.pickingbud-order-status-preference__tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: calc(100% + 10px);
    width: min(300px, 72vw);
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #111111;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 6px);
    transition: opacity .16s ease, transform .16s ease;
}

.pickingbud-order-status-preference__tooltip:hover::after,
.pickingbud-order-status-preference__tooltip:focus::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pickingbud-order-status-preference__note {
    margin-left: 26px;
    max-width: 680px;
    color: #666666;
}

.pickingbud-toast-container {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 10020;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.pickingbud-order-status-toast {
    position: relative;
    overflow: hidden;
    padding: 14px 42px 15px 16px;
    border: 1px solid #dedede;
    border-left: 4px solid #157a3b;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    color: #171717;
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}

.pickingbud-order-status-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pickingbud-order-status-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #555555;
    font-size: 14px;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
}

.pickingbud-order-status-toast__close:hover,
.pickingbud-order-status-toast__close:focus {
    background: #111111;
    color: #ffffff;
}

.pickingbud-order-status-toast__eyebrow {
    margin-bottom: 5px;
    color: #157a3b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pickingbud-order-status-toast__title {
    margin-bottom: 5px;
    color: #111111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.pickingbud-order-status-toast__message {
    color: #444444;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .pickingbud-order-status-preference__choice {
        align-items: flex-start;
    }

    .pickingbud-order-status-preference__tooltip::after {
        left: auto;
        right: -18px;
        transform: translateY(6px);
    }

    .pickingbud-order-status-preference__tooltip:hover::after,
    .pickingbud-order-status-preference__tooltip:focus::after {
        transform: translateY(0);
    }

    .pickingbud-order-status-preference__note {
        margin-left: 0;
    }

    .pickingbud-toast-container {
        top: 74px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
