.jp-webinar-popup {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.jp-webinar-popup.jp-is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .jp-webinar-popup {
        align-items: flex-end;
        justify-content: flex-end;
        background: transparent;
        padding: 24px;
    }
}

.jp-webinar-popup-inner {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid #f1f5f9;
    padding: 28px 24px 24px;
    max-width: 380px;
    width: 100%;
    font-family: inherit;
    transform: translateY(24px);
    transition: transform 0.3s ease;
}

.jp-webinar-popup.jp-is-visible .jp-webinar-popup-inner {
    transform: translateY(0);
}

.jp-webinar-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jp-webinar-popup-close:hover {
    background: #e2e8f0;
}

.jp-webinar-popup-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.jp-webinar-popup.jp-is-live .jp-webinar-popup-badge {
    background: #dcfce7;
    color: #16a34a;
}

.jp-webinar-popup.jp-is-live .jp-webinar-popup-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    margin-right: 6px;
}

.jp-webinar-popup-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
    padding-right: 24px;
}

.jp-webinar-popup-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
}

.jp-webinar-popup-next {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.jp-webinar-popup-next-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.jp-webinar-popup-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.jp-webinar-cd-unit {
    background: #0f172a;
    border-radius: 10px;
    padding: 10px 4px;
    text-align: center;
}

.jp-webinar-cd-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.jp-webinar-cd-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.jp-webinar-popup-note {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 16px;
}

.jp-webinar-popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #1d4ed8;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 18px;
    border-radius: 12px;
    box-sizing: border-box;
}

.jp-webinar-popup-cta:hover {
    background: #1e40af;
}
