/* Dynamic Popup Style 2 - Centered Dialog with Left Image & Right Content */
.dynamic-popup-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dynamic-popup-2.show {
    opacity: 1;
    visibility: visible;
}

.dynamic-popup-2 .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.dynamic-popup-2 .popup-content {
    position: relative;
    width: 900px;
    max-width: 90%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dynamic-popup-2.show .popup-content {
    transform: scale(1);
}

.dynamic-popup-2 .popup-image-container {
    flex: 1;
    min-height: 370px;
}

.dynamic-popup-2 .popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dynamic-popup-2 .popup-body {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.dynamic-popup-2 .popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.dynamic-popup-2 .popup-summary {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dynamic-popup-2 .popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dynamic-popup-2 .popup-input {
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dynamic-popup-2 .popup-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.dynamic-popup-2 .popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.dynamic-popup-2 .popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.dynamic-popup-2 .popup-close svg {
    width: 18px;
    height: 18px;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dynamic-popup-2 .popup-content {
        width: 95%;
        max-width: none;
        flex-direction: column;
        margin: 1rem;
    }

    .dynamic-popup-2 .popup-image-container {
        min-height: 200px;
    }

    .dynamic-popup-2 .popup-body {
        padding: 1.5rem;
    }

    .dynamic-popup-2 .popup-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .dynamic-popup-2 .popup-image-container {
        min-height: 150px;
    }

    .dynamic-popup-2 .popup-body {
        padding: 1rem;
    }

    .dynamic-popup-2 .popup-title {
        font-size: 1.125rem;
    }

    .dynamic-popup-2 .popup-image {
        height: 120px;
    }

    .dynamic-popup-2 .popup-close {
        top: 0.5rem;
        left: 0.5rem;
        width: 36px;
        height: 36px;
    }
}