        :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;
            --fitness-green: #20c997;
            --fitness-orange: #fd7e14;
            --fitness-blue: #0dcaf0;
            --fitness-purple: #6f42c1;
        }
         
        .fitness-info-box {
            background-color: rgba(32, 201, 151, 0.05);
            border-left: 3px solid var(--fitness-green);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
         
 
        
        /* 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);
        }
        
        /* Mode-specific form styling */
        .mode-form {
            display: none;
        }
        
        .mode-form.active {
            display: block;
        }
        
        /* Distance visualization */
        .distance-visualization {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin: 1.5rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .visualization-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .visualization-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary-color);
            font-size: 1.2rem;
        }
        
        .visualization-text {
            flex: 1;
        }
        
        .visualization-text h5 {
            margin-bottom: 0.25rem;
            font-size: 1rem;
        }
        
        .visualization-text p {
            margin-bottom: 0;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* Fitness-specific styling */
        .fitness-alert {
            background-color: rgba(32, 201, 151, 0.1);
            border-left: 4px solid var(--fitness-green);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 4px 4px 0;
        }
        
        .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);
        }
        
        /* Step calculator specific styles */
        .step-input-group {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .step-input {
            width: 180px;
            margin-right: 1rem;
        }
        
        .distance-classification {
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 5px solid;
        }
        
        .distance-short {
            background-color: rgba(32, 201, 151, 0.1);
            border-left-color: var(--fitness-green);
        }
        
        .distance-medium {
            background-color: rgba(13, 202, 240, 0.1);
            border-left-color: var(--fitness-blue);
        }
        
        .distance-long {
            background-color: rgba(253, 126, 20, 0.1);
            border-left-color: var(--fitness-orange);
        }
        
        .distance-very-long {
            background-color: rgba(44, 125, 160, 0.1);
            border-left-color: var(--primary-color);
        }
        
        .distance-chart-container {
            position: relative;
            height: 300px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .distance-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-short {
            background-color: var(--fitness-green);
        }
        
        .status-medium {
            background-color: var(--fitness-blue);
        }
        
        .status-long {
            background-color: var(--fitness-orange);
        }
        
        .status-very-long {
            background-color: var(--primary-color);
        }
        
        /* Unit selector */
        .unit-selector {
            display: flex;
            margin-bottom: 1.5rem;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }
        
        .unit-option {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            cursor: pointer;
            transition: all 0.3s;
            background-color: white;
        }
        
        .unit-option.active {
            background-color: var(--primary-color);
            color: white;
        }
        
        .unit-option:hover:not(.active) {
            background-color: var(--light-gray);
        }
        
        /* Preset buttons */
        .preset-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .preset-btn {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: white;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .preset-btn:hover {
            background-color: rgba(44, 125, 160, 0.1);
            border-color: var(--primary-color);
        }
        
        .preset-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Collapsible sections */
        .collapsible-section {
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .collapsible-header {
            background-color: var(--light-gray);
            padding: 1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }
        
        .collapsible-header:hover {
            background-color: #e9ecef;
        }
        
        .collapsible-header h5 {
            margin: 0;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .collapsible-content {
            padding: 1rem;
            background-color: white;
            display: none;
        }
        
        .collapsible-section.expanded .collapsible-content {
            display: block;
        }
        
        .collapsible-section.expanded .collapsible-header {
            border-bottom: 1px solid var(--border-color);
        }
        
        .toggle-icon {
            transition: transform 0.3s;
        }
        
        .collapsible-section.expanded .toggle-icon {
            transform: rotate(180deg);
        }
        
        /* Profile section */
        .profile-section {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .profile-buttons {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        
        .profile-btn {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: white;
            transition: all 0.3s;
            cursor: pointer;
            font-size: 0.9rem;
        }
        
        .profile-btn:hover {
            background-color: rgba(44, 125, 160, 0.1);
        }
        
        /* History table */
        .history-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .history-table th, .history-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .history-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .history-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* Action buttons group */
        .action-buttons-group {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        
        /* Small form elements */
        .small-input-group {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        .small-input-group .form-control {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        
        .small-input-group .input-group-text {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
        
        /* Badge styling */
        .badge {
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .badge-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .badge-success {
            background-color: var(--fitness-green);
            color: white;
        }
        
        .badge-warning {
            background-color: var(--fitness-orange);
            color: white;
        }
        
        /* Custom range slider */
        .custom-range {
            width: 100%;
            -webkit-appearance: none;
            height: 6px;
            background: var(--light-gray);
            border-radius: 3px;
            outline: none;
        }
        
        .custom-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
        }
        
        .range-value {
            font-weight: 600;
            color: var(--primary-color);
            margin-left: 0.5rem;
        }
    