:root {
    --kcm-blue: #00b4eb;
    --kcm-light-blue: #009acc;
    --kcm-navy: #082959;
}

/* WIZARD STEPPER (VISITAS DESIGN LANGUAGE) */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.75rem;
    padding: 0 1rem;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 2.5rem;
    right: 2.5rem;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 999px;
}

.wizard-steps .step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-steps .step .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.wizard-steps .step.active .step-icon {
    background: linear-gradient(135deg, #00b4eb 0%, #0879bd 100%);
    border-color: #00b4eb;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 180, 235, 0.35);
}

.wizard-steps .step.completed .step-icon {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.wizard-steps .step .step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.wizard-steps .step.active .step-label {
    color: #0879bd;
    font-weight: 800;
}

.wizard-steps .step.completed .step-label {
    color: #10b981;
}

/* Multi-step form animation */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: stepSlideIn 0.35s ease-out forwards;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resumen Card */
#resumenVisita {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

#resumenVisita .d-flex {
    padding: 0.65rem 0;
    font-size: 0.92rem;
}

#resumenVisita .d-flex:last-child {
    border-bottom: none !important;
}

/* Modal Vetados Styling */
#modalVetados .modal-content,
#modalAgregarVetado .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

#tablaVetados th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    padding: 0.9rem 1rem;
}

#tablaVetados td {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .wizard-steps::before {
        top: 20px;
        left: 1.5rem;
        right: 1.5rem;
    }
    .wizard-steps .step .step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}