﻿/* Tool-specific overrides */
        .color-preview-box {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .swatch {
            width: 150px;
            height: 150px;
            border-radius: 12px;
            border: 4px solid var(--panel-border);
            transition: background-color 0.2s;
        }

        .tabs-container {
            justify-content: center;
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        a.tab-btn {
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 1px solid var(--panel-border);
            padding: 0.6rem 1.2rem;
            border-radius: 12px;
            color: var(--text-muted);
            font-weight: 500;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.03);
            font-size: 0.9rem;
        }

        a.tab-btn:hover {
            background: var(--hover-bg);
            color: var(--text-color);
            transform: translateY(-2px);
        }

        a.tab-btn.active {
            background: var(--accent-color);
            color: #fff;
            border-color: var(--accent-color);
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .converter-form {
            display: grid;
            gap: 1.5rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .form-control {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        input[type="text"] {
            background: var(--bg-color);
            border: 1px solid var(--panel-border);
            color: var(--text-color);
            padding: 1rem;
            border-radius: 12px;
            font-family: monospace;
            font-size: 1.1rem;
            width: 100%;
            outline: none;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus {
            border-color: var(--accent-color);
        }
