
        :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;
            --strength-red: #dc3545;
            --strength-green: #198754;
            --strength-yellow: #ffc107;
            --strength-orange: #fd7e14;
            --strength-blue: #0d6efd;
        }
    
        
        /* Strength Summary */
        .strength-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .strength-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);
        }
        
        .strength-item h4 {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .strength-item .value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .strength-item .detail {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
         
        .strength-info-box {
            background-color: rgba(220, 53, 69, 0.05);
            border-left: 3px solid var(--strength-red);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
         
        /* Responsive Adjustments */
        @media (max-width: 768px) { 
            .strength-summary {
                grid-template-columns: 1fr;
            }
        }
        
        /* 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;
        }
        
        /* 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;
        }
        
        /* Mode-specific form styling */
        .mode-form {
            display: none;
        }
        
        .mode-form.active {
            display: block;
        }
        
        /* Comparison table */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .comparison-table th, .comparison-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .comparison-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* Strength-specific styling */
        .strength-alert {
            background-color: rgba(220, 53, 69, 0.1);
            border-left: 4px solid var(--strength-red);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 4px 4px 0;
        }
        
        .normal-range {
            color: var(--strength-green);
            font-weight: 600;
        }
        
        .abnormal-range {
            color: var(--strength-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);
        }
        
        /* Strength specific styles */
        .strength-input-group {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .strength-input {
            width: 120px;
            margin-right: 1rem;
        }
        
        .strength-separator {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--text-muted);
            margin: 0 0.5rem;
        }
        
        .strength-classification {
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 5px solid;
        }
        
        .strength-beginner {
            background-color: rgba(40, 167, 69, 0.1);
            border-left-color: var(--strength-green);
        }
        
        .strength-intermediate {
            background-color: rgba(13, 110, 253, 0.1);
            border-left-color: var(--strength-blue);
        }
        
        .strength-advanced {
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: var(--strength-yellow);
        }
        
        .strength-elite {
            background-color: rgba(220, 53, 69, 0.1);
            border-left-color: var(--strength-red);
        }
        
        .strength-chart-container {
            position: relative;
            height: 300px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .strength-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-beginner {
            background-color: var(--strength-green);
        }
        
        .status-intermediate {
            background-color: var(--strength-blue);
        }
        
        .status-advanced {
            background-color: var(--strength-yellow);
        }
        
        .status-elite {
            background-color: var(--strength-red);
        }
        
        .training-program-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background-color: white;
        }
        
        .program-header {
            background-color: var(--light-gray);
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .program-body {
            padding: 1rem;
        }
        
        .exercise-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .exercise-row:last-child {
            border-bottom: none;
        }
        
        .exercise-name {
            font-weight: 500;
        }
        
        .exercise-details {
            color: var(--text-muted);
        }
        
        /* Weight plate calculator */
        .plate-calculator {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 10px;
            margin: 1.5rem 0;
        }
        
        .plate-item {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        
        .plate-weight {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .plate-count {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        .barbell-info {
            background-color: rgba(44, 125, 160, 0.1);
            padding: 1rem;
            border-radius: 6px;
            margin: 1rem 0;
            text-align: center;
        }
        
        /* Unit switcher */
        .unit-switcher-container {
            display: flex;
            align-items: center;
            margin-left: auto;
            margin-right: 1rem;
        }
        
        .unit-switcher-label {
            margin-right: 0.5rem;
            font-weight: 500;
            color: var(--text-muted);
        }
        
        .unit-switcher {
            position: relative;
            display: inline-block;
            width: 90px;
            height: 34px;
        }
        
        .unit-switcher input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .unit-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .unit-slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .unit-slider {
            background-color: var(--primary-color);
        }
        
        input:checked + .unit-slider:before {
            transform: translateX(56px);
        }
        
        .unit-slider:after {
            content: "lbs";
            color: white;
            display: block;
            position: absolute;
            transform: translate(-50%, -50%);
            top: 50%;
            left: 25%;
            font-size: 10px;
            font-weight: 600;
        }
        
        input:checked + .unit-slider:after {
            content: "kg";
            left: 75%;
        }
        
        /* Body weight input */
        .body-weight-input {
            margin-top: 1rem;
        }
    