/* Automated Mood Tracking Styles - Consistent with App Design */

/* Mood Stats - using same pattern as task-stats and fitness-stats */
.mood-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Automated Info Card - consistent with existing cards */
.automated-info-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.automated-info-card h3 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 1.1rem;
    font-weight: 600;
}

.automated-info-card p {
    margin: 0 0 16px 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.mood-insight {
    background: #f0f9ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 12px 16px;
    color: #1d4ed8;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mood Chart - consistent with existing chart containers */
.mood-chart {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mood-chart h3 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Insights Section - using existing pattern */
.insights-section {
    margin: 20px 0;
}

.insights-section h3 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 1.1rem;
    font-weight: 600;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.insight-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-card h4 {
    margin: 0 0 8px 0;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
}

.insight-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Dark mode support */
.dark-mode .automated-info-card,
.dark-mode .mood-chart,
.dark-mode .insight-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-mode .automated-info-card h3,
.dark-mode .mood-chart h3,
.dark-mode .insights-section h3,
.dark-mode .insight-card h4 {
    color: #f9fafb;
}

.dark-mode .automated-info-card p,
.dark-mode .insight-card p {
    color: #9ca3af;
}

.dark-mode .mood-insight {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #93c5fd;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mood-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .automated-info-card,
    .mood-chart {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Remove any previous custom gradient styling that doesn't match */
.mood-automated-info,
.automated-mood-card,
.mood-factors,
.factor-item,
.current-mood-display {
    /* These classes are no longer used - removing any custom styling */
}
