/* Wizard Progress Steps - Clickable with Tooltips */
.wizard-progress-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 50px;
    max-width: 600px;
    position: relative;
}

.step-dot-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    background: #e2e8f0;
    color: #94a3b8;
    border: 3px solid #e2e8f0;
}

.step-dot-custom.completed {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.step-dot-custom.current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.step-dot-custom.pending {
    background: #f1f5f9;
    color: #cbd5e1;
    border-color: #e2e8f0;
}

.step-dot-custom:hover:not(.pending) {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-line-custom {
    height: 3px;
    flex: 1;
    transition: background 0.3s;
    z-index: 1;
    margin: 0 -5px;
}

.step-line-custom.completed {
    background: #3b82f6;
}

.step-line-custom.pending {
    background: #e2e8f0;
}

/* Step tooltip - Mostrar a la derecha */
.step-tooltip-custom {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: white;
    font-size: 11px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 100;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    max-width: 200px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.step-tooltip-custom::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #1e293b transparent transparent;
}

.step-dot-custom:hover .step-tooltip-custom {
    visibility: visible;
    opacity: 1;
}

/* Step label below */
.step-label-custom {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    font-weight: 500;
}

.step-dot-custom.current .step-label-custom {
    color: #3b82f6;
    font-weight: 600;
}

.step-dot-custom.completed .step-label-custom {
    color: #3b82f6;
}
