:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --math-color: #6f42c1;
            --calc-color: #e83e8c;
        }
    .page-header {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 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(44, 125, 160, 0.15);
        }
        .color-input {
            font-weight: bold;
            letter-spacing: 1px;
        }
        .color-preview-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 1.5rem 0;
        }
        .color-preview {
            width: 100%;
            height: 120px;
            border-radius: 8px;
            border: 1px solid #ddd;
            margin-bottom: 1rem;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        .color-details {
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
        .color-value {
            font-family: 'Courier New', monospace;
            font-weight: bold;
            padding: 0.5rem;
            background-color: rgba(0,0,0,0.05);
            border-radius: 4px;
            margin-top: 0.5rem;
        }
        .color-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.1rem;
            font-family: 'Courier New', monospace;
            margin: 10px 0;
            text-align: center;
        }
        .color-box {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 3px;
            vertical-align: middle;
            margin-right: 10px;
            border: 1px solid rgba(0,0,0,0.1);
        }
        .color-components {
            display: flex;
            justify-content: space-between;
            margin: 1.5rem 0;
        }
        .color-component {
            text-align: center;
            padding: 1rem;
            border-radius: 6px;
            background-color: white;
            border: 1px solid var(--border-color);
            flex: 1;
            margin: 0 0.5rem;
        }
        .component-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0.5rem 0;
        }
        .component-label {
            color: var(--text-muted);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .color-examples {
            display: none;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .color-example {
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
            cursor: pointer;
        }
        .color-example:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .example-color {
            height: 80px;
            width: 100%;
        }
        .example-info {
            padding: 0.75rem;
            background-color: white;
        }
        .example-hex {
            font-family: 'Courier New', monospace;
            font-weight: bold;
            margin-bottom: 0.25rem;
        }
        .example-rgb {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .color-box-highlight {
            background-color: rgba(255, 215, 0, 0.05);
            border-left: 3px solid #ffd700;
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .color-components {
                flex-direction: column;
            }
            .color-component {
                margin: 0.5rem 0;
            }
        }
        .color-slider-container {
            margin: 1.5rem 0;
        }
        .slider-group {
            margin-bottom: 1rem;
        }
        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        .slider-value {
            font-weight: bold;
            font-family: 'Courier New', monospace;
        }
        .slider {
            width: 100%;
            height: 8px;
            border-radius: 4px;
            outline: none;
            -webkit-appearance: none;
        }
        .slider-red {
            background: linear-gradient(to right, #000, #f00);
        }
        .slider-green {
            background: linear-gradient(to right, #000, #0f0);
        }
        .slider-blue {
            background: linear-gradient(to right, #000, #00f);
        }
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 2px solid #555;
            cursor: pointer;
        }
        .copy-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.25rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            margin-left: 0.5rem;position:inherit
        }
        .copy-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
        }
        .color-formats-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .color-formats-table th, .color-formats-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .color-formats-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .color-formats-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .color-harmony {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .harmony-color {
            flex: 1;
            min-width: 120px;
            height: 80px;
            border-radius: 6px;
            border: 1px solid rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 0.5rem;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }
        .harmony-label {
            font-size: 0.8rem;
            opacity: 0.9;
        }
        .dark-text {
            color: #333;
            text-shadow: 0 1px 1px rgba(255,255,255,0.5);
        }