.schedule-calendar {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#calendar {
    width: 100%;
    height: auto;
    color: #333;
}

/* Calendar Header Styles */
.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.schedule-month {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.schedule-controls {
    display: flex;
    gap: 10px;
}

.schedule-controls button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.schedule-controls button:hover {
    background-color: #3367d6;
}

/* Calendar Grid Styles */
.calendar-grid {
    display: grid;
    gap: 2px;
    border-radius: 6px;
    overflow: hidden;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.header-row {
    background-color: #4285f4;
    color: white;
    font-weight: bold;
}

.header-row .calendar-cell {
    padding: 12px;
    text-align: center;
    background-color: #4285f4;
    border: none;
}

.calendar-cell {
    background-color: white;
    padding: 10px;
    min-height: 80px;
    border: 1px solid #e9ecef;
    text-align: right;
    font-weight: 500;
    position: relative;
    transition: background-color 0.2s ease;
}

.calendar-cell:hover {
    background-color: #f1f3f5;
    cursor: pointer;
}

.calendar-cell.empty {
    background-color: #f8f9fa;
    cursor: default;
}

.calendar-cell.today {
    background-color: #e8f0fe;
    border: 2px solid #4285f4;
}

/* Event Styles */
.schedule-event {
    background: #4CAF50;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 12px;
    cursor: pointer;
    text-align: left;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.schedule-event:hover {
    opacity: 0.9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calendar-cell {
        min-height: 60px;
        padding: 5px;
        font-size: 14px;
    }
    
    .schedule-month {
        font-size: 20px;
    }
    
    .schedule-controls button {
        padding: 6px 12px;
        font-size: 14px;
    }
}
