/**
 * Site Notifications - Frontend Styles
 */

/* Banner Notification */
.site-notification--banner {
    background-color: #22424f;
    color: #fff;
    padding: 12px 50px 12px 20px;
    position: relative;
    z-index: 9999;
    text-align: center;
}

.site-notification--banner .site-notification__content {
    font-size: 14px;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
}

.site-notification--banner .site-notification__content a {
    color: #fff;
    text-decoration: underline;
}

.site-notification--banner .site-notification__content a:hover {
    opacity: 0.9;
}

.site-notification--banner .site-notification__close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-notification--banner .site-notification__close:hover {
    opacity: 1;
}

.site-notification--banner.is-hidden {
    display: none;
}

/* Popup Notification */
.site-notification--popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-notification--popup .site-notification__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.site-notification--popup .site-notification__modal {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    width: 640px;
    max-width: calc(100% - 40px);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: popup-appear 0.3s ease-out;
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.site-notification--popup .site-notification__close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-notification--popup .site-notification__close:hover {
    color: #000;
}

.site-notification--popup .site-notification__content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.site-notification--popup .site-notification__content a {
    color: #22424f;
    text-decoration: underline;
}

.site-notification--popup .site-notification__content a:hover {
    text-decoration: none;
}

.site-notification--popup .site-notification__image {
    margin: -40px -40px 20px -40px;
}

.site-notification--popup .site-notification__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

.site-notification--popup.is-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-notification--banner {
        padding: 10px 40px 10px 15px;
    }

    .site-notification--banner .site-notification__content {
        font-size: 13px;
    }

    .site-notification--banner .site-notification__close {
        right: 10px;
    }

    .site-notification--popup .site-notification__modal {
        padding: 30px 20px;
        margin: 10px;
    }

    .site-notification--popup .site-notification__image {
        margin: -30px -20px 15px -20px;
    }

    .site-notification--popup .site-notification__content {
        font-size: 15px;
    }
}
