
        .controls {
            position: absolute;
            top: 10px;
            left: 5px;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            max-width: 300px;
            font-family: Arial, sans-serif;
            z-index: 1000;
        }

        .controls p {
            margin: 8px 0;
            font-size: 14px;
            color: #333;
        }

        .controls strong {
            color: #d32f2f;
        }
		        /* 颜色选择器 - 小方块 */
        .color-picker {
            display: flex;
            gap: 15px;
            /* 按钮间距 */
            margin: 15px 0;
            flex-wrap: wrap;
        }

        .color-btn {
            width: 11px;
            height: 13px;
            border: 1px solid #aaa;
            /* 默认边框 */
            cursor: pointer;
            transition: all 0.2s ease;
        }

        /* 鼠标悬停效果 */
        .color-btn:hover {
            transform: scale(1.1);
            border: 1px solid #555;
        }

        /* 选中状态：白色边框 + 阴影 */
        .color-btn.active,
        .color-btn[style*="border: 2px solid white"] {
            border: 2px solid white !important;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
            outline: 1px solid rgba(255, 255, 255, 0.6);
            /* 增强可见性 */
        }

        /* 线型选择器 */
        .linestyle-picker {
            display: flex;
            gap: 6px;
            margin: 5px 0;
        }

        .style-btn {
            padding: 4px 8px;
            font-size: 12px;
            border: 1px solid #999;
            background: #f8f8f8;
            color: #333;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .style-btn.active {
            background: #007cbf;
            color: white;
            border-color: #005a8e;
        }

        .style-btn:hover:not(.active) {
            background: #ddd;
        }

        .btn-group button {
            display: block;
            width: 100%;
            margin: 5px 0;
            padding: 8px 12px;
            font-size: 14px;
            cursor: pointer;
            background: #4285f4;
            color: white;
            border: none;
            border-radius: 4px;
        }

        .btn-group button:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .popup-content h4 {
            margin-top: 0;
            color: #333;
            font-size: 16px;
        }

        .popup-content input[type="text"] {
            width: 100%;
            padding: 6px;
            margin: 8px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }

        .popup-content .photo-preview {
            margin: 10px 0;
            min-height: 50px;
            max-height: 150px;
            overflow: hidden;
            border: 1px dashed #ccc;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f9f9f9;
            color: #666;
            font-size: 12px;
            text-align: center;
        }

        .popup-content img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
        }

        .popup-content button#saveInfoBtn {
            background: #28a745;
            color: white;
            border: none;
            padding: 6px 10px;
            cursor: pointer;
            border-radius: 4px;
            font-size: 14px;
        }