.gradient-preview {
            width: 100%;
            height: 280px;
            border-radius: 16px;
            border: 1px solid rgba(0,0,0,0.1);
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
            transition: background 0.2s ease;
            background-size: cover;
        }
        .css-code-block {
            background-color: #1e2a3a;
            color: #e2e8f0;
            padding: 1rem;
            border-radius: 12px;
            font-family: 'Courier New', 'Fira Code', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }
        .stop-item {
            background: #f8fafc;
            border-radius: 12px;
            padding: 0.75rem;
            margin-bottom: 0.75rem;
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
        }
        .stop-item:hover {
            border-color: #cbd5e1;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
        .preset-btn {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            transition: all 0.2s;
            cursor: pointer;
        }
        .preset-btn:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }
        .gradient-type-badge {
            cursor: pointer;
            padding: 8px 16px;
            border-radius: 40px;
            background: #f1f5f9;
            transition: all 0.2s;
            border: 1px solid transparent;
        }
        .gradient-type-badge.active {
            background: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }
        .angle-slider {
            width: 100%;
        }
        .radial-options, .conic-options {
            background: #f8fafc;
            padding: 1rem;
            border-radius: 16px;
            margin-top: 0.5rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 0.3rem;
        }