/*
 * CTA Popup Styles
 */

.mw-cta-popup {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.mw-cta-popup.active {
    display: block;
}

.mw-cta-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.mw-cta-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 420px);
    margin: 72px auto;
    background: #1976D2;
    color: #111111;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.mw-cta-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.mw-cta-popup__header {
    position: relative;
    padding: 32px 32px 64px;
    text-align: center;
    color: #fff;
}

.mw-cta-popup__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mw-cta-popup__brand img {
    width: 50px;
    height: 50px;
}

.mw-cta-popup__header h2 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mw-cta-popup__header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}

.mw-cta-popup__body {
    position: relative;
    padding: 32px;
    background: #fff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -32px;
}

.mw-cta-popup__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
    padding: 16px;
    border: none;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: background-color 0.2s ease;
}

.mw-cta-popup__button img {
	filter: brightness(0) invert(1);
	width: 24px;
	height: 24px;
}

.mw-cta-popup__button:hover {
    opacity: 0.9;
}

.mw-cta-popup__button--primary {
    background-color: #25D366;
}

.mw-cta-popup__button--secondary {
    background-color: #0088cc;
}

.mw-cta-popup__button--tertiary {
    background-color: #1877f2;
}

.mw-cta-popup__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eeeeee;
    color: #666;
    font-size: 13px;
}

.mw-cta-popup__meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mw-cta-popup__meta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 640px) {
    .mw-cta-popup__dialog {
        width: calc(100% - 20px);
        margin: 24px auto;
    }

    .mw-cta-popup__header,
    .mw-cta-popup__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mw-cta-popup__header p {
        font-size: 16px;
    }
}
