/* Trasporto Scolastico - Frontend Styles */

#transport-wizard {
    max-width: 900px;
    margin: 0 auto;
}

.transport-step {
    display: none;
}

.transport-step.active {
    display: block !important;
}

/* Bootstrap Italia Steppers - stesso stile del plugin mensa */
.steppers {
    margin-bottom: 2rem;
}

.steppers-header ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.steppers-header ul::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e9ecef;
    z-index: 0;
}

.steppers-header li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
}

.steppers-header li::before {
    content: attr(data-step);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.steppers-header li.confirmed::before {
    background: #00cf86;
    border-color: #00cf86;
    color: #fff;
    content: '✓';
}

.steppers-header li.active::before {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.steppers-header li.confirmed,
.steppers-header li.active {
    color: #0066cc;
    font-weight: 600;
}

.steppers-index {
    display: none;
}

/* Form styles */
.child-item {
    transition: all 0.3s ease;
}

.child-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Privacy content */
.privacy-content {
    border: 1px solid #dee2e6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.transport-step.active {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .steppers-header li {
        min-width: 60px;
        font-size: 0.7rem;
    }
    
    .steppers-header li::before {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}
