help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
fitness-coach-bot
/
utils
/
__pycache__
RSK World
fitness-coach-bot
Fitness Coach Bot - Python + Flask + SQLAlchemy + Workout Plans + Exercise Guidance + Health Tracking + AI Fitness Coach
__pycache__
  • __init__.cpython-313.pyc1 KB
  • ai_workout_generator.cpython-313.pyc18.4 KB
  • analytics_engine.cpython-313.pyc26.4 KB
  • fitness_coach.cpython-313.pyc14.5 KB
  • gamification_system.cpython-313.pyc27.8 KB
  • nutrition_ai.cpython-313.pyc20.4 KB
  • smart_recovery.cpython-313.pyc10.7 KB
  • social_features.cpython-313.pyc22.1 KB
  • voice_coach.cpython-313.pyc9.9 KB
  • wearable_integration.cpython-313.pyc30.4 KB
  • workout_buddy_matcher.cpython-313.pyc13.6 KB
advanced-features.cssapp.cpython-313.pyc
static/css/advanced-features.css
Raw Download
Find: Go to:
/**
 * Advanced Features CSS for Fitness Coach Bot
 * Author: RSK World (https://rskworld.in)
 * Founded by: Molla Samser
 * Designer & Tester: Rima Khatun
 * Contact: help@rskworld.in, +91 93305 39277
 * Year: 2026
 */

/* Advanced Features Styling */

/* Pose Detection Interface */
.pose-detection-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#poseCanvas {
    border: 2px solid #00ff41;
    border-radius: 10px;
}

.pose-feedback {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: #00ff41;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 10;
}

.pose-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 10;
}

.rep-counter {
    font-size: 2em;
    font-weight: bold;
    color: #00ff41;
    text-align: center;
    margin-bottom: 10px;
}

.form-score {
    font-size: 1.2em;
    color: #ffd700;
    text-align: center;
}

/* Voice Recognition Interface */
.voice-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.voice-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.voice-btn.listening {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 87, 108, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 87, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 87, 108, 0); }
}

.voice-interim {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 200px;
    z-index: 999;
}

/* AI Workout Generator */
.ai-workout-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.workout-personalization {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.personalization-field {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 15px;
}

.personalization-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffd700;
}

.personalization-field select,
.personalization-field input {
    width: 100%;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 5px;
    padding: 8px;
    color: #333;
}

.generate-workout-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.generate-workout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
}

/* Nutrition AI Interface */
.nutrition-upload-area {
    border: 3px dashed #667eea;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    background: rgba(102, 126, 234, 0.05);
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nutrition-upload-area:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #f5576c;
}

.nutrition-upload-area.dragover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #f093fb;
}

.upload-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.nutrition-results {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.food-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.food-item:last-child {
    border-bottom: none;
}

.food-name {
    font-weight: bold;
    color: #333;
}

.food-calories {
    color: #667eea;
    font-weight: bold;
}

/* Social Features */
.social-challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.challenge-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.challenge-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.challenge-difficulty {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.difficulty-easy {
    background: #4caf50;
    color: white;
}

.difficulty-medium {
    background: #ff9800;
    color: white;
}

.difficulty-hard {
    background: #f44336;
    color: white;
}

.participants-count {
    color: #666;
    font-size: 14px;
}

.join-challenge-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.join-challenge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.overall-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        from #f44336,
        via #ff9800,
        via #4caf50,
        to #2196f3
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.score-inner-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.metric-value {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.metric-label {
    color: #666;
    font-size: 14px;
}

/* Gamification System */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.achievement-badge {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-badge.unlocked {
    border-color: #4caf50;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.achievement-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.achievement-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.achievement-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.achievement-description {
    color: #666;
    font-size: 12px;
}

.level-progress-bar {
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
}

.level-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #667eea;
}

/* Wearable Integration */
.wearable-devices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.device-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.device-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.device-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #667eea;
}

.device-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.device-capabilities {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.connect-device-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-device-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .workout-personalization {
        grid-template-columns: 1fr;
    }
    
    .social-challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .wearable-devices {
        grid-template-columns: 1fr;
    }
    
    .voice-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .pose-stats {
        position: static;
        margin-top: 20px;
        background: rgba(0,0,0,0.8);
        border-radius: 10px;
    }
}

/* Loading Animations */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.success-message {
    background: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
}

/* Tooltips */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
595 lines•11.8 KB
css
app.cpython-313.pyc

This file cannot be displayed in the browser.

Download File
🚀 Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ❤️

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer