.popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            animation: fadeIn 0.3s ease-in-out forwards;
            padding: 20px;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        .popup {
            background: #f5f5f5;
            border-radius: 8px;
            width: 100%;
            max-width: 520px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transform: scale(0.9);
            animation: popIn 0.3s ease-in-out 0.2s forwards;
            max-height: 90vh;
            overflow-y: auto;
        }

        @keyframes popIn {
            to {
                transform: scale(1);
            }
        }

        .popup-header {
            background: #0495af;
            color: white;
            padding: 10px;
            text-align: center;
            position: relative;
            border-radius: 8px 8px 0 0;
        }

        .popup-header h2 {
            font-size: 24px;
            font-weight: 600;
            color: #fff;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 28px;
            cursor: pointer;
            line-height: 1;
            padding: 5px 10px;
            transition: transform 0.2s;
        }

        .close-btn:hover {
            transform: scale(1.2);
        }

        .popup-content {
            padding: 10px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        input, select, textarea {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 15px;
            background: white;
            transition: border-color 0.3s;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #0891a5;
        }

        input::placeholder, textarea::placeholder {
            color: #999;
        }

        select {
            cursor: pointer;
            color: #666;
        }

        textarea {
            resize: vertical;
            min-height: 80px;
            font-family: Arial, sans-serif;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: #f80;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border-radius: 20px;
            transition: background 0.3s;
        }

        .submit-btn:hover {
            background: #0495af;
        }

        .submit-btn:active {
            transform: scale(0.98);
        }

        @media (max-width: 640px) {
            .popup {
                max-width: 100%;
                margin: 10px;
            }

            .popup-header {
                padding: 20px;
            }

            .popup-header h2 {
                font-size: 20px;
            }

            .popup-content {
                padding: 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 5px;
                margin-bottom: 5px;
            }
            .form-group {
                margin-bottom: 5px;
            }
            input, select, textarea {
                padding: 12px;
                font-size: 14px;
            }

            .submit-btn {
                padding: 14px;
            }
        }

        @media (max-width: 400px) {
            .popup-content {
                padding: 15px;
            }

            .popup-header {
                padding: 15px;
            }

            .close-btn {
                top: 10px;
                right: 15px;
            }
            .popup-overlay {
                position: fixed;
                top: -90px;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1000;
                opacity: 0;
                animation: fadeIn 0.3s ease-in-out forwards;
                padding: 20px;
            }
        }