        :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;
        }
        
       
        
        /* Toggle switch for calculation modes */
        .calculation-modes {
            display: flex;
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 4px;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .mode-btn {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            min-width: 120px;
            margin: 2px;
        }
        
        .mode-btn.active {
            background-color: var(--primary-color);
            color: white;
        }
         
        
        .slider-value {
            background-color: var(--primary-color);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }
        
        /* Input group styling */
        .input-group {
            margin-bottom: 1rem;
        }
        
        /* Mode-specific form styling */
        .mode-form {
            display: none;
        }
        
        .mode-form.active {
            display: block;
        }
        
      
        
        /* Liquid selection */
        .liquid-option {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .liquid-option:hover {
            background-color: rgba(44, 125, 160, 0.1);
        }
        
        .liquid-option.selected {
            background-color: rgba(44, 125, 160, 0.2);
            border: 1px solid var(--primary-color);
        }
        
        .liquid-color {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 10px;
            border: 1px solid #ddd;
        }
        
        
        /* Temperature adjustment info */
        .temperature-info {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }
        
        /* Unit selector */
        .unit-selector {
            display: flex;
            margin-bottom: 1rem;
        }
        
        .unit-option {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .unit-option:first-child {
            border-radius: 6px 0 0 6px;
        }
        
        .unit-option:last-child {
            border-radius: 0 6px 6px 0;
        }
        
        .unit-option.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Advanced options */
        .advanced-options {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1rem;
            margin-top: 1rem;
        }
        
        .advanced-toggle {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .advanced-content {
            margin-top: 1rem;
            display: none;
        }
        
        .advanced-content.show {
            display: block;
        }

        /* Input validation styles */
        .is-invalid {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }

        .invalid-feedback {
            display: none;
            width: 100%;
            margin-top: 0.25rem;
            font-size: 0.875em;
            color: #dc3545;
        }

        .is-invalid ~ .invalid-feedback {
            display: block;
        }
    