:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --header-bg: #f0f4f8;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
        }
      .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 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);
        }
        .color-picker-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        @media (max-width: 768px) {
            .color-picker-container {
                grid-template-columns: 1fr;
            }
        }
        .picker-controls {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
        }
        .picker-preview {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
        }
        .color-preview {
            width: 100%;
            height: 200px;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        .color-preview:hover {
            transform: scale(1.01);
        }
        .color-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }
        .color-value-group {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid var(--border-color);
        }
        .value-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        .value-content {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            word-break: break-all;
        }
        .copy-btn {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
            margin-left: 0.5rem;
        }
        .copy-btn:hover {
            background-color: var(--light-gray);
        }
        .color-harmony {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .harmony-card {
            background-color: white;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            text-align: center;
        }
        .harmony-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        .harmony-colors {
            display: flex;
            height: 100px;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .harmony-color {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: all 0.3s;
        }
        .harmony-color:hover {
            transform: scale(1.05);
        }
        .color-palettes {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .palette-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
            cursor: pointer;
        }
        .palette-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }
        .palette-colors {
            display: flex;
            height: 100px;
        }
        .palette-color {
            flex: 1;
            transition: all 0.3s;
        }
        .palette-color:hover {
            flex: 1.5;
        }
        .palette-info {
            padding: 1rem;
        }
        .palette-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .palette-description {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .color-psychology {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .psychology-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            text-align: center;
        }
        .psychology-color {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .psychology-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .psychology-description {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .related-name {
            font-weight: 500;
            margin-bottom: 0.25rem;
        }
        .related-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .color-wheel-container {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
        }
        .color-wheel {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: conic-gradient(
                #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000
            );
            position: relative;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .color-wheel::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }
        .contrast-checker {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin: 1.5rem 0;
        }
        .contrast-preview {
            display: flex;
            height: 120px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .contrast-text {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
        }
        .contrast-result {
            text-align: center;
            padding: 1rem;
            border-radius: 6px;
            font-weight: 600;
        }
        .contrast-pass {
            background-color: #d4edda;
            color: #155724;
        }
        .contrast-fail {
            background-color: #f8d7da;
            color: #721c24;
        }
        .history-colors {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .history-color {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            cursor: pointer;
            border: 1px solid var(--border-color);
            transition: transform 0.3s;
        }
        .history-color:hover {
            transform: scale(1.1);
        }
        .design-tips {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .tip-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
        }
        .tip-icon {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        .tip-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .tip-content {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: rgba(44, 125, 160, 0.1);
            border-radius: 50%;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.3s;
        }
        .social-icon:hover {
            background-color: var(--primary-color);
            color: white;
        }
        .color-picker-tabs {
            margin-bottom: 1.5rem;
        }
        .tab-nav {
            display: flex;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .tab-btn {
            padding: 0.75rem 1.5rem;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .tab-btn:hover {
            color: var(--primary-color);
        }
        .tab-btn.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .image-preview-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1rem;
            position: relative;
        }
        #imagePreview {
            max-width: 100%;
            max-height: 300px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            cursor: crosshair;
            display: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        #imagePreview.active {
            display: block;
        }
        .image-upload-area {
            border: 2px dashed var(--border-color);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 1rem;
            background-color: var(--light-gray);
        }
        .image-upload-area:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        .image-upload-area i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        .image-upload-area p {
            margin-bottom: 0.5rem;
            color: var(--text-muted);
        }
        .image-upload-area small {
            color: var(--text-muted);
        }
        #fileInput {
            display: none;
        }
        .image-controls {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .image-color-info {
            display: flex;
            align-items: center;
            margin-top: 1rem;
            padding: 1rem;
            background-color: var(--light-gray);
            border-radius: 8px;
            border: 1px solid var(--border-color);
            display: none;
        }
        .image-color-info.active {
            display: flex;
        }
        .image-color-preview {
            width: 50px;
            height: 50px;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            margin-right: 1rem;
        }
        .image-color-details {
            flex: 1;
        }
        .image-color-position {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
        }
        .extracted-colors {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
            display: none;
        }
        .extracted-colors.active {
            display: grid;
        }
        .extracted-color-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: transform 0.3s;
        }
        .extracted-color-item:hover {
            transform: translateY(-5px);
        }
        .extracted-color-preview {
            width: 100%;
            height: 60px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            margin-bottom: 0.5rem;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .extracted-color-value {
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            font-weight: 600;
        }
        .magnifier {
            position: absolute;
            width: 100px;
            height: 100px;
            border: 2px solid white;
            border-radius: 50%;
            overflow: hidden;
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
            pointer-events: none;
            display: none;
            z-index: 1000;
        }
        .magnifier.active {
            display: block;
        }
        .magnifier-preview {
            width: 100%;
            height: 100%;
            transform: scale(2);
            transform-origin: 0 0;
        }
        .color-sampling-message {
            font-size: 0.9rem;
            color: var(--text-muted);
            text-align: center;
            margin-top: 0.5rem;
            display: none;
        }
        .color-sampling-message.active {
            display: block;
        }