:root {
    
            --accent-color: #f72585;
            --warning-color: #ff9e00;
            --success-color: #4cc9f0;
            --light-bg: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
        }
    
        .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);
        }
        .law-equation {
            font-size: 1.5rem;
            padding: 15px;
            background-color: rgba(67, 97, 238, 0.05);
            border-left: 4px solid var(--primary-color);
            border-radius: 4px;
            margin: 15px 0;
            text-align: center;
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
        }
        .warning-box {
            background-color: rgba(255, 158, 0, 0.05);
            border-left: 3px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
 
        .example-btn {
            background-color: rgba(67, 97, 238, 0.1);
            border: 1px solid rgba(67, 97, 238, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-btn:hover {
            background-color: rgba(67, 97, 238, 0.2);
            transform: translateY(-2px);
        }
        .calculation-step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .unit-selector {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .unit-option {
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            background-color: #f0f0f0;
            cursor: pointer;
            transition: all 0.2s;
        }
        .unit-option.active {
            background-color: var(--primary-color);
            color: white;
        }
        .osmosis-visualization {
            width: 100%;
            height: 200px;
            border: 2px solid #ddd;
            border-radius: 8px;
            margin: 1.5rem 0;
            position: relative;
            overflow: hidden;
            background-color: #f8f9fa;
        }
        .semipermeable-membrane {
            position: absolute;
            top: 0;
            left: 50%;
            width: 4px;
            height: 100%;
            background-color: #6c757d;
            transform: translateX(-50%);
            z-index: 10;
        }
        .solution-side {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            transition: height 0.5s ease;
        }
        .solvent-side {
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        .solution-liquid {
            background-color: rgba(67, 97, 238, 0.3);
            width: 100%;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            transition: height 0.5s ease;
        }
        .solvent-liquid {
            background-color: rgba(76, 201, 240, 0.3);
            width: 100%;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            transition: height 0.5s ease;
        }
        .solution-label {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.9rem;
        }
        .pressure-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(247, 37, 133, 0.9);
            color: white;
            padding: 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        .graph-legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 1rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
        }
        .legend-color {
            width: 20px;
            height: 4px;
            margin-right: 0.5rem;
        }
        .concentration-color {
            background-color: rgba(67, 97, 238, 0.8);
        }
        .pressure-color {
            background-color: rgba(247, 37, 133, 0.8);
        }
        .preset-scenario {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 1rem;
            margin-bottom: 1rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .preset-scenario:hover {
            border-color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
        }
        .preset-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }
        .preset-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .solute-selector {
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 0.75rem;
            margin-bottom: 1rem;
        }
        .solute-option {
            padding: 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .solute-option:hover {
            background-color: rgba(67, 97, 238, 0.1);
        }
        .solute-option.active {
            background-color: rgba(67, 97, 238, 0.2);
            border-left: 3px solid var(--primary-color);
        }
        .concentration-inputs {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .concentration-input {
            flex: 1;
        }
        .table-responsive {
            margin-top: 1rem;
        }
        .data-table th {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary-color);
            font-weight: 600;
        }
        .highlight {
            background-color: rgba(76, 201, 240, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        .solubility-indicator {
            height: 10px;
            background: linear-gradient(to right, #4cc9f0, #4361ee, #3a0ca3, #f72585);
            border-radius: 5px;
            margin: 0.5rem 0;
            position: relative;
        }
        .solubility-marker {
            position: absolute;
            top: -5px;
            width: 20px;
            height: 20px;
            background-color: white;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            transform: translateX(-50%);
        }