
        :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;
            --medical-red: #dc3545;
            --medical-green: #198754;
            --medical-yellow: #ffc107;
            --medical-orange: #fd7e14;
        }
         
        .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);
        }
         
        
        /* INR Range Indicators */
        .inr-range-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .inr-range-card {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            text-align: center;
            transition: all 0.3s;
        }
        
        .inr-range-card.active {
            border: 3px solid;
            transform: scale(1.03);
        }
        
        .inr-range-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .inr-range-value {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .inr-range-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
         
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .inr-range-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* INR Classification */
        .inr-classification {
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 5px solid;
        }
        
        .inr-subtherapeutic {
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: var(--medical-yellow);
        }
        
        .inr-therapeutic {
            background-color: rgba(40, 167, 69, 0.1);
            border-left-color: var(--medical-green);
        }
        
        .inr-supratherapeutic {
            background-color: rgba(220, 53, 69, 0.1);
            border-left-color: var(--medical-red);
        }
        
        /* Warfarin Dose Calculator */
        .dose-calculator {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid rgba(44, 125, 160, 0.2);
        }
        
        /* Action buttons */
        .action-btn {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.5rem 1rem;
            margin-left: 0.5rem;
            transition: all 0.3s;
            color: var(--text-color);
        }
        
        .action-btn:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }
        
        /* Input group styling */
        .input-group {
            margin-bottom: 1rem;
        }
        
        /* Reference table */
        .reference-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .reference-table th, .reference-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        
        .reference-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .reference-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .generating-indicator {
            display: none;
            text-align: center;
            padding: 1rem;
            color: var(--text-muted);
        }
        
        /* INR-specific styles */
        .inr-formula-box {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid rgba(44, 125, 160, 0.2);
        }
        
        .formula-text {
            font-family: 'Courier New', monospace;
            font-size: 1.1rem;
            color: var(--accent-color);
            margin-bottom: 0.5rem;
        }
        
        .formula-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        
        .inr-applications {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .application-card {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .application-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-size: 1.25rem;
        }
        
        .application-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .application-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* Anticoagulation therapy indicators */
        .therapy-category {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-right: 0.5rem;
        }
        
        .therapy-afib {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        
        .therapy-dvt {
            background-color: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }
        
        .therapy-mechvalve {
            background-color: rgba(108, 117, 125, 0.1);
            color: #6c757d;
        }
        
        /* INR chart styling */
        .inr-chart-container {
            position: relative;
            height: 350px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1050;
        }
        
        /* Color-coded INR value display */
        .inr-value-display {
            font-size: 2rem;
            font-weight: 800;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            margin: 1rem 0;
        }
        
        .inr-low {
            color: #ffc107;
            background-color: rgba(255, 193, 7, 0.1);
            border: 2px solid #ffc107;
        }
        
        .inr-normal {
            color: #28a745;
            background-color: rgba(40, 167, 69, 0.1);
            border: 2px solid #28a745;
        }
        
        .inr-high {
            color: #dc3545;
            background-color: rgba(220, 53, 69, 0.1);
            border: 2px solid #dc3545;
        }
        
        /* Bleeding risk indicator */
        .risk-indicator {
            width: 100%;
            height: 20px;
            background: linear-gradient(to right, #28a745, #ffc107, #dc3545);
            border-radius: 10px;
            margin: 1rem 0;
            position: relative;
        }
        
        .risk-marker {
            position: absolute;
            top: -5px;
            width: 10px;
            height: 30px;
            background-color: #333;
            border-radius: 5px;
            transform: translateX(-50%);
        }
        
        /* Toggle switch for calculation method */
        .calculation-method {
            display: flex;
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 4px;
            margin-bottom: 1.5rem;
        }
        
        .method-btn {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        
        .method-btn.active {
            background-color: var(--primary-color);
            color: white;
        }
    