/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.8rem;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .modal-lg {
        margin: 0.5rem;
    }
}

/* Анимации для прогресс-баров */
.progress-bar {
    transition: width 0.6s ease;
}

/* Кастомные тени */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* static/css/custom.css - ДОБАВИМ СТИЛИ */

/* Стили для карточек здоровья */
.health-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.health-card .card-header {
    border-bottom: 3px solid;
}

/* Прогресс-бары */
.progress {
    border-radius: 20px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 20px;
}

/* Анимация для иконок */
.bi {
    transition: transform 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.1);
}

/* Стили для форм */
.form-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #0d6efd;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-section h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

/* Информационные блоки */
.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.info-box h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-section {
        padding: 20px 15px;
    }

    .health-card {
        margin-bottom: 20px;
    }
}