            .popup-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.7);
                z-index: 1000;
                justify-content: center;
                align-items: center;
            }

            .popup-content {
                background-color: white;
                border-radius: 10px;
                width: 80%;
                max-width: 900px;
                height: 80%;
                display: flex;
                flex-direction: column;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
                position: relative;
                min-width: 300px;
                min-height: 200px;
                transition: all 0.2s ease;
            }

            .popup-header {
                padding: 15px 20px;
                border-bottom: 1px solid #eee;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .popup-controls {
                display: flex;
                gap: 10px;
            }

            .popup-title {
                font-size: 18px;
                font-weight: bold;
            }

            .close-btn,
            .resize-btn {
                background: none;
                border: none;
                font-size: 16px;
                cursor: pointer;
                color: #777;
                padding: 0 5px;
            }

            .close-btn {
                font-size: 20px;
            }

            .close-btn:hover,
            .resize-btn:hover {
                color: #333;
            }

            .popup-body {
                flex: 1;
                padding: 0;
                overflow: hidden;
            }

            .iframe-container {
                width: 100%;
                height: 100%;
            }

            iframe {
                width: 100%;
                height: 100%;
                border: none;
            }

            .loading {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                font-size: 18px;
                color: #555;
            }

            .resize-handle {
                position: absolute;
                right: 0;
                bottom: 0;
                width: 15px;
                height: 15px;
                cursor: nwse-resize;
                background: linear-gradient(135deg, #ccc 0%, #ccc 50%, transparent 50%);
            }

            .popup-content.maximized {
                width: 95% !important;
                height: 95% !important;
                max-width: none !important;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }