/**
 * Calendar Base Styling for Jadwal Misa
 * Basic calendar layout and structure
 */

.calendar-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #007bff;
    color: white;
    font-weight: bold;
}

.calendar-day-header {
    padding: 15px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.calendar-day-header:last-child {
    border-right: none;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 100px;
    padding: 10px;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.other-month {
    background-color: #f8f9fa;
    color: #6c757d;
}

.calendar-day.today {
    background-color: #e3f2fd;
    font-weight: bold;
}

.day-number {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.day-events {
    margin-top: 5px;
}

.event-item {
    background: #e3f2fd;
    border-radius: 3px;
    padding: 2px 6px;
    margin-bottom: 2px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.event-item i {
    font-size: 0.7em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 80px;
        padding: 5px;
    }
    
    .day-number {
        font-size: 0.9em;
    }
    
    .event-item {
        font-size: 0.7em;
        padding: 1px 4px;
    }
}
