:root {
 
            --secondary-color: #d9c6f3;
            --accent-color: #4a1e9e;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --colorful-gradient: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
        }
       .page-header {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(111, 66, 193, 0.2) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(111, 66, 193, 0.2);
            position: relative;
            overflow: hidden; color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.15);
        }
        .color-preview {
            width: 100%;
            height: 120px;
            border-radius: 8px;
            border: 1px solid #ddd;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .color-info {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            border: 1px solid var(--border-color);
        }
        .color-value {
            font-family: 'Courier New', monospace;
            font-size: 1.2rem;
            font-weight: 600;
            padding: 0.75rem;
            background-color: white;
            border-radius: 4px;
            margin-bottom: 0.5rem;
            text-align: center;
            border: 1px solid #eee;
            color: var(--primary-color);
        }
        .color-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 1rem;
        }
        .color-slider-container {
            margin-bottom: 1.5rem;
        }
        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        .slider-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        .slider {
            width: 100%;
            height: 10px;
            border-radius: 5px;
            outline: none;
            -webkit-appearance: none;
        }
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            border: 2px solid var(--primary-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        #hueSlider {
            background: linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
        }
        #saturationSlider {
            background: linear-gradient(to right, hsl(0, 0%, 50%), hsl(0, 100%, 50%));
        }
        #lightnessSlider {
            background: linear-gradient(to right, #000000, #808080, #ffffff);
        }
        #redSlider {
            background: linear-gradient(to right, #000000, #ff0000);
        }
        #greenSlider {
            background: linear-gradient(to right, #000000, #00ff00);
        }
        #blueSlider {
            background: linear-gradient(to right, #000000, #0000ff);
        }
        .color-palette {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            gap: 0.75rem;
            margin: 1.5rem 0;
        }
        .color-swatch {
            height: 70px;
            border-radius: 6px;
            cursor: pointer;
            border: 1px solid #ddd;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .color-swatch:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .color-swatch::after {
            content: attr(data-color);
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            font-size: 0.7rem;
            padding: 2px;
            text-align: center;
            border-radius: 0 0 6px 6px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .color-swatch:hover::after {
            opacity: 1;
        }
        .conversion-toggle {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
        }
        .toggle-label {
            display: flex;
            align-items: center;
            margin: 0 1rem;
            font-weight: 600;
            color: var(--text-color);
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            margin: 0 1rem;
        }
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider-toggle {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 30px;
        }
        .slider-toggle:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider-toggle {
            background-color: var(--primary-color);
        }
        input:checked + .slider-toggle:before {
            transform: translateX(30px);
        }
        .formula-box {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 4px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
            font-family: 'Courier New', monospace;
            overflow-x: auto;
        }
        @media (max-width: 768px) {
            .color-palette {
                grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            }
        }
        .color-examples {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .color-example {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: transform 0.3s;
        }
        .color-example:hover {
            transform: translateY(-5px);
        }
        .example-swatch {
            width: 100%;
            height: 60px;
            border-radius: 6px;
            border: 1px solid #ddd;
            margin-bottom: 0.5rem;
        }
        .color-harmonies {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .harmony-item {
            text-align: center;
        }
        .harmony-swatch {
            width: 100%;
            height: 40px;
            border-radius: 4px;
            border: 1px solid #ddd;
            margin-bottom: 0.5rem;
        }
        .color-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .hsl-badge {
            background-color: rgba(111, 66, 193, 0.1);
            color: var(--primary-color);
        }
        .rgb-badge {
            background-color: rgba(255, 107, 107, 0.1);
            color: #ff6b6b;
        }
        .hex-badge {
            background-color: rgba(78, 205, 196, 0.1);
            color: #4ecdc4;
        }
        .css-code {
            background-color: #2d2d2d;
            color: #f8f8f2;
            padding: 1rem;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            overflow-x: auto;
            margin: 1.5rem 0;
        }
        .css-code .property {
            color: #66d9ef;
        }
        .css-code .value {
            color: #a6e22e;
        }
        .css-code .comment {
            color: #75715e;
        }