
        :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;
            --recovery-green: #198754;
            --recovery-yellow: #ffc107;
            --recovery-orange: #fd7e14;
            --recovery-red: #dc3545;
        }
         
        .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);
        }
         
        /* Recovery Summary */
        .recovery-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .recovery-item {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .recovery-item h4 {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .recovery-item .value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .recovery-item .detail {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
         
        .recovery-info-box {
            background-color: rgba(25, 135, 84, 0.05);
            border-left: 3px solid var(--recovery-green);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        
        /* Related Tools */
        .related-tools {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color); 
            margin-bottom: 1.5rem;
        }
        
        .related-title {
            font-weight: 600;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem; 
            color: var(--primary-color);
        }
         
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .recovery-summary {
                grid-template-columns: 1fr;
            }
        }
        
        /* Muscle group selector */
        .muscle-group-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .muscle-group-btn {
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            border: 1px solid var(--border-color);
            background-color: white;
            color: var(--text-color);
        }
        
        .muscle-group-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1050;
        }
        
        /* 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);
        }
        
        /* Range slider styling */
        .form-range {
            width: 100%;
            height: 1rem;
            padding: 0;
            background-color: transparent;
            -webkit-appearance: none;
        }
        
        .form-range:focus {
            outline: none;
        }
        
        .form-range::-webkit-slider-thumb {
            width: 1rem;
            height: 1rem;
            margin-top: -0.5rem;
            background-color: var(--primary-color);
            border: 0;
            border-radius: 1rem;
            -webkit-appearance: none;
        }
        
        .form-range::-webkit-slider-runnable-track {
            width: 100%;
            height: 0.5rem;
            cursor: pointer;
            animate: 0.2s;
            background: var(--light-gray);
            border-radius: 0.5rem;
        }
        
        .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;
        }
        
        /* Recovery-specific styling */
        .recovery-alert {
            background-color: rgba(220, 53, 69, 0.1);
            border-left: 4px solid var(--recovery-red);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 4px 4px 0;
        }
        
        .normal-range {
            color: var(--recovery-green);
            font-weight: 600;
        }
        
        .abnormal-range {
            color: var(--recovery-red);
            font-weight: 600;
        }
        
        .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);
        }
        
        /* Recovery progress indicator */
        .recovery-progress {
            margin: 1.5rem 0;
        }
        
        .progress-bar {
            height: 1.5rem;
            border-radius: 0.75rem;
            background-color: var(--light-gray);
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            border-radius: 0.75rem;
            background: linear-gradient(90deg, var(--recovery-red), var(--recovery-orange), var(--recovery-yellow), var(--recovery-green));
            transition: width 0.5s ease;
        }
        
        .progress-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Recovery status indicator */
        .recovery-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-inadequate {
            background-color: var(--recovery-red);
        }
        
        .status-minimal {
            background-color: var(--recovery-orange);
        }
        
        .status-adequate {
            background-color: var(--recovery-yellow);
        }
        
        .status-optimal {
            background-color: var(--recovery-green);
        }
        
        /* Timeline */
        .recovery-timeline {
            margin: 2rem 0;
        }
        
        .timeline-item {
            display: flex;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .timeline-item:last-child {
            margin-bottom: 0;
        }
        
        .timeline-marker {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: white;
            border: 3px solid var(--primary-color);
            margin-right: 1rem;
            flex-shrink: 0;
            z-index: 1;
        }
        
        .timeline-content {
            flex: 1;
            padding-bottom: 1.5rem;
            border-left: 2px solid var(--border-color);
            padding-left: 1rem;
            margin-left: -13px;
        }
        
        .timeline-item:last-child .timeline-content {
            border-left: 2px solid transparent;
        }
        
        .timeline-time {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }
        
        .timeline-desc {
            color: var(--text-color);
        }
        
        /* Exercise type cards */
        .exercise-type-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .exercise-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .exercise-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .exercise-card.active {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .exercise-icon {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            text-align: center;
        }
        
        .exercise-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            text-align: center;
        }
        
        .exercise-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            text-align: center;
        }
        
        /* Workout intensity visualization */
        .intensity-visualization {
            display: flex;
            align-items: center;
            margin: 1rem 0;
        }
        
        .intensity-bar {
            flex: 1;
            height: 1rem;
            border-radius: 0.5rem;
            background: linear-gradient(90deg, #e9f5db, #cfe1b9, #b5c99a, #97a97c, #87986a, #718355);
            position: relative;
        }
        
        .intensity-marker {
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: white;
            border: 2px solid var(--primary-color);
            top: -4px;
            transform: translateX(-50%);
        }
        
        .intensity-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        /* Training schedule table */
        .schedule-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .schedule-table th, .schedule-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        
        .schedule-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .schedule-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .schedule-status {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .status-recommended {
            background-color: rgba(25, 135, 84, 0.1);
            color: var(--recovery-green);
        }
        
        .status-possible {
            background-color: rgba(255, 193, 7, 0.1);
            color: var(--recovery-yellow);
        }
        
        .status-not-recommended {
            background-color: rgba(220, 53, 69, 0.1);
            color: var(--recovery-red);
        }
    