body {
    background: #f5f6fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.navbar {
    background: linear-gradient(135deg, #2c3e50, #3498db) !important;
}
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
}
.nav-tabs .nav-link.active {
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 3px solid #3498db;
}
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
}
.card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}
.btn-primary {
    background: #3498db;
    border-color: #3498db;
}
.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
}
.badge-attivo {
    background: #27ae60;
    color: #fff;
}
.badge-disattivo {
    background: #e74c3c;
    color: #fff;
}
.stato-bozza { color: #7f8c8d; }
.stato-in_corso { color: #f39c12; font-weight: bold; }
.stato-completata { color: #27ae60; font-weight: bold; }
.stato-sospesa { color: #e74c3c; font-weight: bold; }
.preview-frame {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    min-height: 200px;
    padding: 15px;
}
.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #7f8c8d;
    border-top: none;
}
.stats-card {
    text-align: center;
    padding: 20px;
}
.stats-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}
.stats-card .label {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
}
#toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
}
.toast-msg {
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 8px;
    animation: fadeIn 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.toast-success { background: #27ae60; }
.toast-error { background: #e74c3c; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
