/* ...existing code... */

.progress-circle {
    transform: rotate(-90deg);
}

.progress-circle circle {
    transition: stroke-dashoffset 0.5s ease;
}

.calendar-day {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 5px;
    border-radius: 50%;
    font-size: 14px;
}

.calendar-day.active {
    background-color: #0d6efd;
    color: white;
}

.calendar-day.inactive {
    background-color: #e9ecef;
    color: #6c757d;
}

/* Progress Bar Vertical */
.progress-bar-vertical {
    width: 30px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-bar-vertical .progress-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 6px;
    transition: height 0.5s ease;
}

.progress-bar-vertical.active {
    border: 2px solid var(--primary-color);
}

/* Calendar Styles */
.calendar-grid {
    width: 100%;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: #6c757d;
    font-size: 14px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-days > div {
    aspect-ratio: 1;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

/* Simple hover effect just for calendar days */
.calendar-days > div:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.calendar-days > div.complete {
    background-color: rgba(25, 135, 84, 0.15);
    color: #198754;
    font-weight: 500;
}

.calendar-days > div.partial {
    background-color: rgba(255, 193, 7, 0.15);
    color: #fd7e14;
    font-weight: 500;
}

.calendar-days > div.today {
    border: 2px solid var(--primary-color);
    font-weight: bold;
}

.calendar-days > div.prev-month,
.calendar-days > div.next-month {
    color: #adb5bd;
    opacity: 0.6;
}

/* Legend */
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    display: inline-block;
}

.legend-dot.complete {
    background-color: rgba(25, 135, 84, 0.4);
}

.legend-dot.partial {
    background-color: rgba(255, 193, 7, 0.4);
}

/* Ensuring top icon circles are perfectly round */
.rounded-circle.bg-primary.bg-opacity-10,
.rounded-circle.bg-success.bg-opacity-10 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
}

/* Stat icons */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat-icon i {
    font-size: 28px;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .calendar-days > div {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .calendar-days > div {
        width: 40px;
        height: 40px;
    }
}

/* Improved hover effects for statistics page */
@media (hover: hover) {
  /* Stat card hover effect */
  .card:hover .stat-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }
  
  /* Progress bar hover effect */
  .progress:hover {
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
  }
  
  /* Navigation buttons hover */
  .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(13, 110, 253, 0.1);
  }
}

/* Touch feedback for mobile */
.calendar-days > div:active {
  opacity: 0.7;
}

.progress:active {
  opacity: 0.8;
}

/* ...existing code... */
