body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.list-group-item {
    transition: background-color 0.3s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.form-check-input:checked + .form-check-label {
    text-decoration: line-through;
    color: #6c757d;
}

.alert {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 训练页面样式 */
.exercise-container {
    transition: all 0.5s;
}

.countdown {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 历史记录页面样式 */
.progress {
    height: 25px;
}

.progress-bar {
    line-height: 25px;
    font-weight: bold;
}