/* Consistent action controls; form actions, permissions and confirmations remain intact. */
html body .dpp-toggle {
    position: relative !important;
    display: inline-block !important;
    flex: 0 0 60px !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #9e9e9e !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    vertical-align: middle !important;
    cursor: pointer;
    color: transparent !important;
    text-decoration: none !important;
}
html body .dpp-toggle > * {
    display: none !important;
}
html body .dpp-toggle::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px #0003;
    transition: transform 0.15s;
}
html body .dpp-toggle[aria-checked='true'] {
    background: #4caf50 !important;
}
html body .dpp-toggle[aria-checked='true']::after {
    transform: translateX(28px);
}
html body .dpp-toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
html body .dpp-toggle:focus-visible,
html body .dpp-delete:focus-visible {
    outline: 3px solid #172b4d !important;
    outline-offset: 3px;
}
html body .dpp-delete {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 8px !important;
    border: 1px solid #b3373b !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #b3373b !important;
    box-shadow: none !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    font-size: 0 !important;
    line-height: 1 !important;
}
html body .dpp-delete svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    pointer-events: none;
}
html body .dpp-delete:hover {
    background: #fbe4e4 !important;
    color: #b3373b !important;
}
html body .dpp-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
html body .dpp-state {
    display: inline-block !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border: 0 !important;
    white-space: nowrap !important;
}
html body .dpp-state-on {
    background: #dcf5e6 !important;
    color: #1c7a44 !important;
}
html body .dpp-state-off {
    background: #fbe4e4 !important;
    color: #b3373b !important;
}
html body .switch-toggle .slider {
    background: #9e9e9e !important;
}
html body .switch-toggle input:checked + .slider {
    background: #4caf50 !important;
}
html body .switch-toggle .slider:before {
    background: white !important;
}
@media (prefers-reduced-motion: reduce) {
    html body .dpp-toggle::after {
        transition: none;
    }
}

html body .trial-past-status.is-expired,
html body .trial-past-status.is-rejected,
html body .md-pill.is-ended,
html body .md-pill.is-rejected,
html body .cp-status--rejected,
html body .promo-status.expired {
    background: #fbe4e4 !important;
    color: #b3373b !important;
    border-radius: 999px;
    font-weight: 600;
}
