/* Recurring Task Detail View Styles */

.recurring-task-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.recurring-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-link {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.recurring-task-title {
    margin: 0;
}

.overview-card {
    margin-bottom: 2rem;
}

.overview-heading {
    margin-top: 0;
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overview-content {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.overview-details {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.detail-label {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: 600;
}

/* Stats Section */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    flex: 1;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-value.green {
    color: #27ae60;
}

.stat-value.blue {
    color: #2980b9;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* History Section */
.history-heading {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.timeline-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.nav-arrow {
    text-decoration: none;
    color: #666;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.nav-arrow.disabled {
    color: #ccc;
    cursor: default;
}

.timeline-label {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-label.year-heading {
    margin-bottom: 1.5rem;
}

/* Calendar Month View */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.weekday-header {
    font-size: 0.8rem;
    color: #999;
    padding-bottom: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #f8f9fa;
    position: relative;
}

.day-number {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.day-number.today {
    color: #2980b9;
    font-weight: 700;
}

.day-progress {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
    font-weight: 500;
}

.day-dots {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
    max-width: 100%;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Year View */
.year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.month-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.8rem;
    background-color: #fff;
}

.month-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.month-dots {
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
}

.month-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: title;
}

.empty-month-dot {
    color: #eee;
    font-size: 1.2rem;
}

/* Activity Lists */
.activity-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.activity-column {
    flex: 1;
    min-width: 300px;
}

.activity-heading {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.activity-list {
    display: grid;
    gap: 1rem;
}

.empty-activity {
    color: var(--muted-text-color);
    font-style: italic;
}