.qep-status-header {
    position: relative;
    display: inline-flex;
    z-index: 20;
}

.qep-status-header__button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    width: auto;
    max-width: 100%;
    height: 36px;
    background: #001127;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.qep-status-header__label {
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-style: normal;
    font-weight: 500;
    font-size: 14.22px;
    line-height: 18px;
    color: #fff;
    white-space: nowrap;
}

.qep-status-header__count {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    min-width: 20px;
    height: 18px;
    border-radius: 9999px;
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-weight: 400;
    font-size: 11.24px;
    line-height: 125%;
    text-align: center;
}

.qep-status-header__count--operational {
    background: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #067647;
}

.qep-status-header__count--known-issues {
    background: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
}

.qep-status-header__count--down {
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    color: #B42318;
}
.qep-status-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    left: auto;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    width: max-content;
    min-width: 339px;
    max-width: min(90vw, 420px);
    background: #fff;
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .28s cubic-bezier(.16, 1, .3, 1),
        transform .28s cubic-bezier(.16, 1, .3, 1),
        visibility .28s ease;
}

.qep-status-header.is-open .qep-status-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.qep-status-dropdown__header {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 16px;
    gap: 16px;
    width: 100%;
    border-bottom: 1px solid #EAECF0;
}

.qep-status-dropdown__header span {
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-weight: 600;
    font-size: 14.22px;
    line-height: 18px;
    color: #101828;
}

.breakdance a.qep-status-dropdown__view {
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-weight: 600;
    font-size: 12.64px;
    line-height: 16px;
    color: #475467;
    text-decoration: none;
}

.qep-status-dropdown__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.qep-status-dropdown__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .24s ease, transform .24s ease;
}

.qep-status-header.is-open .qep-status-dropdown__item {
    opacity: 1;
    transform: translateY(0);
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(1) {
    transition-delay: .04s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(2) {
    transition-delay: .08s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(3) {
    transition-delay: .12s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(4) {
    transition-delay: .16s;
}

.qep-status-dropdown__name {
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-weight: 600;
    font-size: 14.22px;
    line-height: 18px;
    color: #001127;
}

.qep-status-badge {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 4px 12px;
    gap: 4px;
    min-height: 24px;
    border-radius: 9999px;
    font-family: var(--qep-font-primary, 'Sequel Sans');
    font-weight: 600;
    font-size: 12.64px;
    line-height: 16px;
    white-space: nowrap;
}

.qep-status-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    flex: 0 0 6px;
}

.qep-status-badge--operational {
    background: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #067647;
}

.qep-status-badge--operational .qep-status-badge__dot {
    background: #17B26A;
}

.qep-status-badge--known_issues {
    background: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
}

.qep-status-badge--known_issues .qep-status-badge__dot {
    background: #F79009;
}

.qep-status-badge--down {
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    color: #B42318;
}

.qep-status-badge--down .qep-status-badge__dot {
    background: #F04438;
}


.qep-status-dropdown__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity .36s cubic-bezier(.16, 1, .3, 1),
        transform .36s cubic-bezier(.16, 1, .3, 1);
    transition-delay: 0s;
}

.qep-status-header.is-open .qep-status-dropdown__item {
    opacity: 1;
    transform: translateY(0);
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(1) {
    transition-delay: .06s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(2) {
    transition-delay: .11s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(3) {
    transition-delay: .16s;
}

.qep-status-header.is-open .qep-status-dropdown__item:nth-child(4) {
    transition-delay: .21s;
}