.mac-notification-bar {
    position: var(--position, relative);
    left: 0;
    right: 0;
    top: calc(var(--mac-notification-bar-height) * -1);
    width: 100%;
    z-index: 9999;
    transition: 0.3s ease-in-out;
    margin-top: calc(var(--mac-notification-bar-height) * -1);
}

.mac-notification-bar.is-active {
    display: block;
    top:0;
    margin-top: 0;
}

.mac-notification-bar-content {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.mac-notification-bar-content > * {
    margin: 0 !important;
}

.mac-notification-bar-content p {
    margin: 0;
}

.mac-notification-bar-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mac-notification-bar-close {
        right: 0;
        top: 0;
        transform: none;
    }
}

.mac-notification-bar-close svg {
    stroke: var(--close-color, #000);
    width: var(--close-size, 20px);
    height: var(--close-size, 20px);
}

.mac-notification-bar-close:hover svg {
    stroke: color-mix(in srgb, var(--close-color, #000), #fff 30%);
}