/* Calendar Container */
.msc-calendar-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation */
.msc-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.msc-calendar-title {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.msc-nav-link {
    padding: 8px 15px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s;
}

.msc-nav-link:hover {
    background: #005a87;
    color: white;
}

/* Calendar Table */
.msc-calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.msc-calendar-table th {
    background: #f0f0f0;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
}

.msc-calendar-table td {
    border: 1px solid #ddd;
    vertical-align: top;
    min-height: 100px;
    height: 100px;
    padding: 5px;
    position: relative;
}

/* Calendar Days */
.msc-calendar-day {
    background: white;
    transition: background 0.2s;
}

.msc-calendar-day:hover {
    background: #f9f9f9;
}

.msc-empty-day {
    background: #fafafa;
}

.msc-day-number {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #555;
}

/* Events Display */
.msc-events-list {
    font-size: 0.85em;
}

.msc-event-item {
    background: #e8f0fe;
    margin: 5px 0;
    padding: 5px;
    border-radius: 3px;
    font-size: 0.85em;
    border-left: 3px solid #007cba;
}

.msc-event-item strong {
    display: block;
    color: #007cba;
    margin-bottom: 2px;
}

.msc-event-item p {
    margin: 2px 0;
    color: #666;
    font-size: 0.8em;
}

/* Days with events */
.has-events .msc-day-number {
    color: #007cba;
}

/* Responsive */
@media (max-width: 768px) {
    .msc-calendar-table td {
        height: auto;
        min-height: 60px;
    }
    
    .msc-event-item {
        font-size: 0.7em;
    }
    
    .msc-nav-link {
        padding: 5px 10px;
        font-size: 0.9em;
    }
}