/* Calendar Page Styles */



.calendar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-subtitle {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

.calendar-wrapper {
    background: var(--background-card);
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    color: var(--grey-700);
     border-collapse: collapse; 
      overflow: hidden;
    table-layout: fixed;
    margin: 0px;
  border-spacing: 0;
    border-radius:6px;
 background-color: rgba(255, 255, 255, 0.4); 
}

.calendar-table thead th {
    background-color: rgba(255, 255, 255, 0.4); 
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6); 
    width: 14.28%;
}

.calendar-day {
    width: 14.28%;
    border: 2px solid rgba(255, 255, 255);  
    padding: 0.5rem;
    text-align: center;
    justify-content: center;
    position: relative;
    /* background: linear-gradient(135deg, #0a0a0a, #1a1a1a); */
    cursor: default;
    height: 100px;
    background-color: rgba(228, 228, 228, 0.5);  
}


.center-vertical {
    display: block;
    width: 100%;
    height: 100%;

    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}


.calendar-day.empty {
    background-color: rgba(173, 174, 173, 0.4); 
    border: none;
}

.calendar-day.has-activity {
    /* background: linear-gradient(135deg, #1a3a1a, #2d4d2d); */
    background-color: rgba(0, 183, 37, 0.4); 
    border: 3px solid rgb(74, 178, 95) !important;
    /* box-shadow: 0 0 15px rgba(0, 255, 136, 0.3); */
}

.calendar-day.has-activity .day-number {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.day-number {
    display: block;

    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.day-link {
    text-decoration: none;
}

.calendar-day.has-activity:hover {
    background-color: rgba(0, 183, 37, 0.6); 
    cursor: pointer;
    border-radius: 4px;
}

/*
.content-item.correct {
    border-left: 4px solid #00ff88;
}

.content-item.incorrect {
    border-left: 4px solid #ff6b6b;
}


.content-item.truncated .content-item-body {
    min-width: 0;
}

.content-item.truncated .content-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

*/


@media (max-width: 768px) {
    .calendar-day {
        height: 80px;
        font-size: 0.9rem;
    }
    
    .day-number {
        font-size: 0.95rem;
    }
    
    .calendar-table thead th {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .content-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .content-item-name {
        width: 100%;
        white-space: normal;
    }
    
    .result-badge {
        width: 100%;
        justify-content: center;
    }
}
