/* Bülten abone bilgilendirme popup */
.m18-news-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 220;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.m18-news-popup-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.m18-news-popup {
    position: fixed;
    inset: 0;
    z-index: 230;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.m18-news-popup.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.m18-news-popup__panel {
    width: min(100%, 22.5rem);
    background: #fff;
    border: 1px solid #e8e2d6;
    border-radius: 1rem;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22);
    padding: 1.5rem 1.35rem 1.25rem;
    text-align: center;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.m18-news-popup.is-open .m18-news-popup__panel {
    transform: translateY(0) scale(1);
}

.m18-news-popup__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.m18-news-popup__icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.m18-news-popup.is-success .m18-news-popup__icon {
    background: #e8f5ec;
    color: #1f6b3a;
}

.m18-news-popup.is-error .m18-news-popup__icon {
    background: #fdeceb;
    color: #b42318;
}

.m18-news-popup__title {
    margin: 0 0 0.4rem;
    color: #16351c;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.m18-news-popup__message {
    margin: 0 0 1.15rem;
    color: #6d655b;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

.m18-news-popup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: 0.75rem;
    background: #16351c;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.m18-news-popup__btn:hover {
    background: #1f4a28;
}

.m18-news-popup__btn:active {
    transform: scale(0.98);
}

.m18-news__form.is-loading button {
    opacity: 0.72;
    pointer-events: none;
}

body.m18-news-popup-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .m18-news-popup-backdrop,
    .m18-news-popup,
    .m18-news-popup__panel {
        transition: none;
    }
}
