: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;
            --hot-color: #e83e8c;
            --cold-color: #20c997;
            --celsius-color: #0d6efd;
            --kelvin-color: #6f42c1;
            --fahrenheit-color: #dc3545;
            --rankine-color: #fd7e14;
        }
      .page-header {
            background: linear-gradient(135deg, rgba(111, 66, 193, 0.1) 0%, rgba(13, 110, 253, 0.2) 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);
        }
        .conversion-card {
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .conversion-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border-color);
        }
        .conversion-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: rgba(111, 66, 193, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--kelvin-color);
            font-size: 1.2rem;
        }
        .conversion-result {
            padding: 15px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.3rem;
            margin: 10px 0;
            text-align: center;
            font-weight: 600;
            color: var(--kelvin-color);
        }
        .formula-box {
            background-color: rgba(111, 66, 193, 0.1);
            border-left: 4px solid var(--kelvin-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
            font-family: 'Courier New', monospace;
        }
        .temperature-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .comparison-item {
            background: white;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            text-align: center;
            transition: all 0.3s;
        }
        .comparison-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .comparison-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--kelvin-color);
            margin-bottom: 0.5rem;
        }
        .comparison-label {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .celsius-box {
            background-color: rgba(13, 110, 253, 0.05);
            border-left: 3px solid var(--celsius-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .kelvin-box {
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 3px solid var(--kelvin-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .thermodynamics-box {
            background-color: rgba(220, 53, 69, 0.05);
            border-left: 3px solid var(--fahrenheit-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .temperature-comparison {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
        .conversion-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(111, 66, 193, 0.1);
            border: 1px solid rgba(111, 66, 193, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--kelvin-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-btn:hover {
            background-color: rgba(111, 66, 193, 0.2);
            transform: translateY(-2px);
        }
        .conversion-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .conversion-table th, .conversion-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .conversion-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .conversion-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .absolute-zero-box {
            background: linear-gradient(to bottom, #1e3c72, #2a5298, #3a6bc2, #4a85e6, #5a9fff);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .absolute-zero-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(to right, #6f42c1, #20c997, #0d6efd, #ffc107, #dc3545);
        }
        .temperature-scale {
            height: 300px;
            background: linear-gradient(to top, #1e3c72, #2a5298, #3a6bc2, #4a85e6, #5a9fff, #6ab9ff, #7ad3ff, #8aedff);
            border-radius: 8px;
            margin: 1.5rem 0;
            position: relative;
            border: 1px solid var(--border-color);
        }
        .scale-label {
            position: absolute;
            font-weight: 600;
            font-size: 0.9rem;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 2px 6px;
            border-radius: 4px;
        }
        .scale-marker {
            position: absolute;
            width: 100%;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.7);
        }
        .mode-toggle {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }
        .mode-btn {
            flex: 1;
            padding: 0.75rem 1rem;
            background-color: var(--light-gray);
            border: none;
            font-weight: 600;
            color: var(--text-muted);
            transition: all 0.3s;
            cursor: pointer;
        }
        .mode-btn.active {
            background-color: var(--kelvin-color);
            color: white;
        }
        .mode-btn:not(.active):hover {
            background-color: rgba(111, 66, 193, 0.1);
        }
        .unit-badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }
        .celsius-badge {
            background-color: rgba(13, 110, 253, 0.1);
            color: #0d6efd;
        }
        .kelvin-badge {
            background-color: rgba(111, 66, 193, 0.1);
            color: #6f42c1;
        }
        .fahrenheit-badge {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        .rankine-badge {
            background-color: rgba(253, 126, 20, 0.1);
            color: #fd7e14;
        }
        .scientific-notation {
            font-family: 'Courier New', monospace;
            background-color: rgba(0, 0, 0, 0.05);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        .temp-absolute-zero {
            color: #5a9fff;
            font-weight: 600;
        }
        .temp-cryogenic {
            color: #3a6bc2;
            font-weight: 600;
        }
        .temp-cold {
            color: #20c997;
            font-weight: 600;
        }
        .temp-room {
            color: #ffc107;
            font-weight: 600;
        }
        .temp-hot {
            color: #e83e8c;
            font-weight: 600;
        }
        .temp-extreme {
            color: #dc3545;
            font-weight: 600;
        }
        .constants-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }
        .constants-table th, .constants-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .constants-table th {
            font-weight: 600;
            background-color: rgba(44, 125, 160, 0.05);
        }
        .temp-slider-container {
            margin: 1.5rem 0;
        }
        .temp-slider {
            width: 100%;
            height: 10px;
            border-radius: 5px;
            background: linear-gradient(to right, #1e3c72, #2a5298, #3a6bc2, #4a85e6, #5a9fff, #7ad3ff, #aaffd4, #ffff48, #ffd52e, #ff9307, #ff5100);
            outline: none;
            -webkit-appearance: none;
        }
        .temp-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: white;
            border: 2px solid var(--kelvin-color);
            cursor: pointer;
        }
        .temp-slider::-moz-range-thumb {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: white;
            border: 2px solid var(--kelvin-color);
            cursor: pointer;
        }
        .thermo-visual {
            display: flex;
            justify-content: space-around;
            margin: 1.5rem 0;
        }
        .thermo-item {
            text-align: center;
            padding: 1rem;
        }
        .thermo-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        .thermo-label {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .thermo-value {
            font-size: 1.1rem;
            color: var(--text-muted);
        }