:root { 
            --accent-color: #2575fc;
            --hex-color: #e63946;
            --ascii-color: #2a9d8f;
            --binary-color: #f4a261;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
        }
       .page-header {
            background: linear-gradient(135deg, rgba(217, 198, 243, 0.4) 0%, rgba(106, 17, 203, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(106, 17, 203, 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);
        }
        .nav-tabs {
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .nav-tabs .nav-tabs .nav-tabs .nav-link:hover:not(.active) {
            color: var(--primary-color);
            background-color: rgba(106, 17, 203, 0.05);
        }
        .tab-pane {
            padding-top: 1.5rem;
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.15);
        }
        textarea.conversion-result {
            padding: 15px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.3rem;
            font-family: 'Courier New', monospace;
            margin: 10px 0;
            text-align: center;
            word-break: break-all;
        }
        .hex-display {
            color: var(--hex-color);
            font-weight: 700;
        }
        .ascii-display {
            color: var(--ascii-color);
            font-weight: 700;
        }
        .batch-results-container {
            overflow-x: auto;
            margin: 1.5rem 0;
        }
        .batch-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.95rem;
        }
        .batch-table th {
            background-color: var(--light-gray);
            padding: 1rem;
            text-align: left;
            border-bottom: 2px solid var(--border-color);
            font-weight: 600;
            color: var(--text-color);
            position: sticky;
            top: 0;
        }
        .batch-table td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid var(--border-color);
            vertical-align: top;
        }
        .batch-table tr:hover {
            background-color: rgba(106, 17, 203, 0.05);
        }
        .batch-table .hex-cell {
            font-family: 'Courier New', monospace;
            color: var(--hex-color);
            font-weight: 600;
        }
        .batch-table .ascii-cell {
            font-family: 'Courier New', monospace;
            color: var(--ascii-color);
            font-weight: 600;
        }
        .batch-table .error-cell {
            color: #dc3545;
            font-weight: 600;
        }
        .batch-controls {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
        }
        .batch-actions {
            display: flex;
            gap: 0.5rem;
        }
        .batch-info {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .hex-box {
            background-color: rgba(230, 57, 70, 0.05);
            border-left: 3px solid var(--hex-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .ascii-box {
            background-color: rgba(42, 157, 143, 0.05);
            border-left: 3px solid var(--ascii-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .batch-controls {
                flex-direction: column;
                gap: 1rem;
            }
        }
        .hex-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(106, 17, 203, 0.1);
            border: 1px solid rgba(106, 17, 203, 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(106, 17, 203, 0.2);
            transform: translateY(-2px);
        }
        .calculation-step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .ascii-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .ascii-table th, .ascii-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .ascii-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .ascii-table tr:nth-child(even) {
            background-color: rgba(106, 17, 203, 0.05);
        }
        .ascii-hex {
            font-family: 'Courier New', monospace;
            color: var(--hex-color);
            font-weight: 600;
        }
        .ascii-char {
            font-family: 'Courier New', monospace;
            color: var(--ascii-color);
            font-weight: 600;
        }
        .control-char {
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        .step-calculation {
            font-family: 'Courier New', monospace;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 1rem;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            margin: 1rem 0;
        }
        .calculation-line {
            margin: 0.5rem 0;
        }
        .calculation-result {
            font-weight: 700;
            color: var(--success-color);
            margin-left: 0.5rem;
        }
        .batch-examples {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .batch-example {
            background-color: rgba(106, 17, 203, 0.05);
            border: 1px solid rgba(106, 17, 203, 0.1);
            border-radius: 6px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .batch-example:hover {
            background-color: rgba(106, 17, 203, 0.1);
            transform: translateY(-2px);
        }
        .batch-example-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        .batch-example-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .batch-example-content {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 0.75rem;
            border-radius: 4px;
            border: 1px solid var(--border-color);
            overflow-x: auto;
            white-space: pre;
        }
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-muted);
        }
        .empty-state i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }
        .export-buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .ascii-char-display {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            margin: 2px;
            font-family: 'Courier New', monospace;
            background-color: white;
        }
        .hex-pair {
            display: inline-block;
            width: 40px;
            text-align: center;
            margin: 0 2px;
            color: var(--hex-color);
            font-family: 'Courier New', monospace;
        }
        .char-type-control {
            color: #dc3545;
            background-color: rgba(220, 53, 69, 0.1);
        }
        .char-type-printable {
            color: #28a745;
            background-color: rgba(40, 167, 69, 0.1);
        }
        .char-type-space {
            color: #007bff;
            background-color: rgba(0, 123, 255, 0.1);
        }
        .ascii-visualization {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin: 1rem 0;
        }
        .char-block {
            width: 40px;
            height: 40px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }
        .char-hex {
            color: var(--hex-color);
            font-weight: 600;
            font-size: 0.7rem;
        }
        .char-char {
            font-size: 1rem;
            font-weight: 600;
        }
        .format-options {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1rem 0;
        }
        .format-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        .format-option input {
            margin-right: 0.5rem;
        }