: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;
            --error-color: #dc3545;
            --binary-color: #6f42c1;
            --decimal-color: #e83e8c;
            --fraction-color: #17a2b8;
        }
        .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);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
        }
        .conversion-result {
            padding: 15px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.4rem;
            font-family: 'Courier New', monospace;
            margin: 15px 0;
            text-align: center;
        }
        .binary-box {
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 4px solid var(--binary-color);
            padding: 15px;
            border-radius: 4px;
            margin: 15px 0;
            word-break: break-all;
        }
        .decimal-box {
            background-color: rgba(232, 62, 140, 0.05);
            border-left: 4px solid var(--decimal-color);
            padding: 15px;
            border-radius: 4px;
            margin: 15px 0;
        }
        .fraction-box {
            background-color: rgba(23, 162, 184, 0.05);
            border-left: 4px solid var(--fraction-color);
            padding: 15px;
            border-radius: 4px;
            margin: 15px 0;
        }
        .conversion-steps {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .bit-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin: 20px 0;
            gap: 10px;
        }
        .bit-card {
            width: 60px;
            height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            background-color: white;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        .bit-card.active {
            background-color: rgba(111, 66, 193, 0.1);
            border-color: var(--binary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(111, 66, 193, 0.15);
        }
        .bit-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        .bit-position {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .bit-weight {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--decimal-color);
            margin-top: 5px;
        }
        .warning-box {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 3px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .error-box {
            background-color: rgba(220, 53, 69, 0.05);
            border-left: 3px solid var(--error-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .bit-card {
                width: 50px;
                height: 70px;
            }
        }
        .decimal-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Courier New', monospace;
        }
        .example-btn:hover {
            background-color: rgba(44, 125, 160, 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: center;
            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);
        }
        .conversion-table .binary-cell {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }
        .conversion-table .decimal-cell {
            font-weight: 600;
            color: var(--decimal-color);
        }
        .binary-color {
            color: var(--binary-color);
        }
        .decimal-color {
            color: var(--decimal-color);
        }
        .fraction-color {
            color: var(--fraction-color);
        }
        .number-type-tabs {
            display: flex;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .number-type-tab {
            padding: 0.75rem 1.5rem;
            background: none;
            border: none;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }
        .number-type-tab.active {
            color: var(--primary-color);
        }
        .number-type-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--primary-color);
        }
        .number-type-content {
            display: none;
        }
        .number-type-content.active {
            display: block;
        }
        .step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }
        .step:last-child {
            border-bottom: none;
        }
        .step-content {
            margin-top: 0.5rem;
        }
        .division-step {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
            font-family: 'Courier New', monospace;
        }
        .division-number {
            font-weight: bold;
            margin-right: 1rem;
        }
        .division-result {
            margin-left: 1rem;
        }
        .multiplication-step {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
            font-family: 'Courier New', monospace;
        }
        .bit-representation {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin: 1rem 0;
        }
        .bit {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: white;
            border: 2px solid #e0e0e0;
            border-radius: 4px;
            font-weight: bold;
            font-size: 1.2rem;
        }
        .bit.one {
            background-color: rgba(111, 66, 193, 0.1);
            border-color: var(--binary-color);
        }
        .bit.position {
            font-size: 0.7rem;
            color: #666;
            margin-top: 0.25rem;
        }
        .binary-group {
            font-family: 'Courier New', monospace;
            font-size: 1.4rem;
            letter-spacing: 2px;
        }
        .binary-group .group {
            margin: 0 5px;
            padding: 2px 5px;
            border-radius: 3px;
        }
        .binary-group .group:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .usage-step .input-error {
            border-color: var(--error-color) !important;
            background-color: rgba(220, 53, 69, 0.05) !important;
        }
        .validation-message {
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }
        .validation-message.error {
            color: var(--error-color);
        }
        .validation-message.warning {
            color: var(--warning-color);
        }
        .limitation-notice {
            background-color: rgba(255, 193, 7, 0.1);
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 6px;
            padding: 0.75rem 1rem;
            margin: 1rem 0;
            font-size: 0.9rem;
        }
        .float-representation {
            background-color: white;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            margin: 1rem 0;
            font-family: 'Courier New', monospace;
        }
        .float-parts {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin: 1rem 0;
        }
        .float-part {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.5rem;
            border-radius: 4px;
            background-color: var(--light-gray);
        }
        .float-part.sign {
            background-color: rgba(44, 125, 160, 0.1);
        }
        .float-part.exponent {
            background-color: rgba(23, 162, 184, 0.1);
        }
        .float-part.mantissa {
            background-color: rgba(111, 66, 193, 0.1);
        }
        .float-part-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
        }
        .float-part-value {
            font-weight: bold;
            font-size: 1.1rem;
        }
        .float-part-bits {
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            font-weight: bold;
        }