.gradient-preview {
            width: 100%;
            min-height: 280px;
            border-radius: 1rem;
            background: linear-gradient(135deg, #4158D0, #C850C0, #FFCC70);
            background-size: cover;
            transition: background 0.2s ease;
            border: 2px solid rgba(255,255,255,0.2);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        .color-stop-item {
            background: var(--light-gray, #f8f9fa);
            border-radius: 0.5rem;
            padding: 0.75rem;
            margin-bottom: 0.75rem;
            border-left: 3px solid var(--primary-color);
        }
        .stop-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            align-items: flex-end;
        }
        .stop-color {
            flex: 2;
            min-width: 110px;
        }
        .stop-position {
            flex: 1;
            min-width: 90px;
        }
        .remove-stop {
            flex-shrink: 0;
            align-self: center;
            margin-bottom: 0.25rem;
        }
        .preset-badge {
            background-color: rgba(70, 130, 180, 0.1);
            border: 1px solid rgba(70, 130, 180, 0.25);
            border-radius: 40px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        .preset-badge:hover {
            background-color: rgba(70, 130, 180, 0.25);
            transform: translateY(-2px);
        }
        .css-code-container {
            background-color: #1e1e2f;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1.5rem;
            position: relative;
        }
        .css-code {
            font-family: 'Fira Code', 'Courier New', monospace;
            font-size: 0.85rem;
            color: #f8f8f2;
            background: transparent;
            border: none;
            width: 100%;
            resize: vertical;
            outline: none;
            white-space: pre-wrap;
            word-break: break-all;
        }
        .copy-code-btn {
            position: absolute;
            top: 0rem;
            right: 0.75rem;
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            border-radius: 8px;
            padding: 0.25rem 0.75rem;
            font-size: 0.8rem;
        }
        .copy-code-btn:hover {
            background: rgba(255,255,255,0.4);
        }
        .angle-slider {
            width: 100%;
        }
        .angle-value {
            font-family: monospace;
            font-weight: 600;
        }
        .form-switch .form-check-input {
            cursor: pointer;
        }
        .gradient-option-group {
            background: #ffffff;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1rem;
            border: 1px solid #e9ecef;
        }