/* Fitness Module Styling */

/* Dashboard Layout */
.fitness-dashboard {
    padding: 40px 0;
}

.dashboard-header {
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: #173e69;
    margin-bottom: 10px;
}

.welcome-message {
    font-size: 1.2rem;
    color: #666;
}

/* Dashboard Navigation */
.dashboard-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dashboard-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    margin: 0 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #173e69;
    transition: all 0.3s ease;
}

.dashboard-nav-item i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.dashboard-nav-item:hover {
    background-color: #f0f4f9;
    transform: translateY(-3px);
}

/* Activity Sections */
.dashboard-summary {
    margin-bottom: 40px;
}

.dashboard-summary h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #173e69;
    font-size: 1.8rem;
}

.activity-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.section-header h3 {
    font-size: 1.4rem;
    color: #173e69;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.activity-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.workout-type, .meal-type, .metric-type {
    display: flex;
    align-items: center;
}

.workout-type i, .meal-type i, .metric-type i {
    margin-right: 8px;
    color: #173e69;
}

.workout-date, .meal-date, .metric-date {
    font-size: 0.9rem;
    color: #777;
}

.card-content {
    padding: 15px;
}

.workout-detail, .meal-detail, .metric-detail {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.label {
    color: #666;
}

.value {
    font-weight: 600;
}

.meal-description {
    margin-bottom: 10px;
    font-style: italic;
    color: #555;
}

.no-data-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Resource Section */
.dashboard-resources h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #173e69;
    font-size: 1.8rem;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.resource-card {
    text-decoration: none;
    padding: 25px 20px;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    color: inherit;
}

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

.resource-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 15px;
}

.resource-card h3 {
    margin-bottom: 10px;
    color: #173e69;
}

.resource-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #173e69;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0d2a4b;
}

.btn i {
    margin-right: 8px;
}

.sm-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Form Pages */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-container h1 {
    margin-bottom: 20px;
    color: #173e69;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.error-message {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-wrap: wrap;
    }
    
    .dashboard-nav-item {
        margin: 5px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .activity-cards, .resource-cards {
        grid-template-columns: 1fr;
    }
}

/* Health Info Pages */
.health-info-section {
    padding: 40px 0;
}

.health-info-header {
    text-align: center;
    margin-bottom: 30px;
}

.health-info-header h1 {
    color: #173e69;
    margin-bottom: 10px;
}

.health-info-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.health-info-content h2 {
    color: #173e69;
    margin: 20px 0 15px;
}

.health-info-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.health-tip-card {
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
    padding: 15px;
    background-color: #fffcf5;
} 