.vigo-calendar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.vigo-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
}

.vigo-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vigo-calendar-header h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 700;
}

.vigo-maestro-filter {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.vigo-maestro-filter:hover {
    border-color: #0073aa;
    background: #f8fcff;
}

.vigo-maestro-filter:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.vigo-nav-btn {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.vigo-nav-btn:hover {
    background: #005177;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,115,170,0.3);
}

.vigo-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.maestro-piero .vigo-dot {
    background: #0073aa;
}

.maestro-edoardo .vigo-dot {
    background: #46b450;
}

.vigo-weekly-list {
    display: grid;
    gap: 20px;
}

.vigo-day-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.vigo-day-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.vigo-day-section h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.vigo-day-section h4 small {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 14px;
}

.vigo-day-students {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vigo-student-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    gap: 10px;
}

.vigo-student-item:last-child {
    border-bottom: none;
}

.vigo-time {
    font-weight: 700;
    color: #34495e;
    min-width: 70px;
    font-size: 15px;
}

.vigo-name {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
}

.vigo-cadenza-badge {
    font-size: 11px;
    color: #fff;
    padding: 4px 10px;
    background: #95a5a6;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.vigo-date-badge {
    font-size: 11px;
    color: #fff;
    padding: 4px 10px;
    background: #e74c3c;
    border-radius: 12px;
    font-weight: 600;
}

.vigo-no-lessons {
    color: #95a5a6;
    font-style: italic;
    margin: 0;
    padding: 10px 0;
    text-align: center;
}

.vigo-weekly-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.vigo-grid-day {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.vigo-grid-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px;
    text-align: center;
    color: #fff;
}

.vigo-grid-header strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.vigo-grid-header span {
    font-size: 12px;
    opacity: 0.9;
}

.vigo-grid-content {
    padding: 12px;
    min-height: 150px;
}

.vigo-grid-event {
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-left: 4px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.vigo-grid-event:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.vigo-grid-event.maestro-piero {
    border-left-color: #0073aa;
    background: #e8f4f8;
}

.vigo-grid-event.maestro-edoardo {
    border-left-color: #46b450;
    background: #e8f5e9;
}

.vigo-event-time {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    font-size: 14px;
}

.vigo-event-name {
    color: #34495e;
    font-size: 13px;
}

.vigo-monthly-grid {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vigo-month-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.vigo-month-header > div {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.vigo-month-header > div:last-child {
    border-right: none;
}

.vigo-month-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.vigo-month-day {
    min-height: 100px;
    padding: 10px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.vigo-month-day:hover {
    background: #f8fcff;
}

.vigo-month-day:nth-child(7n) {
    border-right: none;
}

.vigo-month-day.empty {
    background: #fafafa;
}

.vigo-day-number {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 16px;
}

.vigo-day-events {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vigo-month-event {
    font-size: 11px;
    padding: 5px 8px;
    background: #f9f9f9;
    border-left: 3px solid #ddd;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    transition: all 0.2s;
}

.vigo-month-event:hover {
    transform: translateX(2px);
}

.vigo-month-event.maestro-piero {
    border-left-color: #0073aa;
    background: #e8f4f8;
    color: #005177;
}

.vigo-month-event.maestro-edoardo {
    border-left-color: #46b450;
    background: #e8f5e9;
    color: #2d7a38;
}

.vigo-daily-view {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vigo-daily-event {
    display: flex;
    align-items: center;
    padding: 18px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-left: 5px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.vigo-daily-event:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vigo-daily-event.maestro-piero {
    border-left-color: #0073aa;
    background: #e8f4f8;
}

.vigo-daily-event.maestro-edoardo {
    border-left-color: #46b450;
    background: #e8f5e9;
}

.vigo-daily-time {
    font-weight: 700;
    font-size: 20px;
    color: #2c3e50;
    min-width: 90px;
}

.vigo-daily-info {
    flex: 1;
    padding: 0 20px;
}

.vigo-daily-info strong {
    display: block;
    font-size: 17px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.vigo-daily-info span {
    font-size: 14px;
    color: #7f8c8d;
}

.vigo-daily-maestro {
    font-size: 14px;
    color: #34495e;
    padding: 6px 14px;
    background: #fff;
    border-radius: 6px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .vigo-weekly-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .vigo-calendar {
        padding: 15px;
    }
    
    .vigo-calendar-header {
        padding: 15px;
        margin-bottom: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .vigo-header-center {
        order: 2;
        width: 100%;
    }
    
    .vigo-calendar-header h3 {
        font-size: 16px;
    }
    
    .vigo-maestro-filter {
        width: 100%;
        font-size: 13px;
    }
    
    .vigo-calendar-header a:first-of-type {
        order: 1;
    }
    
    .vigo-calendar-header a:last-of-type {
        order: 3;
    }
    
    .vigo-calendar-header h3 {
        font-size: 16px;
        font-weight: 600;
        order: 2;
    }
    
    .vigo-calendar-header a:first-of-type {
        order: 1;
    }
    
    .vigo-calendar-header a:last-of-type {
        order: 3;
    }
    
    .vigo-nav-btn {
        padding: 10px 18px;
        font-size: 13px;
        width: auto;
    }
    
    .vigo-weekly-list {
        gap: 15px;
    }
    
    .vigo-day-section {
        padding: 15px;
    }
    
    .vigo-day-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .vigo-day-section h4 small {
        font-size: 12px;
    }
    
    .vigo-student-item {
        padding: 10px 0;
        font-size: 14px;
        gap: 8px;
    }
    
    .vigo-time {
        min-width: 50px;
        font-size: 14px;
    }
    
    .vigo-name {
        font-size: 14px;
    }
    
    .vigo-cadenza-badge {
        display: none;
    }
    
    .vigo-date-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .vigo-dot {
        width: 10px;
        height: 10px;
        margin-right: 8px;
    }
    
    .vigo-weekly-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vigo-month-days {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .vigo-month-day {
        min-height: 80px;
        padding: 5px;
    }
    
    .vigo-day-number {
        font-size: 12px;
    }
    
    .vigo-month-event {
        font-size: 9px;
    }
}