@keyframes fps-notification-slide-in-top {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fps-notification-slide-in-bottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mcnotification {
    position: relative;
    width: 100%;
    z-index: 9999;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease-out;
}

.mcnotification.mcnotification-bottom {
    transform: translateY(100%);
}

.mcnotification.mcnotification-closed {
    display: none !important;
}

.mcnotification.show {
    transform: translateY(0);
    opacity: 1;
    animation: fps-notification-slide-in-top 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mcnotification.mcnotification-bottom.show {
    animation: fps-notification-slide-in-bottom 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mcnotification.mcnotification-fixed.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    z-index: 998;
}

.mcnotification.mcnotification-bottom.fixed,
.mcnotification.mcnotification-bottom.mcnotification-fixed.fixed {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 998;
}

body:has(.mcnotification.mcnotification-fixed.fixed:not(.mcnotification-bottom)) .site-header,
.site-header.header-notification-fixed {
    top: var(--notification-height, 0) !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
}

.mcnotification .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    padding-right: 50px;
    line-height: 1em;
}

.mcnotification-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mcnotification-close:hover {
    opacity: 1;
}

.mcnotification-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.fps-notification-show-again {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9998;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fps-notification-show-again:hover {
    opacity: 0.8;
}

.mcnotification .container p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

@media (max-width: 767px) {
    .mcnotification.show,
    .mcnotification.mcnotification-bottom.show {
        transform: translateY(0);
    }
    .mcnotification {
        padding: 12px 20px !important;
        margin-bottom: 16px !important;
    }
    .mcnotification.mcnotification-bottom {
        margin-bottom: 0 !important;
    }
    .mcnotification .container {
        padding: 0 0px;
        padding-right: 45px !important;
    }
    .mcnotification-close {
        right: 10px;
    }
}
