body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f7f8fb;
}

/* STEPPER */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stepper-line {
    flex: 1;
    height: 2px;
    background-color: #d1d5db;
}
.stepper-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background-color: #d1d5db;
}
.stepper-dot.active {
    background-color: #16a34a;
}
.stepper-dot.completed {
    background-color: #16a34a;
}

/* CONTENEDOR PRINCIPAL */
.wizard-container {
    max-width: 1100px;
    margin: 2.5rem auto;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    padding: 2.5rem 2.5rem 2rem;
}

.wizard-title {
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .25rem;
}
.wizard-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* PASOS */
.wizard-step {
    display: none;
}
.wizard-step.active {
    display: block;
}

/* Paso 1: categorías */
.category-card {
    border-radius: 1rem;
    padding: 1rem .75rem;
    background-color: #f9fafb;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s ease;
    height: 100%;
}
.category-card img {
    max-width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: .5rem;
}
.category-card-title {
    font-size: .95rem;
    font-weight: 600;
}
.category-card-desc {
    font-size: .8rem;
    color: #6b7280;
}
.category-card:hover {
    background-color: #eef2ff;
    border-color: #4f46e5;
}
.category-card.selected {
    border-color: #16a34a;
    background-color: #ecfdf3;
}

/* Paso 2: ruta */
.route-input {
    border-radius: 999px;
    padding-left: 2.5rem;
}
.route-label {
    font-weight: 500;
    margin-bottom: .25rem;
}
.route-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}
.map-placeholder {
    width: 100%;
    height: 340px;
    border-radius: 1rem;
    background: #e5e7eb;
    background-image: url("https://tile.openstreetmap.org/6/31/24.png");
    background-size: cover;
    background-position: center;
}

/* Paso 3: detalles */
.item-row {
    border-radius: 999px;
    background-color: #f9fafb;
    padding: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.item-row input {
    border: none;
    background: transparent;
}
.item-row input:focus {
    box-shadow: none;
    background: transparent;
}

/* NAV BOTONES */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
@media (max-width: 576px) {
    .wizard-nav {
        flex-direction: column-reverse;
        gap: .75rem;
    }
}