/* Source: Views/Shared/_MarketingPopup.cshtml */
.testinar-marketing-popup[hidden] {
            display: none !important;
        }

        .testinar-marketing-popup {
            align-items: flex-end;
            background: transparent;
            bottom: 0;
            display: flex;
            justify-content: flex-end;
            left: 0;
            padding: 0 24px 24px;
            pointer-events: none;
            position: fixed;
            right: 0;
            top: 0;
            z-index: 99999;
        }

        .testinar-marketing-popup-card {
            background: #de3737;
            border: 10px solid #d9252a;
            border-radius: 28px;
            box-shadow: 0 26px 70px rgba(2, 16, 28, 0.28);
            color: #fff;
            display: grid;
            gap: 16px;
            grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1fr);
            max-width: 560px;
            overflow: visible;
            padding: 18px 22px 20px 18px;
            pointer-events: auto;
            position: relative;
            transform: translateY(18px) scale(0.96);
            transition: opacity 220ms ease, transform 220ms ease;
            width: min(92vw, 560px);
        }

        .testinar-marketing-popup.is-open .testinar-marketing-popup-card {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .testinar-marketing-popup-close {
            align-items: center;
            background: #f44343;
            border: 4px solid #fff;
            border-radius: 50%;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
            color: #fff;
            cursor: pointer;
            display: inline-flex;
            font-size: 22px;
            font-weight: 900;
            height: 38px;
            justify-content: center;
            line-height: 1;
            position: absolute;
            right: -16px;
            top: -18px;
            width: 38px;
        }

        .testinar-marketing-popup-badge {
            background: #ffd22f;
            border-radius: 999px;
            box-shadow: 0 7px 20px rgba(86, 54, 0, 0.2);
            color: #9a3700;
            font-size: 13px;
            font-weight: 900;
            left: 30px;
            letter-spacing: 0.01em;
            padding: 5px 11px;
            position: absolute;
            text-transform: uppercase;
            top: -16px;
        }

        .testinar-marketing-popup-media {
            align-self: center;
            background: rgba(84, 0, 0, 0.22);
            border-radius: 16px;
            box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .testinar-marketing-popup-media img {
            display: block;
            height: auto;
            width: 100%;
        }

        .testinar-marketing-popup-copy {
            align-items: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
            text-align: center;
        }

        .testinar-marketing-popup-title {
            color: #fff;
            font-size: clamp(23px, 2.4vw, 32px);
            font-weight: 900;
            letter-spacing: -0.035em;
            line-height: 1.04;
            margin: 0 0 8px;
            text-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
        }

        .testinar-marketing-popup-subtitle {
            color: #fff;
            font-size: clamp(17px, 2vw, 23px);
            font-weight: 700;
            line-height: 1.1;
            margin: 0 0 10px;
        }

        .testinar-marketing-popup-body {
            color: rgba(255, 255, 255, 0.92);
            font-size: 14px;
            line-height: 1.45;
            margin-bottom: 10px;
        }

        .testinar-marketing-popup-body p {
            margin: 0 0 8px;
        }

        .testinar-marketing-popup-coupon {
            align-items: center;
            background: rgba(255, 255, 255, 0.16);
            border: 1px dashed rgba(255, 255, 255, 0.78);
            border-radius: 16px;
            display: inline-flex;
            gap: 10px;
            margin: 0 0 16px;
            padding: 8px 12px;
        }

        .testinar-marketing-popup-coupon strong {
            color: #fff;
            font-size: 16px;
            letter-spacing: 0.09em;
        }

        .testinar-marketing-popup-copycode {
            background: #fff;
            border: 0;
            border-radius: 999px;
            color: #142033;
            cursor: pointer;
            font-size: 12px;
            font-weight: 900;
            padding: 7px 11px;
            text-transform: uppercase;
        }

        .testinar-marketing-popup-button {
            background: #ffcf29;
            border: 0;
            border-radius: 999px;
            box-shadow: 0 10px 0 rgba(106, 51, 0, 0.18);
            color: #141414;
            display: inline-block;
            font-size: 15px;
            font-weight: 900;
            padding: 12px 22px;
            text-decoration: none;
        }

        .testinar-marketing-popup-button:hover,
        .testinar-marketing-popup-button:focus {
            color: #000;
            filter: brightness(1.04);
            text-decoration: none;
        }

        .testinar-marketing-popup-disclaimer {
            color: rgba(255, 255, 255, 0.86);
            font-size: 11px;
            line-height: 1.45;
            margin: 12px 0 0;
        }

        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-card {
            background: linear-gradient(135deg, #fff6dc 0%, #ffc348 100%);
            border-color: #f3a81d;
            color: #142033;
        }

        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-title,
        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-subtitle,
        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-body,
        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-coupon strong,
        .testinar-marketing-popup.theme-warm-gold .testinar-marketing-popup-disclaimer {
            color: #142033;
        }

        .testinar-marketing-popup.theme-navy .testinar-marketing-popup-card {
            background: linear-gradient(135deg, #0c2f4c 0%, #105d7d 100%);
            border-color: #1bbd9a;
        }

        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-card {
            background: #fff;
            border-color: #1bbd9a;
            color: #142033;
        }

        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-title,
        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-subtitle,
        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-body,
        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-coupon strong,
        .testinar-marketing-popup.theme-clean .testinar-marketing-popup-disclaimer {
            color: #142033;
        }

        @media (max-width: 720px) {
            .testinar-marketing-popup {
                align-items: flex-end;
                padding: 0 12px 12px;
            }

            .testinar-marketing-popup-card {
                border-width: 7px;
                border-radius: 22px;
                gap: 14px;
                grid-template-columns: minmax(0, 1fr);
                max-height: 86vh;
                overflow-y: auto;
                padding: 20px 18px 22px;
                width: min(94vw, 390px);
            }

            .testinar-marketing-popup-media {
                margin: 0 auto;
                max-width: 190px;
            }

            .testinar-marketing-popup-title {
                font-size: 24px;
            }

            .testinar-marketing-popup-subtitle {
                font-size: 18px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .testinar-marketing-popup-card {
                transition: none;
            }
        }
