.sync-summary-card {
    background-color: var(--background-light);
    cursor: default;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    position: relative; /* Add relative positioning for absolute spinner */
    cursor: default;
}

.calendar-day.today {
    font-weight: bold;
    border: 1px solid #000000 !important;
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    position: relative;
}

/* Fix navigation arrow colors */
.month-navigation .btn-link {
    color: #000000 !important;
    text-decoration: none;
}

.month-navigation .btn-link:hover,
.month-navigation .btn-link:focus {
    color: #333333 !important;
    text-decoration: none;
}

.month-navigation .btn-link i {
    color: #000000 !important;
    font-size: 1.2rem;
}

.month-navigation .btn-link:hover i,
.month-navigation .btn-link:focus i {
    color: #333333 !important;
}

/* Fix spinner color */
.text-primary {
    color: #000000 !important;
}

.spinner-border-sm {
    border-color: #000000 !important;
    border-right-color: transparent !important;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    padding: 0.5rem;
    cursor: pointer;
}

.weekday-header {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    height: 100px; /* Added fixed height */
}

.calendar-day:hover {
    background-color: var(--background-dark);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-day.weekend {
    color: var(--text-muted);
}

.calendar-day.other-month {
    opacity: 0.5;
}

.calendar-day .date {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.calendar-day .hours {
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .calendar-day {
        font-size: 0.8rem;
        padding: 0.25rem;
        height: 50px; /* Reduced height for mobile */
    }
    
    .weekday-header {
        font-size: 0.7rem;
        padding: 0.25rem;
    }
}

/* Sync Review specific calendar styles */
.sync-review-content .calendar-day {
    height: 90px;
    width: 100%;
    aspect-ratio: unset;
}

@media (max-width: 768px) {
    .calendar-day {
        height: 41px;
        width: 40px;        
        display: grid;
        grid-template-areas: 
        "date ."
        "hours .";
        align-items: start;
        justify-content: space-between;
        aspect-ratio: 1;
    }
    
    .calendar-day .date {
        grid-area: date;
        align-self: start;
        font-size: 0.6rem;
        font-weight: 400;
        margin-right: 0.5rem;
        padding: 0px 2px;
        margin-bottom: 0;
    }
    
    .calendar-day .hours {
        grid-area: hours;
        justify-self: center;
        align-self: center;
        font-weight: 500;
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
}