.dynamic-card-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.dynamic-card-popup-overlay.hidden {
    display: none;
    opacity: 0;
}

.dynamic-card-popup-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: popupFadeIn_ad1ed8f6 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.dynamic-card-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.dynamic-card-popup-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.dynamic-card-popup-body {
    color: #334155;
}

.dynamic-card-popup-body h1,
.dynamic-card-popup-body h2,
.dynamic-card-popup-body h3,
.dynamic-card-popup-body h4 {
    margin-top: 0;
    color: #0f172a;
}

.dynamic-card-popup-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

@keyframes popupFadeIn_ad1ed8f6 {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}