.statuspage-bar[hidden] {
    display: none;
}

.statuspage-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-sizing: border-box;
    padding: 10px 16px;
    background: #fff3cd;
    color: #664d03;
    font: 500 14px/1.5 Arial, sans-serif;
    text-align: center;
    overflow-wrap: break-word;
}

.statuspage-bar[data-status="major_outage"] {
    background: #f8d7da;
    color: #842029;
}

.statuspage-bar[data-status="under_maintenance"] {
    background: #cff4fc;
    color: #055160;
}

.statuspage-bar a {
    margin-left: 8px;
    color: inherit;
    text-decoration: underline;
}

.statuspage-bar[data-display="floating"] {
    top: 100px;
    left: auto;
    right: 20px;
    width: 340px;
    max-width: calc(100% - 40px);
    padding-right: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.statuspage-bar[data-display="floating"] a {
    display: block;
    margin: 6px 0 0;
}

.statuspage-dismiss {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
}

body > .main-wrapper {
    top: var(--statuspage-bar-height, 0px);
}
