/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Layout principale */
.main-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #2c3e50;
    color: white;
    padding: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    background: #34495e;
    border-bottom: 1px solid #4a5f7a;
}

.sidebar-header h1 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #ecf0f1;
}

.sidebar-header .subtitle {
    font-size: 14px;
    color: #bdc3c7;
    margin-top: 5px;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background: #34495e;
    border-left-color: #3498db;
    color: white;
}

.nav-link.active {
    background: #34495e;
    border-left-color: #e74c3c;
    color: white;
}

.nav-link .nav-icon {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.nav-link .nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Sezione contatti nella sidebar */
.sidebar-contact {
    padding: 20px;
    background: #1a252f;
    margin-top: auto;
}

.sidebar-contact h3 {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-contact h4 {
    font-size: 13px;
    color: #ecf0f1;
    margin-bottom: 8px;
    margin-top: 15px;
}

.sidebar-contact p {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 8px;
}

.sidebar-contact a {
    color: #f39c12;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-contact a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Contenuto principale */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: #f5f7fa;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
}

.content-header h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.content-header .subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

/* Sezioni di contenuto */
.content-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.content-section h2 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section h3 {
    color: #34495e;
    font-size: 18px;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.content-section h4 {
    color: #5a6c7d;
    font-size: 16px;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

/* Liste */
.content-section ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.content-section ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
    list-style: none;
}

.content-section ul li::before {
    content: "•";
    color: #3498db;
    font-size: 16px;
    position: absolute;
    left: 8px;
    top: 0;
}

.content-section ol {
    margin: 15px 0;
    padding-left: 0;
    counter-reset: custom-counter;
    list-style: none;
}

.content-section ol li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
    counter-increment: custom-counter;
    list-style: none;
}

.content-section ol li::before {
    content: counter(custom-counter);
    background: #3498db;
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sezioni speciali con colori diversi */
.content-section.phase-initial {
    border-left-color: #e67e22;
}

.content-section.phase-1 {
    border-left-color: #9b59b6;
}

.content-section.phase-2 {
    border-left-color: #27ae60;
}

.content-section.phase-3 {
    border-left-color: #3498db;
}

/* Pulsanti - Stile elegante e pulito */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    cursor: pointer;
    font-size: 14px;
    margin: 6px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rimozione effetti metallizzati */

.btn:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-back {
    background: #7f8c8d;
    border-color: #7f8c8d;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(127, 140, 141, 0.2);
}

.btn.btn-back:hover {
    background: #95a5a6;
    border-color: #95a5a6;
    box-shadow: 0 4px 12px rgba(127, 140, 141, 0.3);
    transform: translateY(-1px);
}

.btn.btn-purple {
    background: #5eb298;
    border-color: #5eb298;
    box-shadow: 0 2px 8px rgba(94, 178, 152, 0.2);
}

.btn.btn-purple:hover {
    background: #4a9b82;
    border-color: #4a9b82;
    box-shadow: 0 4px 12px rgba(94, 178, 152, 0.3);
    transform: translateY(-1px);
}

.btn.btn-orange {
    background: #e46c32;
    border-color: #e46c32;
    box-shadow: 0 2px 8px rgba(228, 108, 50, 0.2);
}

.btn.btn-orange:hover {
    background: #d85a28;
    border-color: #d85a28;
    box-shadow: 0 4px 12px rgba(228, 108, 50, 0.3);
    transform: translateY(-1px);
}

.btn.btn-blue {
    background: #3498db;
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.btn.btn-blue:hover {
    background: #2980b9;
    border-color: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.btn.btn-green {
    background: #27ae60;
    border-color: #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
}

.btn.btn-green:hover {
    background: #2ecc71;
    border-color: #2ecc71;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    transform: translateY(-1px);
}

.btn.btn-large {
    padding: 20px 40px;
    font-size: 17px;
    margin: 12px;
    display: block;
    text-align: center;
    max-width: 320px;
    border-radius: 15px;
}

.btn.disabled {
    background: #95a5a6 !important;
    border-color: #95a5a6 !important;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn.disabled:hover {
    transform: none !important;
    background: #95a5a6 !important;
    border-color: #95a5a6 !important;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2) !important;
}

/* Selettori per la home */
.select-container {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.select-group {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 160px;
}

.select-group.single-select {
    min-width: 200px;
    max-width: 300px;
    margin: 0 auto;
}

.select-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.select-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.select-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.select-group select optgroup {
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 5px 0;
}

.select-group select option {
    padding: 8px 12px;
    color: #555;
}

/* Sezione bottoni principali home */
.main-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Links evidenziati */
.content-section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Override per i link nei bottoni */
.btn a,
.btn:link,
.btn:visited {
    color: white !important;
    text-decoration: none !important;
}

.btn:hover a,
.btn:hover:link,
.btn:hover:visited {
    color: white !important;
    text-decoration: none !important;
}

/* Sezione importante */
.important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #f39c12;
}

.important-note p {
    color: #856404;
    margin: 0;
}

/* Separatori */
hr {
    border: none;
    height: 1px;
    background: #e1e8ed;
    margin: 25px 0;
}

/* Logo nella sidebar */
.sidebar-logo {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #4a5f7a;
}

.sidebar-logo img {
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }
    
    .content-header h1 {
        font-size: 24px;
    }
    
    .select-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn.btn-large {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .content-header h1 {
        font-size: 22px;
    }
}

/* Menu mobile toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Selettore moduli Google */
.form-selector-container {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-selector-container label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.class-dropdown {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.class-dropdown:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

.class-dropdown:hover {
    border-color: #3498db;
    transform: translateY(-1px);
}

/* Stili per la navigazione delle fasi */
.phases-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #3498db;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
}

.phases-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.phase-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.phase-number {
    font-size: 14px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.phase-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.phase-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.5;
}

/* Colori specifici per i numeri delle fasi */
.phase-number.phase-initial-color {
    color: #e67e22;
}

.phase-number.phase-1-color {
    color: #9b59b6;
}

.phase-number.phase-2-color {
    color: #27ae60;
}

.phase-number.phase-3-color {
    color: #3498db;
}

.form-submit-btn {
    min-width: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.form-submit-btn:disabled {
    background: #95a5a6 !important;
    border-color: #95a5a6 !important;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

.form-submit-btn:disabled:hover {
    transform: none !important;
    background: #95a5a6 !important;
    border-color: #95a5a6 !important;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2) !important;
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Responsive per il selettore */
@media (max-width: 768px) {
    .form-selector-container {
        padding: 20px 15px;
    }
    
    .dropdown-container {
        max-width: 100%;
    }
    
    .class-dropdown {
        font-size: 14px;
        padding: 12px 15px;
        padding-right: 45px;
    }
    
    .phases-navigation {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .phase-card {
        padding: 15px;
    }
    
    .phase-title {
        font-size: 16px;
    }
    
    .form-submit-btn {
        min-width: 100%;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .form-selector-container {
        padding: 15px 10px;
    }
    
    .form-selector-container label {
        font-size: 14px;
    }
    
    .class-dropdown {
        font-size: 14px;
        padding: 10px 12px;
        padding-right: 40px;
        background-size: 18px;
    }
    
    .phases-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .phases-summary {
        padding: 20px 15px;
    }
    
    .phase-card {
        padding: 12px;
    }
    
    .phase-title {
        font-size: 15px;
    }
    
    .phase-description {
        font-size: 13px;
    }
}

/* Selettore compatto moduli Google */
.class-selector-compact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.class-selector-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.class-selector-compact label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.compact-dropdown {
    width: 220px;
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.compact-dropdown:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.compact-dropdown:hover {
    border-color: #3498db;
}

/* Responsive per dropdown compatto */
@media (max-width: 768px) {
    .compact-dropdown {
        width: 100%;
        max-width: 280px;
    }
    
    .class-selector-compact {
        text-align: center;
        display: block;
        margin: 15px auto;
        max-width: 320px;
    }
}

/* Sezione moduli Google con link copiabili */
.forms-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.forms-section h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin: 8px 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.class-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    min-width: 60px;
    margin-right: 15px;
}

.link-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.form-link {
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    flex: 1;
    transition: all 0.3s ease;
}

.form-link:hover {
    background: #e9ecef;
    text-decoration: underline;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Responsive per la sezione moduli */
@media (max-width: 768px) {
    .form-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
    }
    
    .class-name {
        text-align: center;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .link-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .form-link {
        text-align: center;
        font-size: 12px;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .forms-section {
        padding: 15px;
    }
    
    .form-item {
        padding: 12px;
    }
    
    .form-link {
        font-size: 11px;
        padding: 8px;
        word-break: break-all;
    }
}

/* Stili FAQ */
.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.faq-question {
    padding: 18px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
    color: #3498db;
}

.faq-item.active .faq-question {
    background: #3498db;
    color: white;
}

.faq-icon {
    font-size: 20px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f1f2f6;
}

.faq-answer em {
    color: #7f8c8d;
    font-style: italic;
}

.faq-answer strong {
    color: #27ae60;
    font-weight: 600;
}

/* Responsive per FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 16px;
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 16px;
        font-size: 14px;
    }
    
    .faq-icon {
        font-size: 18px;
        min-width: 20px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .faq-answer p {
        padding: 14px;
        font-size: 13px;
    }
}

/* Tabella periodi stage */
.stage-schedule {
    margin: 25px 0;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stage-schedule h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-hint {
    color: #667eea;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #f0f3ff;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.schedule-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table tbody tr:hover {
    background-color: #f8f9fa;
}

.schedule-table td {
    padding: 14px 20px;
    color: #555;
    font-size: 15px;
}

.schedule-table td:first-child {
    font-weight: 600;
    color: #667eea;
    white-space: nowrap;
}

.schedule-table td:last-child {
    color: #333;
}

/* Link alle classi nella tabella */
.class-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
    background: linear-gradient(to bottom, transparent 50%, rgba(102, 126, 234, 0.1) 50%);
    background-size: 100% 200%;
    background-position: top;
}

.class-link:hover {
    color: #764ba2;
    background-position: bottom;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.class-link:active {
    transform: translateY(0);
}

/* Responsive tabella */
@media (max-width: 768px) {
    .stage-schedule {
        padding: 15px;
        margin: 20px 0;
    }
    
    .stage-schedule h3 {
        font-size: 18px;
    }
    
    .schedule-hint {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .schedule-table td:first-child {
        font-size: 12px;
    }
    
    .class-link {
        padding: 3px 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stage-schedule {
        padding: 12px;
    }
    
    .schedule-hint {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .schedule-table th {
        font-size: 11px;
    }
    
    .class-link {
        padding: 2px 4px;
        font-size: 11px;
    }
}