.noticebar-container {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.noticebar-top {
    top: 0;
}

.admin-bar .noticebar-top {
    top: 32px;
}

.noticebar-bottom {
    bottom: 0;
    flex-direction: column-reverse;
}

.noticebar {
    width: 100%;
    box-sizing: border-box;
    padding: 2px 40px 2px 14px;
    font-size: 14px;
    line-height: 1.1;
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.noticebar-fixed-height {
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticebar-content a,
.noticebar-link {
    color: #ffd54f;
    text-decoration: underline;
}

.noticebar-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.noticebar-hidden {
    display: none;
}

@media (max-width: 600px) {
    .noticebar {
        font-size: 13px;
        padding: 2px 36px 2px 10px;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .noticebar-top {
        top: 46px;
    }
}
