* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    border-radius: 10px;
}

header .logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 5px;
}

header .header-title {
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    margin: 0;
}

header .subtitle {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 10px;
}

.tabella-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabella-titolo {
    background: linear-gradient(135deg, #c62828, #d32f2f);
    color: white;
    padding: 15px 20px;
    font-size: 1.3em;
    text-align: center;
    letter-spacing: 1px;
}

.table-responsive {
    overflow-x: auto;
}

.tappe-table {
    width: 100%;
    border-collapse: collapse;
}

.tappe-table thead th {
    background: #37474f;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tappe-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.tappe-table tbody tr:hover {
    background: #f5f5f5;
}

.tappe-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.tappe-table tbody tr:nth-child(even):hover {
    background: #f0f0f0;
}

.tappe-table td {
    padding: 10px 15px;
    font-size: 0.95em;
}

.tappe-table .citta {
    font-weight: 600;
    color: #1a237e;
    white-space: nowrap;
}

.tappe-table .giorno {
    color: #555;
    white-space: nowrap;
}

.tappe-table .data {
    white-space: nowrap;
    color: #666;
}

.tappe-table .punto {
    max-width: 350px;
}

.tappe-table .orario {
    white-space: nowrap;
    font-weight: 500;
    color: #c62828;
}

.nota {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px 20px;
    margin: 0;
    font-weight: 600;
    color: #e65100;
    font-size: 0.95em;
    line-height: 1.8;
}

.nota a {
    color: #1a237e;
    text-decoration: underline;
    font-weight: 700;
}

.nota a:hover {
    color: #c62828;
}

.whatsapp-link {
    color: #25D366 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.whatsapp-link:hover {
    color: #128C7E !important;
}

.wa-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 3px;
}

@media (max-width: 768px) {
    body { padding: 10px; }
    header h1 { font-size: 1.4em; }
    .tabella-titolo { font-size: 1.1em; padding: 12px 15px; }
    .tappe-table thead th { padding: 8px 10px; font-size: 0.8em; }
    .tappe-table td { padding: 8px 10px; font-size: 0.85em; }
    .tappe-table .punto { max-width: 200px; }
}
